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.
Export parametric relationships to text files
gregory_gundersen
Member Posts: 2 ✭
in General
I would like to export the parametric relationships in an Onshape model to a text file. For example, if I had a simple model with a cuboid A and sphere B and a parametric constraint such that the width of A is the radius of B, I want that data in plain text: A and B have such and such coordinates and dimensions, and they share a single constraint. Is this possible?
0
Comments
Long answer is you would need to write a custom feature (featurescript) that would output these as text to the console
I'm brand new to OnShape and I was wondering if there would be any pushback to me attempting to write a way to export an openscad file from OnShape, preserving variables and constraints if that is possible?
I expect that a combination of FeatureScript, API calls and a browser extension might be able to pull it off, but I don't want to go down this road if it's an unwelcome idea.