Lorant Olasz
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
3 years ago
7 oct. 2021, 08:49 UTC−4
Updated:
3 years ago
7 oct. 2021, 10:48 UTC−4
Hi Aynur,
The Parasolid files do not use units, and the geometry is always imported in the unit of the geometry sequence (the unit shown in the Geometry node). In this case, the size of the cube will be correct (0.05m) when you set the geometry unit to m before importing the file. If you set your geometry unit to µm the size after import will be 0.05µm, and you can use the Scale operation to obtain the correct size. Similarly if you set the geometry unit to mm.
Another option would be to import the SOLIDWORKS file, or to export to a format that supports units, such as the STEP format. Before importing these files you can set the Length unit to From CAD document, then import the file. The geometry unit will be then automatically changed to the unit in the imported file, which is mm.
Best regards,
Lorant
Hi Aynur,
The Parasolid files do not use units, and the geometry is always imported in the unit of the geometry sequence (the unit shown in the Geometry node). In this case, the size of the cube will be correct (0.05m) when you set the geometry unit to m before importing the file. If you set your geometry unit to µm the size after import will be 0.05µm, and you can use the Scale operation to obtain the correct size. Similarly if you set the geometry unit to mm.
Another option would be to import the SOLIDWORKS file, or to export to a format that supports units, such as the STEP format. Before importing these files you can set the Length unit to From CAD document, then import the file. The geometry unit will be then automatically changed to the unit in the imported file, which is mm.
Best regards,
Lorant