Hi Pior,
I would say that Michael's answer is the best and quickest to export the desired type of objects.
But if you wanted to separate your curves, and run reconstruct only on say "arcs", and keep the line segments as lines:
As of MoI4, there is a curve property to see if the curve is a line:
crv.isLine - Property that returns true if the curve has the shape of a line.
https://moi3d.com/forum/index.php?webtag=MOI&msg=7777.1429
So if separate is done on the rounded rectangle, the curves that are lines can be separated out, and kept as lines.
The arc's can have reconstruct curve applied to them, to make them polylines.
Then rejoin the original straight lines, and the new polylines.
This is a very bare bones outline of a script.
The required polyline desire should be described in detail.
Which curves are to get turned into polylines.
Polyline length/numpoints.
etc...
So maybe a script could be written that would do this?
At this time, I do not have the time to attempt a script.
There are other curve properties listed in the link.
- Brian
|