converting parametric 2d curves and circles to polylines

 From:  pior (PIOR_O)
10797.12 
Between the UseSimpleEntities flag and the special ReconstructCurve script from https://moi3d.com/forum/index.php?webtag=MOI&msg=10719.1, I believe I have pretty much everything I need to address this scenario.

I am still a bit confused by the DXF export dialog though - shouldn't the DXF export be made of polylines if the user choses so in the export options, regardless of the state of UseSimpleEntities(y/n) in the .ini ?



So perhaps this panel needs some clarifications as to what the options do and do not do, and the relationship with the UseSimpleEntities flag ...

- - - - -

[Edit] : Oh OK I think I get it now. If a part has corners made out of circle sections (that is to say, perfectly round fillet corners), this part will indeed export out as polyline if the DXF exporter option is set to Polyline *and* if the whole thing is combined and connected before export. But if the part is made out of multiple detached bits before export, then the circle sections of the filleted corners will be recognized as such ... and therefore these circle segment curves will not be exported as polylines (except if the are forced to do so when UseSimpleEntities = n).

I understand that this "makes sense" once one knows about the concept of SimpleEntities, but I must say this is far from intuitive and would indeed benefit from some explanation text in the export dialog ...

EDITED: 7 Aug 2022 by PIOR_O