1 ## Copyright (C) 2014-2017 CEA/DEN, EDF R&D
3 ## This library is free software; you can redistribute it and/or
4 ## modify it under the terms of the GNU Lesser General Public
5 ## License as published by the Free Software Foundation; either
6 ## version 2.1 of the License, or (at your option) any later version.
8 ## This library is distributed in the hope that it will be useful,
9 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
10 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 ## Lesser General Public License for more details.
13 ## You should have received a copy of the GNU Lesser General Public
14 ## License along with this library; if not, write to the Free Software
15 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 ## See http:##www.salome-platform.org/ or
18 ## email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
26 FeaturesPlugin_Plugin.h
27 FeaturesPlugin_Extrusion.h
28 FeaturesPlugin_Recover.h
29 FeaturesPlugin_Revolution.h
30 FeaturesPlugin_Rotation.h
31 FeaturesPlugin_Translation.h
32 FeaturesPlugin_Boolean.h
33 FeaturesPlugin_BooleanCut.h
34 FeaturesPlugin_BooleanFuse.h
35 FeaturesPlugin_BooleanCommon.h
36 FeaturesPlugin_BooleanSmash.h
37 FeaturesPlugin_BooleanFill.h
38 FeaturesPlugin_Intersection.h
39 FeaturesPlugin_Partition.h
41 FeaturesPlugin_Placement.h
42 FeaturesPlugin_CompositeBoolean.h
43 FeaturesPlugin_CompositeSketch.h
44 FeaturesPlugin_ExtrusionBoolean.h
45 FeaturesPlugin_ExtrusionCut.h
46 FeaturesPlugin_ExtrusionFuse.h
47 FeaturesPlugin_RevolutionBoolean.h
48 FeaturesPlugin_RevolutionCut.h
49 FeaturesPlugin_RevolutionFuse.h
50 FeaturesPlugin_Union.h
51 FeaturesPlugin_ValidatorTransform.h
52 FeaturesPlugin_Validators.h
53 FeaturesPlugin_RemoveSubShapes.h
54 FeaturesPlugin_Tools.h
55 FeaturesPlugin_Symmetry.h
56 FeaturesPlugin_Scale.h
57 FeaturesPlugin_MultiTranslation.h
58 FeaturesPlugin_MultiRotation.h
59 FeaturesPlugin_Fillet.h
60 FeaturesPlugin_Measurement.h
61 FeaturesPlugin_FusionFaces.h
65 FeaturesPlugin_Plugin.cpp
66 FeaturesPlugin_Extrusion.cpp
67 FeaturesPlugin_Recover.cpp
68 FeaturesPlugin_Revolution.cpp
69 FeaturesPlugin_Rotation.cpp
70 FeaturesPlugin_Translation.cpp
71 FeaturesPlugin_Boolean.cpp
72 FeaturesPlugin_BooleanCut.cpp
73 FeaturesPlugin_BooleanFuse.cpp
74 FeaturesPlugin_BooleanCommon.cpp
75 FeaturesPlugin_BooleanSmash.cpp
76 FeaturesPlugin_Intersection.cpp
77 FeaturesPlugin_Partition.cpp
78 FeaturesPlugin_Pipe.cpp
79 FeaturesPlugin_Placement.cpp
80 FeaturesPlugin_CompositeBoolean.cpp
81 FeaturesPlugin_CompositeSketch.cpp
82 FeaturesPlugin_ExtrusionBoolean.cpp
83 FeaturesPlugin_ExtrusionCut.cpp
84 FeaturesPlugin_ExtrusionFuse.cpp
85 FeaturesPlugin_RevolutionBoolean.cpp
86 FeaturesPlugin_RevolutionCut.cpp
87 FeaturesPlugin_RevolutionFuse.cpp
88 FeaturesPlugin_Union.cpp
89 FeaturesPlugin_ValidatorTransform.cpp
90 FeaturesPlugin_Validators.cpp
91 FeaturesPlugin_RemoveSubShapes.cpp
92 FeaturesPlugin_Tools.cpp
93 FeaturesPlugin_Symmetry.cpp
94 FeaturesPlugin_Scale.cpp
95 FeaturesPlugin_MultiTranslation.cpp
96 FeaturesPlugin_MultiRotation.cpp
97 FeaturesPlugin_Fillet.cpp
98 FeaturesPlugin_Measurement.cpp
99 FeaturesPlugin_FusionFaces.cpp
105 extrusioncut_widget.xml
106 extrusionfuse_widget.xml
107 revolution_widget.xml
108 revolutioncut_widget.xml
109 revolutionfuse_widget.xml
111 translation_widget.xml
113 boolean_fuse_widget.xml
114 boolean_common_widget.xml
115 boolean_fill_widget.xml
116 boolean_smash_widget.xml
120 intersection_widget.xml
122 remove_subshapes_widget.xml
126 multitranslation_widget.xml
127 multirotation_widget.xml
129 measurement_widget.xml
130 fusion_faces_widget.xml
134 FeaturesPlugin_msg_en.ts
135 FeaturesPlugin_msg_ru.ts
138 SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
148 ${OpenCASCADE_INCLUDE_DIR}
151 SET(PROJECT_LIBRARIES
158 ${OpenCASCADE_Visualization_LIBRARIES}
161 ADD_DEFINITIONS(-DFEATURESPLUGIN_EXPORTS)
162 ADD_LIBRARY(FeaturesPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES} ${TEXT_RESOURCES})
163 TARGET_LINK_LIBRARIES(FeaturesPlugin ${PROJECT_LIBRARIES})
165 INSTALL(TARGETS FeaturesPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
166 INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
167 INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Features)
168 INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
170 ADD_UNIT_TESTS(TestExtrusion.py
175 TestRevolutionFuse.py
176 TestCompositeFeaturesOnCompSolids.py
182 TestBooleanCompSolids.py
185 TestBooleanFillWithPlane.py
191 TestRemoveSubShapes.py
192 TestRemoveSubShapes2.py
193 TestRemoveSubShapes3.py
194 TestRemoveSubShapes4.py
198 TestFillEdgeVertex.py
200 TestFillEdgeEdgeIntersected.py
205 TestFillEdgeSolidIntersected.py
206 TestFillWireVertex.py
212 TestFillFaceVertex.py
214 TestFillFaceEdgeInside.py
215 TestFillFaceEdgePerpendicular.py
220 TestFillCompFaceSolid.py
221 TestFillShellVertex.py
223 TestFillShellConstrPlane.py
226 TestFillShellShell.py
227 TestFillShellSolid.py
228 TestFillSolid2ConstructionPlanes.py
231 TestFillSolidCompFace.py
232 TestFillSolidShell.py
233 TestFillSolidCompShell.py
234 TestPartition2Faces.py
235 TestPartition2Solids.py
236 TestPartition2Wires.py
237 TestPartitionBox4Planes.py
238 TestPartitionEdgeSolid.py
239 TestPartitionFace2Solid.py
240 # TestPartitionFaceSolid.py
241 TestPartitionFaceWire.py
242 TestPartitionInclinedFaceSolid.py
243 TestPartitionWireFaceSolid.py
244 TestUnion4CurvedFaces.py
245 TestUnion4CurvedFaces_2.py
248 TestMeasurementLength.py
249 TestMeasurementDistance.py
250 TestMeasurementRadius.py
251 TestMeasurementAngle.py
289 TestBooleanCut_CompSolid_CompSolid.py
290 TestBooleanCut_CompSolidCompound_CompSolidCompound.py
291 TestBooleanCut_Edge_Edge.py
292 TestBooleanCut_Edge_Face.py
293 TestBooleanCut_EdgeCompound_EdgeCompound.py
294 TestBooleanCut_EdgeCompound_Solid.py
295 TestBooleanCut_Face_Face.py
296 TestBooleanCut_Face_Solid.py
297 TestBooleanCut_FaceCompound_FaceCompound.py
298 TestBooleanCut_Shell_Shell.py
299 TestBooleanCut_ShellCompound_ShellCompound.py
300 TestBooleanCut_Solid_Solid.py
301 TestBooleanCut_SolidCompound_SolidCompound.py
302 TestBooleanCut_Vertex_Vertex.py
303 TestBooleanCut_VertexCompound_Solid.py
304 TestBooleanCut_VertexCompound_VertexCompound.py
305 TestBooleanCut_Wire_Face.py
306 TestBooleanCut_Wire_Wire.py
307 TestBooleanCut_WireCompound_WireCompound.py
308 TestBooleanSmash_Face_Face.py
309 TestBooleanFuse_SimpleMode.py
310 TestBooleanFuse_RemoveEdges.py
311 TestBooleanCommon_Vertex_Vertex.py
312 TestBooleanCommon_VertexCompound_VertexCompound.py
313 TestBooleanCommon_Edge_Edge.py
314 TestBooleanCommon_EdgeCompound_EdgeCompound.py
315 TestBooleanCommon_Wire_Wire.py
316 TestBooleanCommon_WireCompound_WireCompound.py
317 TestBooleanCommon_Face_Face.py
318 TestBooleanCommon_FaceCompound_FaceCompound.py
319 TestBooleanCommon_Shell_Shell.py
320 TestBooleanCommon_ShellCompound_ShellCompound.py
321 TestBooleanCommon_Solid_Face.py
322 TestBooleanCommon_Solid_Shell.py
323 TestBooleanCommon_Solid_Solid.py
324 TestBooleanCommon_SolidCompound_Face.py
325 TestBooleanCommon_SolidCompound_Shell.py
326 TestBooleanCommon_SolidCompound_SolidCompound.py
327 TestBooleanCommon_CompSolid_Face.py
328 TestBooleanCommon_CompSolid_Shell.py
329 TestBooleanCommon_CompSolid_CompSolid.py
330 TestBooleanCommon_CompSolidCompound_Face.py
331 TestBooleanCommon_CompSolidCompound_Shell.py
332 TestBooleanCommon_CompSolidCompound_CompSolidCompound.py
337 TestPartitionSubCompsolidWithCompsolid1.py
338 TestPartitionSubCompsolidWithCompsolid2.py
339 TestPartitionSubCompsolidWithCompsolid3.py
340 TestPartitionSubCompsolidWithSolid1.py
341 TestPartitionSubCompsolidWithSolid2.py
342 TestPartitionSubCompsolidWithSolid3.py
343 TestPartitionSubCompsolidWithSolid4.py
344 TestPartitionSubCompsolidWithSolid5.py
345 TestPartitionSubCompsolidWithFace1.py
346 TestPartitionSubCompsolidWithFace2.py
347 TestPartitionSubCompsolidWithFace3.py
348 TestPartitionSubCompsolidWithFace4.py
349 TestPartitionSubCompsolidWithFace5.py
350 TestPartitionSubCompsolidWithPlane1.py
351 TestPartitionSubCompsolidWithPlane2.py
352 TestPartitionSubCompsolidWithPlane3.py
353 TestPartitionSubCompsolidWithPlane4.py
354 TestPartitionSubCompsolidWithPlane5.py
355 TestBooleanFuse_Vertex_Vertex.py
356 TestBooleanFuse_VertexCompound_VertexCompound.py
357 TestBooleanFuse_Edge_Edge.py
358 TestBooleanFuse_EdgeCompound_EdgeCompound.py
359 TestBooleanFuse_Wire_Wire.py
360 TestBooleanFuse_WireCompound_WireCompound.py
361 TestBooleanFuse_Face_Face.py
362 TestBooleanFuse_FaceCompound_FaceCompound.py
363 TestBooleanFuse_Shell_Shell.py
364 TestBooleanFuse_ShellCompound_ShellCompound.py
365 TestBooleanFuse_Solid_Solid.py
366 TestBooleanFuse_SolidCompound_SolidCompound.py
367 TestBooleanFuse_CompSolid_CompSolid.py
368 TestBooleanFuse_CompSolidCompound_CompSolidCompound.py