Replies: 1 comment
-
You might want to look at the Sketch API, specifically the edge-based part of it. https://cadquery.readthedocs.io/en/latest/sketch.html#edge-based-api |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think I am probably missing something simple and yet fundamental I am trying to assemble what is in effect a chain of lines. Some of which are simple and others of which might be an arc, spline, etc. So there is a list of points and a connectivity table defining the segments and their type.
I can make a polyline easy enough which treats the connection between all points as straight lines easy enough. And I can make a series of independent lines also. But I want them to nest inside of a parent object like they do for the polyline.
I have tried chaining things together using the output from each prior call as the object calling pointTo() at the next but that did not do what I though it would.
Below is a minimum working example illustrating what I have tried and if launched in the CQ-editor should illustrate what I mean about multiple line objects versus one polyline object. Attached is the test csv file used for the points and connectivity.
Any help would be greatly appreciated.
test.csv
Beta Was this translation helpful? Give feedback.
All reactions