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_BooleanFill.cpp
77 FeaturesPlugin_Intersection.cpp
78 FeaturesPlugin_Partition.cpp
79 FeaturesPlugin_Pipe.cpp
80 FeaturesPlugin_Placement.cpp
81 FeaturesPlugin_CompositeBoolean.cpp
82 FeaturesPlugin_CompositeSketch.cpp
83 FeaturesPlugin_ExtrusionBoolean.cpp
84 FeaturesPlugin_ExtrusionCut.cpp
85 FeaturesPlugin_ExtrusionFuse.cpp
86 FeaturesPlugin_RevolutionBoolean.cpp
87 FeaturesPlugin_RevolutionCut.cpp
88 FeaturesPlugin_RevolutionFuse.cpp
89 FeaturesPlugin_Union.cpp
90 FeaturesPlugin_ValidatorTransform.cpp
91 FeaturesPlugin_Validators.cpp
92 FeaturesPlugin_RemoveSubShapes.cpp
93 FeaturesPlugin_Tools.cpp
94 FeaturesPlugin_Symmetry.cpp
95 FeaturesPlugin_Scale.cpp
96 FeaturesPlugin_MultiTranslation.cpp
97 FeaturesPlugin_MultiRotation.cpp
98 FeaturesPlugin_Fillet.cpp
99 FeaturesPlugin_Measurement.cpp
100 FeaturesPlugin_FusionFaces.cpp
106 extrusioncut_widget.xml
107 extrusionfuse_widget.xml
108 revolution_widget.xml
109 revolutioncut_widget.xml
110 revolutionfuse_widget.xml
112 translation_widget.xml
114 boolean_fuse_widget.xml
115 boolean_common_widget.xml
116 boolean_fill_widget.xml
117 boolean_smash_widget.xml
121 intersection_widget.xml
123 remove_subshapes_widget.xml
127 multitranslation_widget.xml
128 multirotation_widget.xml
130 measurement_widget.xml
131 fusion_faces_widget.xml
135 FeaturesPlugin_msg_en.ts
136 FeaturesPlugin_msg_ru.ts
139 SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
149 ${OpenCASCADE_INCLUDE_DIR}
152 SET(PROJECT_LIBRARIES
159 ${OpenCASCADE_Visualization_LIBRARIES}
162 ADD_DEFINITIONS(-DFEATURESPLUGIN_EXPORTS)
163 ADD_LIBRARY(FeaturesPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES} ${TEXT_RESOURCES})
164 TARGET_LINK_LIBRARIES(FeaturesPlugin ${PROJECT_LIBRARIES})
166 INSTALL(TARGETS FeaturesPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
167 INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
168 INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Features)
169 INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
171 ADD_UNIT_TESTS(TestExtrusion.py
173 TestExtrusionCut_BySize.py
174 TestExtrusionCut_ByPlanesAndOffsets.py
176 TestExtrusionFuse_BySize.py
177 TestExtrusionFuse_ByPlanesAndOffsets.py
178 TestExtrusion_ErrorMsg.py
179 TestExtrusion_ZeroOffsetError.py
181 TestRevolution_ByAngle.py
183 TestRevolutionCut_ByAngle.py
184 TestRevolutionCut_ByPlanesAndOffsets.py
185 TestRevolutionFuse.py
186 TestRevolutionFuse_ByAngle.py
187 TestRevolutionFuse_ByPlanesAndOffsets.py
188 TestCompositeFeaturesOnCompSolids.py
190 TestPartition_ErrorMsg.py
191 TestPlacement_Vertex_Vertex.py
192 TestPlacement_Edge_Vertex.py
193 TestPlacement_Edge_Edge.py
194 TestPlacement_Face_Vertex.py
195 TestPlacement_Face_Edge.py
196 TestPlacement_Face_Face.py
197 TestPlacement_Part_Part.py
198 TestPlacement_ErrorMsg.py
199 TestPlacement_BodyShapesValidator.py
201 TestTranslation_Part.py
203 TestRotation_ByAxis.py
204 TestRotation_ByPoints.py
205 TestRotation_ErrorMsg.py
206 TestMultiRotation_Part.py
207 TestMultiRotation_ErrorMsg.py
208 TestMultiTranslation_Part.py
209 TestMultiTranslation_ErrorMsg.py
214 TestBooleanCompSolids.py
217 TestBooleanFillWithPlane.py
218 TestBooleanFill_ErrorMsg.py
221 TestBoolean_ErrorMsg.py
223 TestIntersection_ErrorMsg.py
226 TestUnion_ErrorMsg.py
227 TestRemoveSubShapes.py
228 TestRemoveSubShapes2.py
229 TestRemoveSubShapes3.py
230 TestRemoveSubShapes4.py
231 TestRemoveSubShapes5.py
232 TestRemoveSubShapes6.py
240 TestFillEdgeVertex.py
242 TestFillEdgeEdgeIntersected.py
247 TestFillEdgeSolidIntersected.py
248 TestFillWireVertex.py
254 TestFillFaceVertex.py
256 TestFillFaceEdgeInside.py
257 TestFillFaceEdgePerpendicular.py
262 TestFillCompFaceSolid.py
263 TestFillShellVertex.py
265 TestFillShellConstrPlane.py
268 TestFillShellShell.py
269 TestFillShellSolid.py
270 TestFillSolid2ConstructionPlanes.py
273 TestFillSolidCompFace.py
274 TestFillSolidShell.py
275 TestFillSolidCompShell.py
276 TestFillCompsolidPlane.py
277 TestPartition2Faces.py
278 TestPartition2Solids.py
279 TestPartition2Wires.py
280 TestPartitionBox4Planes.py
281 TestPartitionEdgeSolid.py
282 TestPartitionFace2Solid.py
283 # TestPartitionFaceSolid.py
284 TestPartitionFaceWire.py
285 TestPartitionInclinedFaceSolid.py
286 TestPartitionWireFaceSolid.py
287 TestUnion4CurvedFaces.py
288 TestUnion4CurvedFaces_2.py
291 TestMeasurementLength.py
292 TestMeasurementDistance.py
293 TestMeasurementRadius.py
294 TestMeasurementAngle.py
295 TestMeasurementAngle3Points.py
296 TestMeasurementPresentation.py
334 TestBooleanCut_CompSolid_CompSolid.py
335 TestBooleanCut_CompSolidCompound_CompSolidCompound.py
336 TestBooleanCut_Edge_Edge.py
337 TestBooleanCut_Edge_Face.py
338 TestBooleanCut_EdgeCompound_EdgeCompound.py
339 TestBooleanCut_EdgeCompound_Solid.py
340 TestBooleanCut_Face_Face.py
341 TestBooleanCut_Face_Solid.py
342 TestBooleanCut_FaceCompound_FaceCompound.py
343 TestBooleanCut_Shell_Shell.py
344 TestBooleanCut_ShellCompound_ShellCompound.py
345 TestBooleanCut_Solid_Solid.py
346 TestBooleanCut_SolidCompound_SolidCompound.py
347 TestBooleanCut_Vertex_Vertex.py
348 TestBooleanCut_VertexCompound_Solid.py
349 TestBooleanCut_VertexCompound_VertexCompound.py
350 TestBooleanCut_Wire_Face.py
351 TestBooleanCut_Wire_Wire.py
352 TestBooleanCut_WireCompound_WireCompound.py
353 TestBooleanCut_Compound_Solid.py
354 TestBooleanCut_ErrorMsg.py
355 TestBooleanSmash_Face_Face.py
356 TestBooleanSmash_SubSolid_Solid.py
357 TestBooleanSmash_CompSolid_Solid.py
358 TestBooleanSmash_ErrorMsg.py
359 TestBooleanFuse_SimpleMode.py
360 TestBooleanFuse_RemoveEdges.py
361 TestBooleanFuse_ErrorMsg.py
362 TestBooleanCommon_Vertex_Vertex.py
363 TestBooleanCommon_VertexCompound_VertexCompound.py
364 TestBooleanCommon_Edge_Edge.py
365 TestBooleanCommon_EdgeCompound_EdgeCompound.py
366 TestBooleanCommon_Wire_Wire.py
367 TestBooleanCommon_WireCompound_WireCompound.py
368 TestBooleanCommon_Face_Face.py
369 TestBooleanCommon_Face_Plane.py
370 TestBooleanCommon_FaceCompound_FaceCompound.py
371 TestBooleanCommon_Shell_Shell.py
372 TestBooleanCommon_ShellCompound_ShellCompound.py
373 TestBooleanCommon_Solid_Face.py
374 TestBooleanCommon_Solid_Shell.py
375 TestBooleanCommon_Solid_Solid.py
376 TestBooleanCommon_SolidCompound_Face.py
377 TestBooleanCommon_SolidCompound_Shell.py
378 TestBooleanCommon_SolidCompound_SolidCompound.py
379 TestBooleanCommon_SubCompound_Solid.py
380 TestBooleanCommon_SubSolid_Solid.py
381 TestBooleanCommon_CompSolid_Face.py
382 TestBooleanCommon_CompSolid_Shell.py
383 TestBooleanCommon_CompSolid_CompSolid.py
384 TestBooleanCommon_CompSolidCompound_Face.py
385 TestBooleanCommon_CompSolidCompound_Shell.py
386 TestBooleanCommon_CompSolidCompound_CompSolidCompound.py
387 TestBooleanCommon_ErrorMsg.py
392 TestPartitionSubCompsolidWithCompSolid1.py
393 TestPartitionSubCompsolidWithCompSolid2.py
394 TestPartitionSubCompsolidWithCompSolid3.py
395 TestPartitionSubCompsolidWithSolid1.py
396 TestPartitionSubCompsolidWithSolid2.py
397 TestPartitionSubCompsolidWithSolid3.py
398 TestPartitionSubCompsolidWithSolid4.py
399 TestPartitionSubCompsolidWithSolid5.py
400 TestPartitionSubCompsolidWithFace1.py
401 TestPartitionSubCompsolidWithFace2.py
402 TestPartitionSubCompsolidWithFace3.py
403 TestPartitionSubCompsolidWithFace4.py
404 TestPartitionSubCompsolidWithFace5.py
405 TestPartitionSubCompsolidWithPlane1.py
406 TestPartitionSubCompsolidWithPlane2.py
407 TestPartitionSubCompsolidWithPlane3.py
408 TestPartitionSubCompsolidWithPlane4.py
409 TestPartitionSubCompsolidWithPlane5.py
410 TestBooleanFuse_Vertex_Vertex.py
411 TestBooleanFuse_VertexCompound_VertexCompound.py
412 TestBooleanFuse_Edge_Edge.py
413 TestBooleanFuse_EdgeCompound_EdgeCompound.py
414 TestBooleanFuse_Wire_Wire.py
415 TestBooleanFuse_WireCompound_WireCompound.py
416 TestBooleanFuse_Face_Face.py
417 TestBooleanFuse_FaceCompound_FaceCompound.py
418 TestBooleanFuse_Shell_Shell.py
419 TestBooleanFuse_ShellCompound_ShellCompound.py
420 TestBooleanFuse_Solid_Solid.py
421 TestBooleanFuse_SolidCompound_SolidCompound.py
422 TestBooleanFuse_CompSolid_Face.py
423 TestBooleanFuse_CompSolid_CompSolid.py
424 TestBooleanFuse_CompSolidCompound_CompSolidCompound.py
427 TestFillet_ErrorMsg.py