Page 1 of 1

Saving primitives

Posted: Wed Sep 30, 2015 4:23 am
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?

Re: Saving primitives

Posted: Wed Sep 30, 2015 7:57 am
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 ;).

Re: Saving primitives

Posted: Wed Sep 30, 2015 9:36 am
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?

Re: Saving primitives

Posted: Wed Sep 30, 2015 9:56 am
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 ;)