FeaturesPlugin.h
FeaturesPlugin_Plugin.h
FeaturesPlugin_Extrusion.h
+ FeaturesPlugin_Recover.h
FeaturesPlugin_Revolution.h
FeaturesPlugin_Rotation.h
FeaturesPlugin_Translation.h
FeaturesPlugin_Boolean.h
- FeaturesPlugin_Group.h
FeaturesPlugin_Intersection.h
FeaturesPlugin_Partition.h
FeaturesPlugin_Pipe.h
FeaturesPlugin_RevolutionBoolean.h
FeaturesPlugin_RevolutionCut.h
FeaturesPlugin_RevolutionFuse.h
+ FeaturesPlugin_Union.h
FeaturesPlugin_ValidatorTransform.h
FeaturesPlugin_Validators.h
+ FeaturesPlugin_RemoveSubShapes.h
+ FeaturesPlugin_Tools.h
+ FeaturesPlugin_Symmetry.h
+ FeaturesPlugin_Scale.h
+ FeaturesPlugin_MultiTranslation.h
)
SET(PROJECT_SOURCES
FeaturesPlugin_Plugin.cpp
FeaturesPlugin_Extrusion.cpp
+ FeaturesPlugin_Recover.cpp
FeaturesPlugin_Revolution.cpp
FeaturesPlugin_Rotation.cpp
FeaturesPlugin_Translation.cpp
FeaturesPlugin_Boolean.cpp
- FeaturesPlugin_Group.cpp
FeaturesPlugin_Intersection.cpp
FeaturesPlugin_Partition.cpp
FeaturesPlugin_Pipe.cpp
FeaturesPlugin_RevolutionBoolean.cpp
FeaturesPlugin_RevolutionCut.cpp
FeaturesPlugin_RevolutionFuse.cpp
+ FeaturesPlugin_Union.cpp
FeaturesPlugin_ValidatorTransform.cpp
FeaturesPlugin_Validators.cpp
+ FeaturesPlugin_RemoveSubShapes.cpp
+ FeaturesPlugin_Tools.cpp
+ FeaturesPlugin_Symmetry.cpp
+ FeaturesPlugin_Scale.cpp
+ FeaturesPlugin_MultiTranslation.cpp
)
SET(XML_RESOURCES
rotation_widget.xml
translation_widget.xml
boolean_widget.xml
- group_widget.xml
+ recover_widget.xml
partition_widget.xml
placement_widget.xml
intersection_widget.xml
pipe_widget.xml
+ remove_subshapes_widget.xml
+ union_widget.xml
+ symmetry_widget.xml
+ scale_widget.xml
+ multitranslation_widget.xml
)
+SET(TEXT_RESOURCES
+ FeaturesPlugin_msg_en.ts
+ FeaturesPlugin_msg_ru.ts
+)
+
+SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
+
+
INCLUDE_DIRECTORIES(
../ModelAPI
../GeomAPI
)
ADD_DEFINITIONS(-DFEATURESPLUGIN_EXPORTS)
-ADD_LIBRARY(FeaturesPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES})
+ADD_LIBRARY(FeaturesPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES} ${TEXT_RESOURCES})
TARGET_LINK_LIBRARIES(FeaturesPlugin ${PROJECT_LIBRARIES})
INSTALL(TARGETS FeaturesPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
+INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Features)
+INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
ADD_UNIT_TESTS(TestExtrusion.py
TestExtrusionCut.py
TestBoolean.py
TestBooleanCompSolids.py
TestBooleanSmash.py
+ TestBooleanFill.py
TestMultiBoolean.py
TestSerialBoolean.py
- TestGroup.py
- TestIntersection.py)
+ TestIntersection.py
+ TestUnion.py
+ TestRemoveSubShapes.py
+ TestPipe.py
+ TestRecover.py
+ TestRecover1798.py
+ Test1922.py
+ Test1942.py
+ Test1915.py
+ Test2023.py
+ Test2046.py
+ Test2038.py
+)