Page 1 of 1

How to make the object frame parallel to the defined frame in stl file.

Posted: 12 Nov 2018, 10:04
by xzbreeze
Hello

When a .stl object is imported, the frame of the object is different the frame defined in .stl.

Would you please tell me how to make the object frame parallel to the defined frame?

Thanks,

Zhe

Re: How to make the object frame parallel to the defined frame in stl file.

Posted: 12 Nov 2018, 11:10
by coppelia
Hello,

typically, STL files do no contain any frame information. It is just a collection of vertices and indices. Once you have imported a shape, V-REP will define a frame around the shape in a way as to minimize the volume of the bounding box. You can however change the bounding box / frame by selecting the shape, then navigating to [Popup Menu --> Edit --> reorient bounding box --> ...]. Have also a look at this page.

Cheers

Re: How to make the object frame parallel to the defined frame in stl file.

Posted: 14 Nov 2018, 07:06
by xzbreeze
coppelia wrote: 12 Nov 2018, 11:10 Hello,

typically, STL files do no contain any frame information. It is just a collection of vertices and indices. Once you have imported a shape, V-REP will define a frame around the shape in a way as to minimize the volume of the bounding box. You can however change the bounding box / frame by selecting the shape, then navigating to [Popup Menu --> Edit --> reorient bounding box --> ...]. Have also a look at this page.

Cheers
Thank you very much.