FS#1555 - Export list of points.
Hello
It would be great when you can add a function to export a selected object as a list of points.
Is it possible to add?
Autodes DWG TrueView 2017 has this function and it is very useful.
Here you can see a screenshot of this function.
Thanks for your feature request.
To increase the chances of this being implemented, please provide sample input / output and explain why such a feature might be useful to you and others. Thanks.
We use the exported List of points as input for a Kuka Robot System. We receive CAD drawings, select some regions of it and create trajectories for the robot.
output could look like this:
Thanks for the details.
What coordinates would get exported for a line? Start point and end point? All points on the line with a given interval? How about arcs, circles, splines, etc?
How can you later determine which coordinates were part of the same line? Or is that irrelevant for your use case? Thanks.
I was looking for a similar feature.
Plotting Baumi (Baumfaust) list there is none arbitrary reference to what point is listed.
Baumi (Baumfaust) could consider G-code as an option.
It would serve me:
As above with fixed or percentile spacing as a textlist.
With multi lines or closed lines the fixed or percentile spacing can be per segment or per total lenght.
Fixed spacing is even possible dx appart orthogonal along a defined ray. Serves for integration.
OR/AND
As kinds & nodes as a textlist:
Lines:
-Line
-Startpoint XY(Z)
-Endpoint XY(Z)
Arcs:
-Arc
-Specific data of the arc (radius,center, startangle, endangle)
OR
-Polyline (lines) from 'exploding' eg interpolation with certain approximation
Polylines of line pieces:
-Polyline
-Startpoint XY(Z) (node0)
-Node1 XY(Z)
-...
-NodeN-1 XY(Z)
-Endpoint XY(Z) (NodeN)
Polylines of line & arc pieces or merely arc pieces:
-Polyline
-Any startpoint of an arc is followed by a bulgefactor (linesegments have no bulge)
OR
-followed by specific data of the arc (radius,center, startangle, endangle)
OR
-Polyline (lines)
-Line segments from 'exploding' eg interpolation with certain approximation
Circle
-Circle
-Specific data of the circle (radius,center)
OR
-Polyline (arcs)
-Specific data of
OR
OR
-Polyline (lines)
-Line segments from 'exploding' eg interpolation with certain approximation
Ellipse:
-Ellipse
-Specific data of the ellipse
OR
-Polyline (lines or/and/mixed arcs) from exploding with certain approximation
With arcs or mixed with arcs the tangentially nature of the segments is preserved
Splines
-Spline control//fit
-Specific data of the spline
OR
-Polyline (lines or/and/mixed arcs) from exploding with certain approximation
With arcs or mixed with arcs the tangentially nature of the segments is preserved
Same rules can be applied for further sorts of entities.
In tandem with importing such a list it would be of great benifit.
CVH
Baumi,
If you are still listening.
If you turn your object into a polyline.
You can use the script Misc\Script Examples\'Import/Export'\Dump Polyline.
The dump will be in the Message box.
If you want arc info you could change the script yourself to output the bulge too.
...scripts\Misc\Examples\IOExamples\ExDumpPolyline.js
for (var k=0; k<n; k++) {
var v = entity.getVertexAt(k);
var w = entity.getBulgeAt(k);
EAction.handleUserMessage("%1,%2,%3,".arg(v.x).arg(-v.y).arg(w));
}
The math for the arc you can find here
http://www.lee-mac.com/bulgeconversion.html
Regards