Controlling dimensions of imported STL files

Typically: "How do I... ", "How can I... " questions
Post Reply
muhammad.khan
Posts: 5
Joined: 13 Apr 2021, 12:10

Controlling dimensions of imported STL files

Post by muhammad.khan »

Hi,
Once we import a CAD/stl into VREP, it does some sort of dimension scaling as the size of shape changes in the simulation window in comparison to the original CAD/stl file size/dimensions. Is that controllable apart from changing/setting manually the dimension/size.

regards.

coppelia
Site Admin
Posts: 10366
Joined: 14 Dec 2012, 00:25

Re: Controlling dimensions of imported STL files

Post by coppelia »

Hello,

in general, a mesh file (such as *.obj or *.stl format) does not contain any information about the units. i.e. does 1 correspond to 1 meter or 1 inch? Or maybe 1 mm? For that reason it is difficult to automatically handle that kind of situation when importing meshes in CoppeliaSim.
You can always scale the mesh via the import dialog. Additionally, you can scale any object/model in the scene via the add-on isometric scaling (from CoppeliaSim V4.2.0 upwards).

Cheers

Post Reply