1 # Copyright (C) 2014-2019 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 email : webmaster.salome@opencascade.com
25 FeaturesPlugin_Plugin.h
26 FeaturesPlugin_Extrusion.h
27 FeaturesPlugin_Recover.h
28 FeaturesPlugin_Revolution.h
29 FeaturesPlugin_Rotation.h
30 FeaturesPlugin_Translation.h
31 FeaturesPlugin_VersionedBoolean.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
62 FeaturesPlugin_RemoveResults.h
66 FeaturesPlugin_Plugin.cpp
67 FeaturesPlugin_Extrusion.cpp
68 FeaturesPlugin_Recover.cpp
69 FeaturesPlugin_Revolution.cpp
70 FeaturesPlugin_Rotation.cpp
71 FeaturesPlugin_Translation.cpp
72 FeaturesPlugin_VersionedBoolean.cpp
73 FeaturesPlugin_Boolean.cpp
74 FeaturesPlugin_BooleanCut.cpp
75 FeaturesPlugin_BooleanFuse.cpp
76 FeaturesPlugin_BooleanCommon.cpp
77 FeaturesPlugin_BooleanSmash.cpp
78 FeaturesPlugin_BooleanFill.cpp
79 FeaturesPlugin_Intersection.cpp
80 FeaturesPlugin_Partition.cpp
81 FeaturesPlugin_Pipe.cpp
82 FeaturesPlugin_Placement.cpp
83 FeaturesPlugin_CompositeBoolean.cpp
84 FeaturesPlugin_CompositeSketch.cpp
85 FeaturesPlugin_ExtrusionBoolean.cpp
86 FeaturesPlugin_ExtrusionCut.cpp
87 FeaturesPlugin_ExtrusionFuse.cpp
88 FeaturesPlugin_RevolutionBoolean.cpp
89 FeaturesPlugin_RevolutionCut.cpp
90 FeaturesPlugin_RevolutionFuse.cpp
91 FeaturesPlugin_Union.cpp
92 FeaturesPlugin_ValidatorTransform.cpp
93 FeaturesPlugin_Validators.cpp
94 FeaturesPlugin_RemoveSubShapes.cpp
95 FeaturesPlugin_Tools.cpp
96 FeaturesPlugin_Symmetry.cpp
97 FeaturesPlugin_Scale.cpp
98 FeaturesPlugin_MultiTranslation.cpp
99 FeaturesPlugin_MultiRotation.cpp
100 FeaturesPlugin_Fillet.cpp
101 FeaturesPlugin_Measurement.cpp
102 FeaturesPlugin_FusionFaces.cpp
103 FeaturesPlugin_RemoveResults.cpp
109 extrusioncut_widget.xml
110 extrusionfuse_widget.xml
111 revolution_widget.xml
112 revolutioncut_widget.xml
113 revolutionfuse_widget.xml
115 translation_widget.xml
117 boolean_fuse_widget.xml
118 boolean_common_widget.xml
119 boolean_split_widget.xml
120 boolean_smash_widget.xml
124 intersection_widget.xml
126 remove_subshapes_widget.xml
130 multitranslation_widget.xml
131 multirotation_widget.xml
133 measurement_widget.xml
134 fusion_faces_widget.xml
138 FeaturesPlugin_msg_en.ts
139 FeaturesPlugin_msg_ru.ts
142 SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
152 ${OpenCASCADE_INCLUDE_DIR}
155 SET(PROJECT_LIBRARIES
162 ${OpenCASCADE_Visualization_LIBRARIES}
165 ADD_DEFINITIONS(-DFEATURESPLUGIN_EXPORTS)
166 ADD_LIBRARY(FeaturesPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES} ${TEXT_RESOURCES})
167 TARGET_LINK_LIBRARIES(FeaturesPlugin ${PROJECT_LIBRARIES})
169 INSTALL(TARGETS FeaturesPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
170 INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
171 INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Features)
172 INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
174 ADD_UNIT_TESTS(TestExtrusion.py
175 TestExtrusionOfCompound.py
177 TestExtrusionCut_BySize.py
178 TestExtrusionCut_ByPlanesAndOffsets.py
180 TestExtrusionFuse_BySize.py
181 TestExtrusionFuse_ByPlanesAndOffsets.py
182 TestExtrusion_ErrorMsg.py
183 TestExtrusion_ZeroOffsetError.py
185 TestRevolution_ByAngle.py
186 TestRevolutionOfPoint.py
187 TestRevolutionOfEdge.py
188 TestRevolutionOfCompound.py
190 TestRevolutionCut_ByAngle.py
191 TestRevolutionCut_ByPlanesAndOffsets.py
192 TestRevolutionFuse.py
193 TestRevolutionFuse_ByAngle.py
194 TestRevolutionFuse_ByPlanesAndOffsets.py
195 TestCompositeFeaturesOnCompSolids.py
197 TestPartition_ErrorMsg.py
198 TestPlacement_Vertex_Vertex.py
199 TestPlacement_Edge_Vertex.py
200 TestPlacement_Edge_Edge.py
201 TestPlacement_Face_Vertex.py
202 TestPlacement_Face_Edge.py
203 TestPlacement_Face_Face.py
204 TestPlacement_Part_Part.py
205 TestPlacement_Complex.py
206 TestPlacement_ErrorMsg.py
207 TestPlacement_BodyShapesValidator.py
209 TestTranslation_Part.py
211 TestRotation_ByAxis.py
212 TestRotation_ByPoints.py
213 TestRotation_ErrorMsg.py
214 TestMultiRotation_Part.py
215 TestMultiRotation_ErrorMsg.py
216 TestMultiTranslation_Part.py
217 TestMultiTranslation_ErrorMsg.py
222 TestBooleanCompSolids.py
225 TestBooleanSplitWithPlane.py
226 TestBooleanSplit_ErrorMsg.py
229 TestBoolean_ErrorMsg.py
231 TestIntersection_ErrorMsg.py
234 TestUnion_ErrorMsg.py
235 TestRemoveSubShapes.py
236 TestRemoveSubShapes2.py
237 TestRemoveSubShapes3.py
238 TestRemoveSubShapes4.py
239 TestRemoveSubShapes5.py
240 TestRemoveSubShapes6.py
248 TestSplitEdgeVertex.py
250 TestSplitEdgeEdgeIntersected.py
253 TestSplitEdgeShell.py
254 TestSplitEdgeSolid.py
255 TestSplitEdgeSolidIntersected.py
256 TestSplitWireVertex.py
260 TestSplitWireShell.py
261 TestSplitWireSolid.py
262 TestSplitFaceVertex.py
264 TestSplitFaceEdgeInside.py
265 TestSplitFaceEdgePerpendicular.py
268 TestSplitFaceShell.py
269 TestSplitFaceSolid.py
270 TestSplitCompFaceSolid.py
271 TestSplitShellVertex.py
272 TestSplitShellEdge.py
273 TestSplitShellConstrPlane.py
274 TestSplitShellWire.py
275 TestSplitShellFace.py
276 TestSplitShellShell.py
277 TestSplitShellSolid.py
278 TestSplitSolid2ConstructionPlanes.py
279 TestSplitSolidEdge.py
280 TestSplitSolidFace.py
281 TestSplitSolidCompFace.py
282 TestSplitSolidShell.py
283 TestSplitSolidCompShell.py
284 TestSplitCompsolidPlane.py
285 TestPartition2Faces.py
286 TestPartition2Solids.py
287 TestPartition2Wires.py
288 TestPartitionBox4Planes.py
289 TestPartitionEdgeSolid.py
290 TestPartitionFace2Solid.py
291 TestPartitionFaceSolid.py
292 TestPartitionFaceWire.py
293 TestPartitionInclinedFaceSolid.py
294 TestPartitionWireFaceSolid.py
295 TestUnion4CurvedFaces.py
296 TestUnion4CurvedFaces_2.py
299 TestMeasurementLength.py
300 TestMeasurementDistance.py
301 TestMeasurementRadius.py
302 TestMeasurementAngle.py
303 TestMeasurementAngle3Points.py
304 TestMeasurementPresentation.py
306 TestFusionFaces2697.py
343 TestBooleanCut_CompSolid_CompSolid.py
344 TestBooleanCut_CompSolidCompound_CompSolidCompound.py
345 TestBooleanCut_Edge_Edge.py
346 TestBooleanCut_Edge_Face.py
347 TestBooleanCut_EdgeCompound_EdgeCompound.py
348 TestBooleanCut_EdgeCompound_Solid.py
349 TestBooleanCut_Face_Face.py
350 TestBooleanCut_Face_Solid.py
351 TestBooleanCut_FaceCompound_FaceCompound.py
352 TestBooleanCut_Shell_Shell.py
353 TestBooleanCut_ShellCompound_ShellCompound.py
354 TestBooleanCut_Solid_Solid.py
355 TestBooleanCut_SolidCompound_SolidCompound.py
356 TestBooleanCut_Vertex_Vertex.py
357 TestBooleanCut_VertexCompound_Solid.py
358 TestBooleanCut_VertexCompound_VertexCompound.py
359 TestBooleanCut_Wire_Face.py
360 TestBooleanCut_Wire_Wire.py
361 TestBooleanCut_WireCompound_WireCompound.py
362 TestBooleanCut_Compound_Solid.py
363 TestBooleanCut_ErrorMsg.py
364 TestBooleanCut_SolidsHistory.py
365 TestBooleanSmash_Face_Face.py
366 TestBooleanSmash_SubSolid_Solid.py
367 TestBooleanSmash_CompSolid_Solid.py
368 TestBooleanSmash_ErrorMsg.py
369 TestBooleanSmash_SolidsHistory.py
370 TestBooleanFuse_SimpleMode.py
371 TestBooleanFuse_RemoveEdges.py
372 TestBooleanFuse_ErrorMsg.py
373 TestBooleanCommon_Vertex_Vertex.py
374 TestBooleanCommon_VertexCompound_VertexCompound.py
375 TestBooleanCommon_Edge_Edge.py
376 TestBooleanCommon_EdgeCompound_EdgeCompound.py
377 TestBooleanCommon_Wire_Wire.py
378 TestBooleanCommon_WireCompound_WireCompound.py
379 TestBooleanCommon_Face_Face.py
380 TestBooleanCommon_Face_Plane.py
381 TestBooleanCommon_FaceCompound_FaceCompound.py
382 TestBooleanCommon_Shell_Shell.py
383 TestBooleanCommon_ShellCompound_ShellCompound.py
384 TestBooleanCommon_Solid_Face.py
385 TestBooleanCommon_Solid_Shell.py
386 TestBooleanCommon_Solid_Solid.py
387 TestBooleanCommon_SolidCompound_Face.py
388 TestBooleanCommon_SolidCompound_Shell.py
389 TestBooleanCommon_SolidCompound_SolidCompound.py
390 TestBooleanCommon_SubCompound_Solid.py
391 TestBooleanCommon_SubSolid_Solid.py
392 TestBooleanCommon_CompSolid_Face.py
393 TestBooleanCommon_CompSolid_Shell.py
394 TestBooleanCommon_CompSolid_CompSolid.py
395 TestBooleanCommon_CompSolidCompound_Face.py
396 TestBooleanCommon_CompSolidCompound_Shell.py
397 TestBooleanCommon_CompSolidCompound_CompSolidCompound.py
398 TestBooleanCommon_ErrorMsg.py
399 TestBooleanCommon_SolidsHistory.py
404 TestPartitionSubCompsolidWithCompSolid1.py
405 TestPartitionSubCompsolidWithCompSolid2.py
406 TestPartitionSubCompsolidWithCompSolid3.py
407 TestPartitionSubCompsolidWithSolid1.py
408 TestPartitionSubCompsolidWithSolid2.py
409 TestPartitionSubCompsolidWithSolid3.py
410 TestPartitionSubCompsolidWithSolid4.py
411 TestPartitionSubCompsolidWithSolid5.py
412 TestPartitionSubCompsolidWithFace1.py
413 TestPartitionSubCompsolidWithFace2.py
414 TestPartitionSubCompsolidWithFace3.py
415 TestPartitionSubCompsolidWithFace4.py
416 TestPartitionSubCompsolidWithFace5.py
417 TestPartitionSubCompsolidWithPlane1.py
418 TestPartitionSubCompsolidWithPlane2.py
419 TestPartitionSubCompsolidWithPlane3.py
420 TestPartitionSubCompsolidWithPlane4.py
421 TestPartitionSubCompsolidWithPlane5.py
422 TestPartitionArgsUpdate.py
423 TestPartition_SolidsHistory.py
424 TestBooleanFuse_Vertex_Vertex.py
425 TestBooleanFuse_VertexCompound_VertexCompound.py
426 TestBooleanFuse_Edge_Edge.py
427 TestBooleanFuse_EdgeCompound_EdgeCompound.py
428 TestBooleanFuse_Wire_Wire.py
429 TestBooleanFuse_WireCompound_WireCompound.py
430 TestBooleanFuse_Face_Face.py
431 TestBooleanFuse_FaceCompound_FaceCompound.py
432 TestBooleanFuse_Shell_Shell.py
433 TestBooleanFuse_ShellCompound_ShellCompound.py
434 TestBooleanFuse_Solid_Solid.py
435 TestBooleanFuse_SolidCompound_SolidCompound.py
436 TestBooleanFuse_CompSolid_Face.py
437 TestBooleanFuse_CompSolid_CompSolid.py
438 TestBooleanFuse_CompSolidCompound_CompSolidCompound.py
439 TestBooleanFuse_SolidsHistory.py
442 TestFillet_ErrorMsg.py
443 TestFillet_History.py
467 TestBooleanCommon_MultiLevelCompound_v0_1.py
468 TestBooleanCommon_MultiLevelCompound_v0_2.py
469 TestBooleanCommon_MultiLevelCompound_v20190506_1.py
470 TestBooleanCommon_MultiLevelCompound_v20190506_2.py
471 TestBooleanCut_MultiLevelCompound_v0_1.py
472 TestBooleanCut_MultiLevelCompound_v0_2.py
473 TestBooleanCut_MultiLevelCompound_v20190506_1.py
474 TestBooleanCut_MultiLevelCompound_v20190506_2.py
475 TestBooleanFuse_MultiLevelCompound_v0_1.py
476 TestBooleanFuse_MultiLevelCompound_v0_2.py
477 TestBooleanFuse_MultiLevelCompound_v0_3.py
478 TestBooleanFuse_MultiLevelCompound_v0_4.py
479 TestBooleanFuse_MultiLevelCompound_v20190506_1.py
480 TestBooleanFuse_MultiLevelCompound_v20190506_2.py
481 TestBooleanFuse_MultiLevelCompound_v20190506_3.py
482 TestBooleanFuse_MultiLevelCompound_v20190506_4.py
483 TestBooleanSmash_MultiLevelCompound_v0_1.py
484 TestBooleanSmash_MultiLevelCompound_v0_2.py
485 TestBooleanSmash_MultiLevelCompound_v20190506_1.py
486 TestBooleanSmash_MultiLevelCompound_v20190506_2.py
487 TestBooleanSplit_MultiLevelCompound_v0_1.py
488 TestBooleanSplit_MultiLevelCompound_v0_2.py
489 TestBooleanSplit_MultiLevelCompound_v20190506_1.py
490 TestBooleanSplit_MultiLevelCompound_v20190506_2.py
491 TestPartition_MultiLevelCompound_v0_1.py
492 TestPartition_MultiLevelCompound_v0_2.py
493 TestPartition_MultiLevelCompound_v0_3.py
494 TestPartition_MultiLevelCompound_v20190506_1.py
495 TestPartition_MultiLevelCompound_v20190506_2.py
496 TestPartition_MultiLevelCompound_v20190506_3.py
497 TestUnion_MultiLevelCompound_v0.py
498 TestUnion_MultiLevelCompound_v20190506.py
499 TestUnionFaces_v20190506.py
500 TestRemoveResultsBody.py
501 TestRemoveResultsConstruction.py
502 TestRemoveResultsPart.py