Skip to content

Commit

Permalink
set numpoints to 20 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
looooo committed Jan 10, 2024
1 parent 51fe971 commit ffb4950
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion freecad/gears/bevelgear.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def __init__(self, obj):
obj.pressure_angle = "20. deg"
obj.pitch_angle = "45. deg"
obj.height = "5. mm"
obj.numpoints = 6
obj.numpoints = 20
obj.backlash = "0.00 mm"
obj.clearance = 0.1
obj.beta = "0 deg"
Expand Down
2 changes: 1 addition & 1 deletion freecad/gears/cycloidgear.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __init__(self, obj):
obj.beta = "0. deg"
obj.height = "5. mm"
obj.clearance = 0.25
obj.numpoints = 15
obj.numpoints = 20
obj.backlash = "0.00 mm"
obj.double_helix = False
obj.head = 0
Expand Down
2 changes: 1 addition & 1 deletion freecad/gears/internalinvolutegear.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def __init__(self, obj):
obj.thickness = "5 mm"
obj.clearance = 0.25
obj.head = -0.4 # using head=0 and shift=0.5 may be better, but makes placeing the pinion less intuitive
obj.numpoints = 6
obj.numpoints = 20
obj.double_helix = False
obj.backlash = "0.00 mm"
obj.reversed_backlash = False
Expand Down
2 changes: 1 addition & 1 deletion freecad/gears/involutegear.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def __init__(self, obj):
obj.height = "5. mm"
obj.clearance = 0.25
obj.head = 0.0
obj.numpoints = 6
obj.numpoints = 20
obj.double_helix = False
obj.backlash = "0.00 mm"
obj.reversed_backlash = False
Expand Down

0 comments on commit ffb4950

Please sign in to comment.