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 do gear mates work?
onshaper
Member, Mentor Posts: 94 ✭✭✭
Hi all,
I've been trying to implement a gear mate to connect the crank pulley to the timing pulley, but I can't get it to work.
Also, is there a way to reset part orientation in an assembly? I drew everything correct but I haven't been able to line it up after I dragged the pulley to see if the gear mate was working.
Thanks
Luke
https://cad.onshape.com/documents/fab7f27232d3460081425531/w/0f689583090f433b8719c49b
I've been trying to implement a gear mate to connect the crank pulley to the timing pulley, but I can't get it to work.
Also, is there a way to reset part orientation in an assembly? I drew everything correct but I haven't been able to line it up after I dragged the pulley to see if the gear mate was working.
Thanks
Luke
https://cad.onshape.com/documents/fab7f27232d3460081425531/w/0f689583090f433b8719c49b
0
Best Answer
-
andrew_troup Member, Mentor Posts: 1,584 ✭✭✭✭✭I had a quick look at your model: the main problem I see is that you have picked a Mate Connector at one end of the big-end journal. Your mate connectors for positioning the crankshaft should be at the midplane of that journal, corresponding to the midplane of the bore
The con rod and piston and crankcase should also use connectors lying rigorously on that plane, regardless of future dimensional changes.
As a rough guide to good practice, dimensional changes to parts should not cause problems to any robust mate scheme.7
Answers
The orientation of the part will be determined by the orientations of the connectors.
(ON EDIT: I got that last statement wrong: that's true in the general case but NOT in the case of gear, or rack and pinion mates, which are "mates of mates", not mates of connectors.
The linked clip does explain the synchronisation process nicely)
Here's a clip explaining how it all works:
https://www.onshape.com/videos/whats-new-gear-mates
Good luck!
Here's where I got lost. One of my gears is fixed to a shaft which is on a cylindrical mate. Seems reasonable. I have it as a cylinder mate because that way the model is more robust.
In the end, I had to delete the cylinder mate and replace it with an offset revolute. While it does work, a change in one of many dimensions will lock up the mate solver.
If you need your gear to slide (say along a splined shaft) then you cannot use a gear mate, unless you use a workaround. For example, you could model a dummy disc (hidden in the assembly) to act as an intermediary. I'm thinking this disc could have the necessary revolute mate to the mating gear, and a slider mate to your sliding gear. You could then create a gear mate between the mating gear (provided it used a revolute mate) and the dummy disc.
Without seeing your model it's hard to know why your mate solver is locking up; unless it's a bug (it probably isn't) then you must have overconstrained the assembly with your mate scheme.
Check that you have not removed the same degree of freedom with several mates, for instance.
First of all, a link to my file is in my original post! You can see the working model there.
The axial translation of the crankshaft is constrained by the cylindrical mate used on the piston and all other mates in between. I ORIGINALLY chose to use a cylindrical mate on my crankshaft>crankcase because that would allow for the whole assembly to automatically center itself making for a robust assembly. It worked well.
The problem WAS that I cannot use a cylindrical mate in a gear relationship. It appears to only work with revolute and slider. I see this as an area where gear relationship falls short.
Is it because gear relationship can only handle 1 DOF? Seems to me that "gear" should work fine with any two mates that have only 1 rotational DOF.
By changing the mate to a revolute, I have lost some robustness in my assembly, but the gear assembly works! A trade off.
Thanks for the good discussion!
Sorry about my selective blindness. When I got to the signature of your original post, I thought everything below it was none of my business :-)
It seems to me that you might have picked the way you modelled the assembly in an unrealistic way:
A real engine does not use the piston's inability to walk sideways to control the end-float of the crankshaft!
But you could choose to get similar convenience, plus what I would call (from a solid modelling perspective) robustness, if you modelled the crankshaft big-end journal midplane so that it was constrained to lie on the same construction plane as the midplane of the piston, regardless of changes to the lengthwise dimensions of the crankshaft.
Then you would not require a cylindrical mate for the crankshaft (I presume). You seem to be exploiting that extra degree of freedom for expediency (the sworn enemy of true robustness in a solid model), rather than to portray the real assembly motion which would happen in a real engine.
When I get time, I'll look at your model, (I'll grab a copy now so you can carry on changing it if you want) but I hope I at least gave you some things to think about.
The con rod and piston and crankcase should also use connectors lying rigorously on that plane, regardless of future dimensional changes.
As a rough guide to good practice, dimensional changes to parts should not cause problems to any robust mate scheme.
https://www.youtube.com/watch?v=GWfAXqQMkEY
Twitter: @onshapetricks & @babart1977