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 Mate motor to mounting plate (compounded mates?)?
florian_ford
Member Posts: 54 ✭✭
Hello, I have some difficulty getting along with mates and with the Triad in assemblies.
For one I can't seem to use the Triad to rotate by exact angle so I couldn't rotate the motor 45 degrees with respect to some face (a mate that locks relative angle would help)
Second I am trying to Mate the holes of the motor face with the mounting plate and rotating the motor 45deg as a consequence of this mating:
- I tried a Revolute mate between one of the 4 mounting holes and its corresponding hole on the mounting place. This worked as expected and now I can rotate the motor around that revolute mate.
- next I tried adding one more mate (I think I have tried all) so that I could mate another hole of the motor or its shaft with its corresponding hole on the mounting plate to no avail. It always resets the Revolute mate and snaps the whole motor in another place.
How can I mate 2 holes of one Part with two holes of a mounting plate and have both mates work? I find it logical that if I have a Revolute mate on one hole I could do a fastened mate between the other two holes and it will rotate around the first mate until it satisfies the second condition.
How can this be done in OnShape?
Thanks.
For one I can't seem to use the Triad to rotate by exact angle so I couldn't rotate the motor 45 degrees with respect to some face (a mate that locks relative angle would help)
Second I am trying to Mate the holes of the motor face with the mounting plate and rotating the motor 45deg as a consequence of this mating:
- I tried a Revolute mate between one of the 4 mounting holes and its corresponding hole on the mounting place. This worked as expected and now I can rotate the motor around that revolute mate.
- next I tried adding one more mate (I think I have tried all) so that I could mate another hole of the motor or its shaft with its corresponding hole on the mounting plate to no avail. It always resets the Revolute mate and snaps the whole motor in another place.
How can I mate 2 holes of one Part with two holes of a mounting plate and have both mates work? I find it logical that if I have a Revolute mate on one hole I could do a fastened mate between the other two holes and it will rotate around the first mate until it satisfies the second condition.
How can this be done in OnShape?
Thanks.
1
Answers
So I was able to create a fastened mate and then expand the Mate Feature and right click > Edit to edit the Mate Connector. In that dialog I have a Realign and a Move options. The Move option permits me to rotate by an angle around the original position the motor was fastened to the plate. I had to eyeball and then adjust from top view until the other holes were concentric.
1) create revolute mate motor mounting hole to mounting plate hole; test rotation;
2) create revolute mate between another motor mounting hole to another (its corresponding) mounting plate hole;
Motor Part used in the mating jumps to accommodate the last revolute mate and position resets for the first Revolute mate (it jumps to an 90 degree angle from the way it was before); I press solve => all other motor parts follow the new position. First Revolute mate is left hanging and I get complain about over constraining ("overdefined")
My Onshape evaluation project is at: https://goo.gl/piW6rh
I will agree there is confusion with instances like the one mentioned above.
While I use two revolute mates to solve the problem....it seems there should be a better way. After all, a revolute mate is designed for revolving motion. It seems counter-intuitive to add two revolute mates that constrain each other to solve the issue of fixing objects that are outside of 90, 180, 270 & 0 degrees of rotation.
Maybe I am missing something but I think that is how it works.
Would one revolute mate + 1 fastened mate work? If I remember correctly it doesn't.
In what ways can this common mating condition be improved? Should the fastened mate be limited to 90 degree increments of rotation?
If only this mate would work as expected, compounding mates and resolving all prior mates before the next ones. If I create a revolute mate on one corner, all subsequent mates should search for a position that is permitted by the first revolute mate, that is, they are on the circumference circle defined by the centerpoint at first revolute mate that I've created.
I managed to do it the following way:
1) created the revolute mate between one hole on the motor front plate and one of the mounting bracket holes in the CoffeCore tab=> motor is placed accordingly and its position is reset from the arbitrary angle I turned it to a parallel position to some axis (or to its original position, I don't have any idea what is this position)
2) Measured on the Sketch of the mounting bracket the angle of one of the holes (that i want to rotate to) to the horizontal axis:
3) Expand the Revolute Mate Connector and Edit the Motor side connector (Right Click > Edit);
I measured the diagonally opposed hole to the revolute-mated one so I will try 45+14.343 ...
Spot on.
Note: I get the red complain because I did the Reset while still in the Edit Mate dialog (it somehow looses Origin in the process). The correct OS procedure would be to click the green check and then do the Right Click > Reset. But it would be better to be able to do this with the dialog open, as long as there is no Solve button in this one.
I did undo and did it the expected way and now i get it right:
------------------------------------------------------------------------------------------------------------------------------------
Several observations IMHO:
1) I would like to be able to "Rotate about Z" right in the viewport and have the X deg appear dynamically in the "Rotate about Z" field.
2) I am able to select another possible mate from the ones that appear under the cursor and rotate the Part around the revolute mate previously created. It would be awesome if the Mate i've selected would snap, on it's trajectory constrained by the first revolute, to other mate points it finds on its way, thus making the rotation a powerful direct editing feature, so I don't have to know the exact angle by which to rotate:
We could also come up with workflows that lets a user align multiple holes and then create one fastened mate at the end. Another feature that could help is to convert a revolute to fastened at current mate value.
Please keep the feedback coming. It is very helpful to know pain points. This is one area we can surly improve experience.
Thanks for providing the example. Two revolute should work. My guess is those two holes may not be perfectly aligned. We will look into that. We can also look into tolerating issue if any. If they are perfectly aligned (within our constraint solver tolerance) then I would expect them to work with multiple revolutes. We also need to work on more feedback as what is solved and why it is not working. Again thanks for detailed description and example.
Best way to get this to work is to create the mate connector in the part studio. Create a sketch on the face of the plate and add a line constrained to the centers of two of the side holes (not diagonal holes). Then create a mate connector at the center of one of the holes, aligning the secondary axis to the line. Now you have something to mate to.