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.
Fasten Mate option to maintain offset between two parts/mate connectes (vs snap to 0 offset)
Malcolm_Daniel
Member Posts: 57 PRO
I would really like the option to create a Fastened mate that automatically enters the X/Y/Z offsets to maintain existing spatial relationships between two mate connectors.
This is similar to choosing an offset mate in Solidworks before selecting the references...it automatically plugs in the offset value for you.
Alternative is allowing Group between part and origin.
I'm requesting this because unless there's something I'm missing....
This is similar to choosing an offset mate in Solidworks before selecting the references...it automatically plugs in the offset value for you.
Alternative is allowing Group between part and origin.
I'm requesting this because unless there's something I'm missing....
- You can't group parts to the origin
- Fixed constraints don't carry to higher assembly levels
- So...to achieve sub-assemblies that remain fixed relative to their origin in higher assemblies, you have to create a Fastened mate between one part and the sub-assembly origin
- And...if you want the parts to all maintain there relationship to the assembly origin, that Fastened mate has to include offsets (unless it coincides with a mate connector on a part)...which you have to measure before-hand, and manually enter into the Fastened mate.
Tagged:
2
Comments
Also, you can create offset mate connectors in the part studio also.
Question is, how will it know what the offset values should be?
You are just floating the part in positon, then hit fasten, check an auto offset box, then pick 2 connectors, then edit to nominal values? Or do you have something else in mind?
- Import assembly
- Re-arrange assembly structure as necessary
- Establish mates in lower levels that represent motion & limits (actuators, mechanisms, etc.)
- Establish combo of mates, fixed, and group at lower and upper levels to keep everything positioned in space as-imported but allow dragged motion for desired degrees of freedom
The problem I often encounter is that Fixed doesn't carry to upper levels, and if you don't fix/mate relative to origins at each level, things can get accidentally moved around, so they're no longer in the right position at upper levels. So, it becomes a cumbersome exercise to get everything positioned properly so things stay where you want them, but you can drag degrees of freedom. Things fixed at lower levels have to be fixed again at upper levels or grouped with something to keep them from moving unintentionally. Being able to create an offset mate at a lower level between say your actuator body and the origin, then mating that origin to the upper level origin (maybe another offset mate if they don't align) would take some of the additional clicks/redundant constraints away and allow for more clear design intent.Maybe there's another workflow I haven't thought of though?
HWM-Water Ltd
I've yet to come across a time where fixing things in multiple levels was required. In fact, I am more likely to persuade you against such habits.
Maybe there is something I'm missing, or a new way for you to mate your assemblies.
@john_mcclary ... i'll work on a generic example when i get time.
thanks for the responses. i'm probably missing something obvious that will result in a forehead smack when i finally realize it.
If you add a mate connector to a Part Studio on the origin (owned by any part), then when inserted into the assembly, you now have something that does migrate to upper level assemblies. The workflow then becomes, group all the parts together, insert the sub assembly into the next higher level, fasten-mate the mate-connector to (presumably) a mate connector in the next level up (try to always mate to the mate-connector the was created at the highest level assembly).
This workflow works, and reflects the process that some companies use when every part is built offset from the origin so as to define its position in the assembly - sometimes referred to as 'aircraft coordinate system' - but is not the recommended one.
The recommended is;
- For each Sub Assembly, group/mate the parts.
- Insert each Sub Assembly into the next higher assembly.
- Mate or fix any one part relative to something already in the upper level.
I hope this helps you.Philip
Have a multi-axis actuator/mechanism I imported. Trying to set up all of the mates to give it realistic motion. In the cases where two components aren't aligned with default mate connector locations, you have to create an offset somewhere. Only way I know to do that is take measurements and put them in as an offset to a mate. My requested functionality would eliminate the measurement and manual entry of offset values.
https://cad.onshape.com/documents/60ae9cf99b6ed982260fee2b/w/0c4a04d70d08be7baf72bf06/e/5bf3bcd7f139f5a6646dfad8
It serves two functions. one is to locate the part. the other is to check hole patterns. In this case your top hole overhangs the bracket. Which means your bracket is probably too narrow.
Also, we try any make details symmetrical whenever possible. By having a centered hole pattern on the part ensures design intent, while also acting as a replacement for in-context. Which should be used as little as possible.
There are two schools of thought here. My co-worker was taught to mate planes and faces and never holes. I was self taught and always mate holes. We strongly disagree with eachother.
But, guess who has fewer hole missalignments at assembly... o/
1) Lets not forget about 'Group' Mate. This is the #1 mate you will be using if importing assemblies. Look at my public document and you will see that every sub assembly has one Group mate and one fix.
https://cad.onshape.com/documents/32de233a6441c7e2332a27d4/w/488c34f00817dadb4206d6c8/e/5247e71333872dee44fd94ab
2) Other than allowances for motion, Group works everywhere and if the imported parts are in the correct spatial location, that is a good solution here.
3) As an academic exercise in mating these parts - yes, there is no default mate-connector location that will give you the correct location. That said, we have many fall-backs available to us. The two pieces of information that we have are (a) the axis of the spindle lies directly about the slide screw and (b) the top of the motor is coplanar with the bracket. And as much as I love sticking to my rule of '1 mate per part', I found myself expressing the two knowns as two mates.
Step 1 - create a Mate C.onnector on the center of the bracket face and align the primary axis vertically.
Step 2 - Create a Mate Connector at the center of the motor spindle and align it's primary axis vertically
Step 3 - Apply a Slider Mate between the two Mate Connectors
Step 4 - Apply a Planar Mate between the two outermost faces
I am not saying that this is the only way (the holes method that John McClary described is perfectly valid), this is just A solution and might represent ideas and techniques that prove useful to you here and in other situations.
Also - it's fun (that's why I work here )
- On creating holes, agreed...but for concept modeling phase, importing and using models quickly, etc. it's too cumbersome
- On mating holes vs datum features, agreed...it's a religious debate with zealous arguments on both sides. Either way you have to be diligent about checking that things are positioned properly and holes and other critical features align.
- On grouping...understood
- On using multiple mates to capture design intent, agreed, and I've done that before in Onshape
Edited to better reflect tone:I still think it would be much easier if I could start a Fastened mate, check the offset button, click two references, then OK and my parts would magically be glued together with no change in relative positions
HWM-Water Ltd
But...maybe that's an alternative to the Fasten with offsets is allowing Group to work on parts/sub-assemblies within sub-assemblies (vs only at top level).
Just showing alternate work flows for the mean time.
Sort-of
You never want to add a sub assembly (that may change) into a group mate on a higher level assembly. That's when all hell breaks loose and you spend 20 min wondering why your weldment exploded..
With this fasten offset trick, you can apply the fasten to a part in your sub assembly. Without the extra step of measuring offsets.
Otherwise, yes. It is just like a group mate.
Or, mabybe we finially fix the group mate dilema with sub assemblies
Ok - I have done the rounds of our Assembly Development team and the weight of popular opinion has swung to you
All the methodologies described above are valid, but the team does feel that there may be room for an option to create a mate type such as you describe. Please submit the enhancement request.
https://forum.onshape.com/discussion/12229/fasten-mate-option-to-maintain-offset-between-two-parts-mate-connectors-vs-snap-to-0-offset