by BillM » Thu Mar 17, 2016 5:45 pm
Hi Art
I started thinking more about the "reversal" and linkages.
When I used to work for the government one of my projects involved developing an emulator to serve as a test driver for a system we were developing. My team came up with an object-oriented system that by it's nature involved multiple coordinate systems. One was a global system linked to Lat/Lon. Each object created would move in this global system but have it's own relative coordinate system especially handy when maneuvering in space.
Interesting errors initially crept in regarding right hand vs left hand coordinate systems. Rotation of an object was calculated in its relative coordinate system. Such rotation was "gimbal" order specific (e.g. roll, pitch, yaw vs pitch, roll, yaw). Mismatch the "handedness" of the coordinate system would result in incorrect rotations. The same was true if the order of the rotations didn't match the inputs from the "real" systems.
I imagine that Gearotic2's implementation also has similar absolute and relative coordinate systems. When a gear is reversed, there appears to be a conflict in rotation angles.
I've been playing a lot with linkages in my simulated clocks. My goal is enable the replacement of a gear in the middle of a complicated design without having to rebuild the entire simulation.
Correct me if I'm wrong:
I think I've seen your answer either in one of your videos or blog responses that the normal sequence of things is that the First gear on a shaft drives the shaft & any other gears added to the shaft are driven by that shaft.
Adding a gear to a gear creates:
* a new shaft for the added gear
* a link from the added gear to the new shaft
* a link from the first gear to the added gear.
Implicit when the a gear is added to another gear is is that the second gear (linked to the first) always runs reverse from the first. All items driven by the same shaft have to rotate in the same direction.
The bevel gear is the only one that is reversible...and when reversed on a given shaft it runs backwards from the driving gear...either the shaft object or the reversed bevel gear object is misinterpreting rotation commands. My guess is that the bevel gear object is the only one that knows it has been reversed...if the rotation command comes from a shaft then it should reverse the rotate command from the shaft. I don't know if it's possible for a bevel gear object to know whether the rotation command comes from a shaft or a gear.
Bill
Hi Art
I started thinking more about the "reversal" and linkages.
When I used to work for the government one of my projects involved developing an emulator to serve as a test driver for a system we were developing. My team came up with an object-oriented system that by it's nature involved multiple coordinate systems. One was a global system linked to Lat/Lon. Each object created would move in this global system but have it's own relative coordinate system especially handy when maneuvering in space.
Interesting errors initially crept in regarding right hand vs left hand coordinate systems. Rotation of an object was calculated in its relative coordinate system. Such rotation was "gimbal" order specific (e.g. roll, pitch, yaw vs pitch, roll, yaw). Mismatch the "handedness" of the coordinate system would result in incorrect rotations. The same was true if the order of the rotations didn't match the inputs from the "real" systems.
I imagine that Gearotic2's implementation also has similar absolute and relative coordinate systems. When a gear is reversed, there appears to be a conflict in rotation angles.
I've been playing a lot with linkages in my simulated clocks. My goal is enable the replacement of a gear in the middle of a complicated design without having to rebuild the entire simulation.
Correct me if I'm wrong:
I think I've seen your answer either in one of your videos or blog responses that the normal sequence of things is that the First gear on a shaft drives the shaft & any other gears added to the shaft are driven by that shaft.
Adding a gear to a gear creates:
* a new shaft for the added gear
* a link from the added gear to the new shaft
* a link from the first gear to the added gear.
Implicit when the a gear is added to another gear is is that the second gear (linked to the first) always runs reverse from the first. All items driven by the same shaft have to rotate in the same direction.
The bevel gear is the only one that is reversible...and when reversed on a given shaft it runs backwards from the driving gear...either the shaft object or the reversed bevel gear object is misinterpreting rotation commands. My guess is that the bevel gear object is the only one that knows it has been reversed...if the rotation command comes from a shaft then it should reverse the rotate command from the shaft. I don't know if it's possible for a bevel gear object to know whether the rotation command comes from a shaft or a gear.
Bill