Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Importing 3D point coordinates
jaschaaa
Member Posts: 21 PRO
Hi all,
I am new to Onshape and I am starting to like it. I have something I have difficulties with though: importing 3D (point) data to use as a basis for building a propeller blade model.
External software (Octave) calculates the point coordinates of radial blade sections. If the sections where planar, I think I could easily get away by using dxf as an intermediate file. In this case however, my data is three dimensional and the dxf import only seems to like 2D files.
The next problem I may run into is how to create splines through my 3d points. Once I have the splines, I expect I can easily loft the surfaces together to a blade.
I you the community can give me some advice. Other approaches to get it done are also welcome of course!
I am new to Onshape and I am starting to like it. I have something I have difficulties with though: importing 3D (point) data to use as a basis for building a propeller blade model.
External software (Octave) calculates the point coordinates of radial blade sections. If the sections where planar, I think I could easily get away by using dxf as an intermediate file. In this case however, my data is three dimensional and the dxf import only seems to like 2D files.
The next problem I may run into is how to create splines through my 3d points. Once I have the splines, I expect I can easily loft the surfaces together to a blade.
I you the community can give me some advice. Other approaches to get it done are also welcome of course!
0
Best Answer
-
ilya_baran Onshape Employees, Developers, HDM Posts: 1,215The default interpretation is actually meters, not inches.
Here's what I was able to do with your example after splitting the data in half (I'm assuming a sharp edge of the blade is desirable) -- don't know if the accuracy is good enough: https://cad.onshape.com/documents/577ae587e4b03be38b73ba65Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc5
Answers
You can copy/paste 3D points from Octave as an array of arrays [ [x1, y1, z1], [x2, y2, z2], ... ] and use a processed version of that instead of the selection points in the 3D spline feature. Post here as you run into issues and we'll help.
Thanks for the hints! Following your advice I was able to draw some 3D splines from external data.
Now I am stuck again:
I have several radial blade sections drawn by the 3D splines. Now I want to combine them to a solid blade using the loft command (in the part studio). Somehow I can't select the splines when using the loft command.
Any advice?
Another silly question: how do I tell the program this is in mm units? It now seems to assume inches...
Here is a code example:
Here's what I was able to do with your example after splitting the data in half (I'm assuming a sharp edge of the blade is desirable) -- don't know if the accuracy is good enough: https://cad.onshape.com/documents/577ae587e4b03be38b73ba65