Added for bore feature
This commit is contained in:
parent
3d4bca27b9
commit
d6bd7f1a7d
|
@ -41,12 +41,31 @@ SET(WizardShaft_SRCS
|
|||
)
|
||||
SOURCE_GROUP("wizardshaft" FILES ${WizardShaft_SRCS})
|
||||
|
||||
SET(all_files ${WizardShaft_SRCS})
|
||||
SET(all_wizardshaft_files ${WizardShaft_SRCS})
|
||||
|
||||
ADD_CUSTOM_TARGET(WizardShaft ALL
|
||||
SOURCES ${all_files}
|
||||
SOURCES ${all_wizardshaft_files}
|
||||
)
|
||||
|
||||
SET(FeatureBore_SRCS
|
||||
FeatureBore/__init__.py
|
||||
FeatureBore/FeatureBore.py
|
||||
FeatureBore/TaskBore.py
|
||||
)
|
||||
SOURCE_GROUP("featurebore" FILES ${FeatureBore_SRCS})
|
||||
|
||||
SET(FeatureBore_UI
|
||||
FeatureBore/TaskBore.ui
|
||||
)
|
||||
|
||||
SET(all_featurebore_files ${FeatureBore_SRCS} ${FeatureBore_UI})
|
||||
|
||||
ADD_CUSTOM_TARGET(FeatureBore ALL
|
||||
SOURCES ${all_featurebore_files}
|
||||
)
|
||||
|
||||
SET(all_files ${all_featurebore_files} ${all_wizardshaft_files})
|
||||
|
||||
fc_copy_sources(Mod/PartDesign "${CMAKE_BINARY_DIR}/Mod/PartDesign" ${all_files})
|
||||
|
||||
INSTALL(
|
||||
|
@ -54,4 +73,8 @@ INSTALL(
|
|||
${WizardShaft_SRCS}
|
||||
DESTINATION
|
||||
Mod/PartDesign/WizardShaft
|
||||
FILES
|
||||
${FeatureBore_SRCS}
|
||||
DESTINATION
|
||||
Mod/PartDesign/FeatureBore
|
||||
)
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
|
||||
class PartDesignWorkbench ( Workbench ):
|
||||
"PartDesign workbench object"
|
||||
from FeatureBore import TaskBore
|
||||
Icon = """
|
||||
/* XPM */
|
||||
static char * partdesign_xpm[] = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user