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.
finding a way to bypass assembly
I’m trying to find a way to generate a BOM without going through the assembly process.
My problem is that I use measured variables to calculate the gap between the bars of a ramp. However, once the assembly is done, the variables are no longer accessible.
Here are my variables:
- Railing1 -> Measured
- NbRailing1 -> ceil(#Railing1 / (#SpacingMax + #RailingTube))
- SpacingPattern1 -> (#Railing1 - (#RailingTube * #NbRailing1)) / (#NbRailing1 + 1)
Is there a way to produce a BOM directly from the Part Studio or to access "NbRailing1" and "SpacingPattern1" in the assembly?
At the moment, all the bars are considered as distinct parts. Could I group them in the Studio so that my BOM recognizes the quantity?
I know I could just retype the numbers in the Assembly Linear Pattern, but there are always modifications to be made, and I want to keep everything parametric.
Answers
hmm, the way to go would be through a variable studio so the variable can be used in both the part studio, as well as the assembly, but it doesn't support measured variables i'm afraid…
Could you calculate Railing1 and drive it with other variables and a formula? that would make it all feasible.
from my first look it should be rather feasible since it's all linear. A variable for the height of the rails, the gaps between them etc.
I think one way to do this would be to create some ref. geometry, like a surface in your part studio with a hole at each bar location. Then in your assembly you insert the surface, mate the first bar and then use a replicate. Just make sure the "helper surface" is set to "excluded from BOM".
Have you looked at the possibility using the frame tools? It doesn't actually help with assembly BOM but might be an "alternative" to what you are doing. Do you have other "stuff" you want in the BOM or is just the pieces of metal that make up the railing? In the later case a "cut list" is basically a BOM within the part studio.
I think you should even be able to generate a cut list from parts not made with the frame tool, it will at least recognize identical parts (although that might not be the issue here if they are all equal anyway)