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.
Auto Layout updated to V3.1: oriented parts!
lemon1324
Member, Developers Posts: 225 EDU
Added an option per some forum requests to allow specified orientation of parts. Parts will still need to be of equal thickness, but for all parts of a given thickness selecting a face as a "face to orient" will ensure that face is nested facing downwards, allowing for 2.5- or 3-axis machining on a router. All parts without a selected face to orient will be nested with the largest face down. This is a slight modification from the previous operation of this feature to facilitate use without too many manual selections when making routed parts. If the largest-face-upwards functionality is critical you may wish to keep this feature at its previous version.
Also fixed a small bug in the bin-packing algorithm, which in certain unfortunate combinations of parts could lead to part spacing constraints being violated.
Find it here: https://cad.onshape.com/documents/576e01dbe4b0cc2e7f46a55d/v/731e73ac0b7b1e4334f13106/e/b72c231628b5affea0873222
Also fixed a small bug in the bin-packing algorithm, which in certain unfortunate combinations of parts could lead to part spacing constraints being violated.
Find it here: https://cad.onshape.com/documents/576e01dbe4b0cc2e7f46a55d/v/731e73ac0b7b1e4334f13106/e/b72c231628b5affea0873222
Arul Suresh
PhD, Mechanical Engineering, Stanford University
PhD, Mechanical Engineering, Stanford University
9
Comments
I'm currently working on a different joint script, but I'll add this to the list of improvements to make eventually.
PhD, Mechanical Engineering, Stanford University
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
Grain direction feature could be excellent. Maybe direction of grain could be determined by selecting edges of parts
example, a part that's 3/4"x3/4" will not fit in a piece of stock that's 3/4x3/4x120
PhD, Mechanical Engineering, Stanford University
I also wasn't able to figure out how to put a face down. I have a L shaped piece with the outside corner of the L rounded, and it assembles them into sticks in random orientations (based on where they started). When I hit the checkbox to pick a face for the orientation, it opened up a selection box, but then I was unable to select anything.
Not at all critical for me (purely cosmetic in this case), but letting you know of an issue I ran in to.
PhD, Mechanical Engineering, Stanford University
not quite the most minimal, but pretty small
PhD, Mechanical Engineering, Stanford University
That was what I was missing, I was trying to click on the faces of the parts as they were arranged. for something like the corner molding of this example, it's hard to know which direction it's going to end up being rotated (yes, that face will be down, but since it's not symmetrical when you flip it around 180 on the rod...)
so I was able to get one side down, now I'll go back and see if I can figure out which part is which to select a different face (and if it remains consistent or not over time and new parts)
https://cad.onshape.com/documents/f4173732c559f48d07645bdb/w/b7273cd4b0e02c93624d1f3f/e/aa9a35b9c41f56c8c476cba8
¿how do you export the resulting layout?, i can't find any way since they're not a 2D sketch so i can't export to flat DXF.
And since they're all individual parts i can't export all the top faces together in a single DXF either.
I need a 2D planar DXF of the resulting nest for manufacturing, not solid parts(i also can't find how to export all the parts together in a single file if i wanted that)
@guillermo_lovato create a drawing then insert the studio into a drawing with only the top view. Then you can export the drawing as DXF. While in the drawing, you can right click the view > Show/Hide edges. This will let you hide any edges you don't want to export.
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
interesting, i thought the export would constrain it to the page size of the drawing but appears to have exported everything at 1:1 as instructed. Tried it and it apparently worked
If you have multiple sheets, I usually insert a top view of the part studio and then do crop views to pick which cut layout gets exported on which drawing sheet.
PhD, Mechanical Engineering, Stanford University