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 a text file of x y z points
eoin_cannon
Member Posts: 1 ✭
Hi
I can't find an answer here but does anyone know if it's possible to import a txt file of x y z points. Does OnShape have a different file format or anything? Solidworks uses .sldcrv which is just a renamed .txt file in a certain format. I've attached the file I want to import.
Any help would be greatly appreciated.
Thanks
Eoin
I can't find an answer here but does anyone know if it's possible to import a txt file of x y z points. Does OnShape have a different file format or anything? Solidworks uses .sldcrv which is just a renamed .txt file in a certain format. I've attached the file I want to import.
Any help would be greatly appreciated.
Thanks
Eoin
0
Answers
-
No such capability exists yet in Onshape.0
-
Hi, I'm just wondering if there are any news regarding importing X Y Z co-ordinates. This question was asked in August, wondering if they have added anything new since then that can support this.0
-
0
-
Anything new here?0
-
These days it's best to create improvement request for voting. Choose IR gategory on right and create new if this doesn't exist already..
//rami0 -
There's no way to do it directly, but it is possible to upload a CSV file of XYZ data and create a custom feature that turns it back into points. Let me know if this is interesting and I'll post an example.Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc0
-
You should check this FeatureScript: 3D Points
It allow you to import the X,Y, Z list of points as points or create splines or polylinesUn saludo,
Eduardo Magdalena C2i Change 2 improve ☑ ¿Por qué no organizamos una reunión online?
Partner de PTC - Onshape Averigua a quién conocemos en común1 -
Well - this one has been up for a while!
Super simple - reads an XYZ CSV file and passes a 3D spline through it.
https://cad.onshape.com/documents/f8191d0fd7fe9a488e8dcd15/w/29be675d29fa9f017b6fed6e/e/2de5c3146b997f177a4bd4e5
Here is the source code - super simple
var points = [];for (var row in curveData)points = append(points, vector(row[0], row[1], row[2]) * meter);opFitSpline(context, id, {"points" : points});
Have fun!
Philip Thomas - Onshape0 -
@philip_thomas
I would like to see the code of your 'BOOM'-image creator that adds those images to your posts.
//rami1 -
I've seen a version of your importer that allows CSV import containing multiple splines:
Is that an official Onshape release?
0 -
looks like this is the one:
It's really hard to navigate the featurescript search and find the original version, there are so many copies! Is there a trick to search for it?
0






