Selection N compound curves and generate a piece wise approximation and print to debug
brad_phelan
Member Posts: 91 ✭✭
I have a funny use case. I'd like to use the onshape sketcher to draw curves. Then I'd like a feature that can select N curves and process them to get piece wise linear approximations and then dump the points to the console or debug. My exact case is that when writing test cases in c++ I often have to generate small geometric features and it would be easier if I could sketch them then dump the points to paste into my code as a c++ initializer list.
Tagged:
0
Comments
-
Not supported, not published, but does what you want. Reports to FS console and custom table.
https://cad.onshape.com/documents/66ec08b01cd61eea7b63c92f/v/eb3a4a056155e9a98114383f/e/b59cb8183f1f861c5a95f9d6
Edit: updated link to V2 of doc.0 -
That looks awsome. I'll take some time to look into it.0

