SOLVESPACE -- parametric 2d/3d CAD

(you are viewing a thread; or go back to list of threads)

Import data from a text file (by Chinmay)
Is there a possibility of importing coordinates of a spline from a text file? Solvespace is extremely intuitive but I haven't figured out a way of inputting airfoil curves, for example. It's not easy to click and constrain a hundred airfoil coordinates and it's not a good idea of eye-ball the curve. Any possibility of this in the future (not DXF, just plain text will do)?

Thank you!
Fri May 15 2015, 15:42:58
(no subject) (by whitequark)
I think you could place a set of points, add the "lock where dragged" constraint, and edit the savefile, which is a simple text-based format, directly.
Sat May 16 2015, 15:40:53
(no subject) (by Blinkenlight)
If you want to import an arbitrary spline then yeah it might be a bit difficult - but if your splines happen to be Cubic Beziers, you do know SolveSpace can already insert those, right?
Mon May 18 2015, 16:27:13
(no subject) (by Chinmay)
Yes, I have dealt with Beziers a good bit in SolveSpace. It is possible to approximate an airfoil curve using splines, but there could be regions where the spline is not true to the coordinates of the original airfoil. Bugs aerodynamicists more than it should!

I am trying to write a script to generate an SLVS file with the coordinates inserted in as whitequark suggested. Trying to decipher how the constraint IDs, point IDs, etc. are assigned values.

Thanks for the responses.
Tue May 19 2015, 13:39:19
Post a reply to this comment:
Your Name:
Your Email:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):
© 2008-2018 SolveSpace contributors. Most recent update Nov 22 2018.