looooo / freecad.gears

a gear module for freecad
GNU General Public License v3.0
252 stars 95 forks source link

Proper integration of connected gears into the project tree #129

Open mbait opened 1 year ago

mbait commented 1 year ago

Should a gear be standalone, a child of a "Part", or a child of "Body"? If I create two gears as standalone objects, they are happily connected with the GearConnector object, but once I create bodies whose BaseFeature-s are the gears, the transformation induced by the gear connector is reset and I end up having two gears at the global origin. Now, if I create a body first, and then add a gear to it (not sure if that's a valid layout at all) the gear connector stops working. Making gears part of a "Part" object seems to work similar to the previous option, but also introduces more confusion when doing consequent operations.

Also, what's the best way to attach a gear to a particular plane? Should I attach the gear itself or the object (Part/Body) comprising it?

looooo commented 9 months ago

I think it's best to use some math and assembly4 to connect gears correctly. Adding this additional gear connector is not the way to proceed in my eyes.