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.
STL export-- arbitrary coordinate system?
michael_bush
Member Posts: 1 PRO
Hi-
I've got a model where the parts are all where I want them to be, but when I create an STL export, the origin is moved to some apparently arbitrary place inside the body.
This is problematic because I'm trying to produce models that can then be manipulated (in another software package) with a coordinate transformation.
How do I force the STL export to use the coordinate system that I've designated in the model?
thanks,
Michael
I've got a model where the parts are all where I want them to be, but when I create an STL export, the origin is moved to some apparently arbitrary place inside the body.
This is problematic because I'm trying to produce models that can then be manipulated (in another software package) with a coordinate transformation.
How do I force the STL export to use the coordinate system that I've designated in the model?
thanks,
Michael
0
Answers
STL files are simply a list of x, y, z points defining triangles that, when rendered, look like the shapes that you were modeling. If you create some geometry offset from the origin by a significant amount:
then export that geometry as stl and re-import to Onshape (ensuring that import units are the same as export units), you will notice that the geometry has not changed position:
What software are you importing your STL file into? It is possible that they designate a different axis as y (perhaps y pointed up?) or that they are trying to be helpful by centering your geometry on the origin after import.
Best,
Mike
https://cad.onshape.com/documents/9e862dc61083856716a3b568/w/9518ac2e5bf0597d55ad12a6/e/05def64b3ee0bd111485c700
HWM-Water Ltd
You can then scale your part
IR for AS/NZS 1100
1) Add a mate connector to each part you want to export. Orient the Z axis so it will point up when you bring it into the Makerbot software.
2) Create a new assembly and add a mate connector. Locate it at the origin of the assembly. By default the Z axis will be point upwards. Not sure about the orientation of the X & Y axis.
3) Assemble your part into the assembly and then use a fasten mate to locate the part relative to the mate connector in the assembly.
4) Export your file and all of the values are now relative to the mate connector in the part.
5) Repeat this for each part, making sure you only have one part at a time in the assembly as you will be exporting the assembly and not the part.