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.
Grain direction and nesting of parts in a sheet
Greg_Witkamp
Member, Developers Posts: 9 ✭✭
Hi,
I deal with mostly furniture parts made out of wood or some sort of composite wood product. I'm trying to find a good way of handling the grain direction of the parts so that they could easily be nested into a sheet of plywood, for example. I was initially thinking that mate connectors within the part studio would work well for this because they are their own little coordinate system that is associated with a specific part, but there isn't an easy way to copy them when a part is patterned without manually creating one for each part.
To get around the issue of copying mate connectors, I was thinking to make featurescript that would go through all of my parts and create a mate connector for each of them. I think this would be possible through the use of "mateConnector", however I've only spent about an hour playing with featurescript.
Thoughts?
I deal with mostly furniture parts made out of wood or some sort of composite wood product. I'm trying to find a good way of handling the grain direction of the parts so that they could easily be nested into a sheet of plywood, for example. I was initially thinking that mate connectors within the part studio would work well for this because they are their own little coordinate system that is associated with a specific part, but there isn't an easy way to copy them when a part is patterned without manually creating one for each part.
To get around the issue of copying mate connectors, I was thinking to make featurescript that would go through all of my parts and create a mate connector for each of them. I think this would be possible through the use of "mateConnector", however I've only spent about an hour playing with featurescript.
Thoughts?
Tagged:
0
Comments
https://forum.onshape.com/discussion/comment/23881/#Comment_23881
From the other discussion, It sounds like the bounding box would be the way to go for determining which way the z-axis would go, couple that with the material parameter of each part, then the parts could be sorted by material and thickness, which is needed for nesting parts.
If you have relatively simple products have you thought it so that if you create nested layout in sketch manually, extrude parts and use assembly to create product? In context editing is coming soon so that would make it easier to create toolings afterwards. Sketch export easily to dxf and you would have also part studio with part layout for app to create toolpaths.
I'd like to understand how to use featurescript to add the mate connectors to all of my parts. Is there something I could look at as an example?