Skip to content

Commit

Permalink
add timing gear t-shape
Browse files Browse the repository at this point in the history
  • Loading branch information
looooo committed Jan 1, 2024
1 parent 17715c0 commit 9e14aac
Show file tree
Hide file tree
Showing 6 changed files with 544 additions and 9 deletions.
13 changes: 11 additions & 2 deletions freecad/gears/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@
import os
import FreeCAD
import FreeCADGui as Gui

from .features import (
ViewProviderGear,
InvoluteGear,
InternalInvoluteGear,
InvoluteGearRack,
CycloidGearRack,
)
from .features import (
CycloidGear,
BevelGear,
CrownGear,
Expand All @@ -36,6 +35,8 @@
HypoCycloidGear,
BaseGear,
)
from .timing_gear_t import TimingGearT

from .connector import GearConnector, ViewProviderGearConnector


Expand Down Expand Up @@ -167,6 +168,14 @@ class CreateWormGear(BaseCommand):
ToolTip = "Create a Worm gear"


class CreateTimingGearT(BaseCommand):
NAME = "TimingGearT"
GEAR_FUNCTION = TimingGearT
Pixmap = os.path.join(BaseCommand.ICONDIR, "timinggear_t.svg")
MenuText = "Timing Gear T-shape"
ToolTip = "Create a Timing gear T-shape"


class CreateTimingGear(BaseCommand):
NAME = "TimingGear"
GEAR_FUNCTION = TimingGear
Expand Down
1 change: 0 additions & 1 deletion freecad/gears/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
# * *
# ***************************************************************************

from __future__ import division
import os
import sys

Expand Down
Loading

0 comments on commit 9e14aac

Please sign in to comment.