I missed the point above when I first ran the scene. Now that I understand, I think it is a very cool scene. The gears are camouflaged when stopped at any angular position. Nice demo.
See Two Synthesis Methods for Non-Circular Cylindrical Gears for the math. Save the scene with a .phn extension and then open it with a text editor to see the code. The simple explanation is that you create a shape and a hinge and then the second shape must have a surface that rolls without slipping on the first shape and must have a perimeter that is n2/n1 times the first shape's perimeter.
The circle teeth spacing should be the length of one side divided by an odd number. The phasing of the gear teeth of the first gear with respect to the second needs to be correct for smooth operation.
At this point, I could make an asymmetrical gear generator that would take any polygon, and if given a center to center distance, create its conjugate and then add gear teeth. I did make an asymmetric shape and its conjugate in flames, but I used a spreadsheet to generate the coordinates instead of Algodoo. I am not sure if I am going to make an asymmetrical gear generator yet.
Thanks, but I think I need to beef it up based on Kilinich's comments.
Kilinich,
I now see what you mean about light bodies. I will try to fix that.
I also agree that spawned geometry should be inside the engine, which mine is, until it exhausts. Spawning geometry outside the engine doesn't work so well.
Now that's one strong engine. I'm not sure if this qualifies. You will have to check with pnvv (pnvv, your check is in the mail). The reason I question whether this engine qualifies is that a spawn engine's spawn geometry usually presses between 2 or more machine elements in order to push them apart whereas in a rocket engine the spawn geometry pushes between space and one element. This looks like a rocket engine to me. pnvv explicitly stated "You can't just build a rocket". All previous entries have been engines where the spawn geometry presses between two machine elements.
"When I use a word," Humpty Dumpty said, in a rather scornful tone, "it means just what I choose it to mean - neither more nor less."
I have 654 non-entered scenes, so I'm running about 50%. My motto is "Quantity B4 Kwality". 32 scenes with 50 hits each = 1 scene with 1600 hits. Also, if you update your scene with minor changes, then you can trick some users into downloading it twice. That's my big plan anyways.
I see you are new to marble races. This scene really needs to be in the "Marble races" group, otherwise Xray may delete it. Good work, I can't wait to see your next marble race.