Path: Add PathDressupRampEntry.py to CMakeList

This commit is contained in:
Pekka Roivainen
2017-06-12 10:29:21 +03:00
committed by wmayer
parent c3bd7b6b9b
commit dd48cc5f2b
2 changed files with 2 additions and 2 deletions

View File

@@ -29,6 +29,7 @@ SET(PathScripts_SRCS
PathScripts/PathDressupDogbone.py
PathScripts/PathDressupDragknife.py
PathScripts/PathDressupHoldingTags.py
PathScripts/PathDressupRampEntry.py
PathScripts/PathDrilling.py
PathScripts/PathEngrave.py
PathScripts/PathFacePocket.py
@@ -141,4 +142,3 @@ INSTALL(
DESTINATION
Mod/Path/PathTests
)

View File

@@ -604,7 +604,7 @@ class CommandPathDressupRampEntry:
# everything ok!
FreeCAD.ActiveDocument.openTransaction(translate("Create RampEntry Dress-up"))
FreeCADGui.addModule("PathScripts.PathDressUpRampEntry")
FreeCADGui.addModule("PathScripts.PathDressupRampEntry")
FreeCADGui.addModule("PathScripts.PathUtils")
FreeCADGui.doCommand('obj = FreeCAD.ActiveDocument.addObject("Path::FeaturePython", "RampEntryDressup")')
FreeCADGui.doCommand('dbo = PathScripts.PathDressupRampEntry.ObjectDressup(obj)')