Skip to content

Commit 1161e44

Browse files
try FrameMS instead of FPS
1 parent 6a1a8db commit 1161e44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gears.scad

+2-2
Original file line numberDiff line numberDiff line change
@@ -3484,7 +3484,7 @@ function _gear_tooth_profile(
34843484
// sun_ring = set sun/ring ratio to this value in a sun driven system, must have absolute value smaller than 1
34853485
// helical = create gears with specified helical angle. Default: 0
34863486
// gear_spin = rotate the driven gear by this number of degrees. Default:0
3487-
// Example(2D,NoAxes,Anim,Frames=90,FPS=30,VPT=[-0.875705,-0.110537,-66.3877],VPR=[0,0,0],VPD=102,Med): In this example we request a ring/carrier ratio of 1.341 and the system produced has a ratio of 4/3. The sun is fixed, the input is carried by the ring, and the carrier, shown as the blue triangle, is the output, rotating approximately in accordance with the requested ratio.
3487+
// Example(2D,NoAxes,Anim,Frames=90,FrameMS=30,VPT=[-0.875705,-0.110537,-66.3877],VPR=[0,0,0],VPD=102,Med): In this example we request a ring/carrier ratio of 1.341 and the system produced has a ratio of 4/3. The sun is fixed, the input is carried by the ring, and the carrier, shown as the blue triangle, is the output, rotating approximately in accordance with the requested ratio.
34883488
// mod=1;
34893489
// gear_data = planetary_gears(mod=mod, n=3, max_teeth=28, ring_carrier=1.341, gear_spin=4/3*360/3*$t);
34903490
// ring_gear2d(mod=mod, teeth=gear_data[1][1], profile_shift=gear_data[1][2], gear_spin=gear_data[1][3],backing=2);
@@ -3501,7 +3501,7 @@ function _gear_tooth_profile(
35013501
// spur_gear2d(mod=mod, teeth=gear_data[0][1], profile_shift=gear_data[0][2], gear_spin=gear_data[0][3]); //sun
35023502
// color("red")move_copies(gear_data[2][4])
35033503
// spur_gear2d(mod=mod, teeth=gear_data[2][1], profile_shift=gear_data[2][2], gear_spin=gear_data[2][3][$idx]);
3504-
// Example(3D,Med,NoAxes,Anim,Frames=7,FPS=20,VPT=[0.128673,0.24149,0.651451],VPR=[38.5,0,21],VPD=222.648): Here we request a sun/ring ratio of 3 and it is exactly achieved. The carrier, shown in blue, is fixed. This example is shown with helical gears. It is important to remember to flip the sign of the helical angle for the planet gears.
3504+
// Example(3D,Med,NoAxes,Anim,Frames=7,FrameMS=50,VPT=[0.128673,0.24149,0.651451],VPR=[38.5,0,21],VPD=222.648): Here we request a sun/ring ratio of 3 and it is exactly achieved. The carrier, shown in blue, is fixed. This example is shown with helical gears. It is important to remember to flip the sign of the helical angle for the planet gears.
35053505
// mod=1;
35063506
// helical=25;
35073507
// gear_data = planetary_gears(mod=mod, n=4, max_teeth=82, sun_ring=3, helical=helical,gear_spin=360/27*$t);

0 commit comments

Comments
 (0)