Saving primitives

Feel free to ask any question here
Post Reply
cdordoni
Posts: 29
Joined: Wed Sep 30, 2015 3:19 am

Saving primitives

Post by cdordoni »

Hello,

I have used RANSAC shape detection to generate some primitives.

Is there a way to save ALL the primitives without having to select each one individually in the DB Tree?
Is DXF the only format for saving primitives?
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Saving primitives

Post by daniel »

Not sure if this is already in the 2.6.1 but at least it's in the 2.6.2 (beta) version: you right click on the parent group (in the DB tree) and choose 'Select children by type and/or name' (then simply select 'Primitive'). This will let you save them all at once ... but, you can't save them as true primitives (even as DXF, because DXF is not a real 3D format). You can only save them as triangular mesh files for now.

It would be good to have a real CAD output format (such as STEP or IGES) ... but someone has to do it (or to finance it ;).
Daniel, CloudCompare admin
cdordoni
Posts: 29
Joined: Wed Sep 30, 2015 3:19 am

Re: Saving primitives

Post by cdordoni »

Thanks Daniel.

I'll try it in 2.6.2

I can save the mesh of the primitive in a DXF, I was looking for the other formats like STL or OBJ?
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Saving primitives

Post by daniel »

From this list OBJ is the most efficient (PLY is even better if it suits your needs). Then STL and in the last resort DXF ;)
Daniel, CloudCompare admin
Post Reply