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.
How to Quickly Affix Assemblies with Offsets Between Components?
dave_mankoff
Member Posts: 11 ✭✭
I have a bunch of individually modeled buttons and knobs and gauges, etc. that I am trying to lay out. Once laid out, I want to use them in another context to create a faceplate that they fit into.
The simplest way would seem to be to lay out all the parts with a "planar" mate, drag them around until they look good, then change that planar mate into a "fastened" mate.
Is there way to do this, or anything like it? Every time I create a fastened mate, it snaps the two parts together, and then I have to go back and manually type in some offsets to restore them to where they approximately were before. If "fix" the parts, then I get some sort of warning about "other part(s) fastened to the origin".
How can I tell Onshape to turn the current position of an object into a fixed mate without moving it?
The simplest way would seem to be to lay out all the parts with a "planar" mate, drag them around until they look good, then change that planar mate into a "fastened" mate.
Is there way to do this, or anything like it? Every time I create a fastened mate, it snaps the two parts together, and then I have to go back and manually type in some offsets to restore them to where they approximately were before. If "fix" the parts, then I get some sort of warning about "other part(s) fastened to the origin".
How can I tell Onshape to turn the current position of an object into a fixed mate without moving it?
Tagged:
0
Comments
Or you could just fix all the knobs and delete the mates, then create you context. You don't even have to fix anything really, as long as they are where you want them when you create the context, you'd want to mate them to the holes you created in the context afterwards anyway. If you need to update the position later, just suppress the mate and move the knob with the triad to keep in the correct plane, it also allows precise positioning by typing value instead of just random drag, then once the context is updated just un-suppress the mate and you are good to go!.
Something like this (I first convert the mate to fixed but then I blow it away and use the "fix" option, only realized later the "fix" isn't required):
One thing I'd recommend is editing the implicit MC of each part (before you finish the mate) so its xyz is pointed in a logical direction, and all parts move the same. This is an extra step, but so worth it. If you want to move part 3 to the right 5mm, you would edit its X direction mate to +5mm, and you will have confidence it will move in the expected direction.
The only thing you need to do if you need to update a context that is defined that way is to suppress the mate(s) to allow you to move the part(s) as I have shown above (assuming you want to move the part(s) from the assembly), if you are going to do this a bunch of times you can setup a configuration to toggle the mates (if you throw them in a folder it's really easy), then it becomes a super simple workflow: switch configuration, move your things, update context, switch configuration back, no risk of mis-alignment an no "manual" mating.
This also allows you to do small tweaks from the part end as well without ending up with parts in the wrong place at the assembly level. For example if you need to move a part .25" to the right, do a move face (the part will move in the assembly) update the context, delete the move face. You do have to be careful here as that's is where the circular nature can get you, if you leave a blind move face like this your part will end up moving by .25" every time you update the context (it's analogous to temporarily suppressing the mate). Of course if you move it to reference another context entity (eg. "up to" with offset), then it will be fine.
So I find it's the best of both worlds and gives you a lot of flexibility.