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
63 FeaturesPlugin_Chamfer.h
68 FeaturesPlugin_Plugin.cpp
69 FeaturesPlugin_Extrusion.cpp
70 FeaturesPlugin_Recover.cpp
71 FeaturesPlugin_Revolution.cpp
72 FeaturesPlugin_Rotation.cpp
73 FeaturesPlugin_Translation.cpp
74 FeaturesPlugin_VersionedBoolean.cpp
75 FeaturesPlugin_Boolean.cpp
76 FeaturesPlugin_BooleanCut.cpp
77 FeaturesPlugin_BooleanFuse.cpp
78 FeaturesPlugin_BooleanCommon.cpp
79 FeaturesPlugin_BooleanSmash.cpp
80 FeaturesPlugin_BooleanFill.cpp
81 FeaturesPlugin_Intersection.cpp
82 FeaturesPlugin_Partition.cpp
83 FeaturesPlugin_Pipe.cpp
84 FeaturesPlugin_Placement.cpp
85 FeaturesPlugin_CompositeBoolean.cpp
86 FeaturesPlugin_CompositeSketch.cpp
87 FeaturesPlugin_ExtrusionBoolean.cpp
88 FeaturesPlugin_ExtrusionCut.cpp
89 FeaturesPlugin_ExtrusionFuse.cpp
90 FeaturesPlugin_RevolutionBoolean.cpp
91 FeaturesPlugin_RevolutionCut.cpp
92 FeaturesPlugin_RevolutionFuse.cpp
93 FeaturesPlugin_Union.cpp
94 FeaturesPlugin_ValidatorTransform.cpp
95 FeaturesPlugin_Validators.cpp
96 FeaturesPlugin_RemoveSubShapes.cpp
97 FeaturesPlugin_Tools.cpp
98 FeaturesPlugin_Symmetry.cpp
99 FeaturesPlugin_Scale.cpp
100 FeaturesPlugin_MultiTranslation.cpp
101 FeaturesPlugin_MultiRotation.cpp
102 FeaturesPlugin_Fillet.cpp
103 FeaturesPlugin_Measurement.cpp
104 FeaturesPlugin_FusionFaces.cpp
105 FeaturesPlugin_RemoveResults.cpp
106 FeaturesPlugin_Chamfer.cpp
107 FeaturesPlugin_Copy.cpp
113 extrusioncut_widget.xml
114 extrusionfuse_widget.xml
115 revolution_widget.xml
116 revolutioncut_widget.xml
117 revolutionfuse_widget.xml
119 translation_widget.xml
121 boolean_fuse_widget.xml
122 boolean_common_widget.xml
123 boolean_split_widget.xml
124 boolean_smash_widget.xml
128 intersection_widget.xml
130 remove_subshapes_widget.xml
134 multitranslation_widget.xml
135 multirotation_widget.xml
137 measurement_widget.xml
138 fusion_faces_widget.xml
144 FeaturesPlugin_msg_en.ts
145 FeaturesPlugin_msg_fr.ts
146 FeaturesPlugin_msg_ru.ts
149 SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
159 ${OpenCASCADE_INCLUDE_DIR}
162 SET(PROJECT_LIBRARIES
169 ${OpenCASCADE_Visualization_LIBRARIES}
172 ADD_DEFINITIONS(-DFEATURESPLUGIN_EXPORTS)
173 ADD_LIBRARY(FeaturesPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES} ${TEXT_RESOURCES})
174 TARGET_LINK_LIBRARIES(FeaturesPlugin ${PROJECT_LIBRARIES})
176 INSTALL(TARGETS FeaturesPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
177 INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
178 INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Features)
179 INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
181 ADD_UNIT_TESTS(TestExtrusion.py
182 TestExtrusionOfCompound.py
184 TestExtrusionCut_BySize.py
185 TestExtrusionCut_ByPlanesAndOffsets.py
186 TestExtrusionCut_ByFaces.py
187 TestExtrusionCut_ThroughAll.py
189 TestExtrusionFuse_BySize.py
190 TestExtrusionFuse_ByPlanesAndOffsets.py
191 TestExtrusionFuse_ThroughAll.py
192 TestExtrusion_ErrorMsg.py
193 TestExtrusion_ZeroOffsetError.py
194 TestExtrusion_ByFaces01.py
195 TestExtrusion_ByFaces02.py
196 TestExtrusion_ByFaces03.py
197 TestExtrusion_ByFaces04.py
198 TestExtrusion_ByFaces05.py
199 TestExtrusion_ByFaces06.py
200 TestExtrusion_ByFaces07.py
201 TestExtrusion_ByFaces08.py
202 TestExtrusion_ByFaces09.py
203 TestExtrusion_ByFaces10.py
204 TestExtrusion_ByFaces11.py
205 TestExtrusion_ByFaces12.py
206 TestExtrusion_ByFaces13.py
207 TestExtrusion_ByFaces14.py
208 TestExtrusion_ByFaces15.py
209 TestExtrusion_ByFaces16.py
210 TestExtrusion_ByFaces17.py
211 TestExtrusion_ByFaces18.py
212 TestExtrusion_ByFaces19.py
214 TestRevolution_ByAngle.py
215 TestRevolutionOfPoint.py
216 TestRevolutionOfEdge.py
217 TestRevolutionOfCompound.py
219 TestRevolutionCut_ByAngle.py
220 TestRevolutionCut_ByPlanesAndOffsets.py
221 TestRevolutionCut_ThroughAll.py
222 TestRevolutionFuse.py
223 TestRevolutionFuse_ByAngle.py
224 TestRevolutionFuse_ByPlanesAndOffsets.py
225 TestRevolutionFuse_ThroughAll.py
226 TestCompositeFeaturesOnCompSolids.py
228 TestPartition_ErrorMsg.py
229 TestPlacement_Vertex_Vertex.py
230 TestPlacement_Edge_Vertex.py
231 TestPlacement_Edge_Edge.py
232 TestPlacement_Face_Vertex.py
233 TestPlacement_Face_Edge.py
234 TestPlacement_Face_Face.py
235 TestPlacement_Part_Part.py
236 TestPlacement_Complex.py
237 TestPlacement_ErrorMsg.py
238 TestPlacement_BodyShapesValidator.py
240 TestTranslation_Part.py
242 TestRotation_ByAxis.py
243 TestRotation_ByPoints.py
244 TestRotation_ErrorMsg.py
245 TestMultiRotation_Part.py
246 TestMultiRotation_ErrorMsg.py
247 TestMultiTranslation_Part.py
248 TestMultiTranslation_ErrorMsg.py
253 TestBooleanCompSolids.py
256 TestBooleanSplitWithPlane.py
257 TestBooleanSplit_ErrorMsg.py
260 TestBoolean_ErrorMsg.py
262 TestIntersection_ErrorMsg.py
265 TestUnion_ErrorMsg.py
266 TestRemoveSubShapes.py
267 TestRemoveSubShapes2.py
268 TestRemoveSubShapes3.py
269 TestRemoveSubShapes4.py
270 TestRemoveSubShapes5.py
271 TestRemoveSubShapes6.py
278 TestRecover_Compound.py
279 TestRecover_Compsolid1.py
280 TestRecover_Compsolid2.py
282 TestSplitEdgeVertex.py
284 TestSplitEdgeEdgeIntersected.py
287 TestSplitEdgeShell.py
288 TestSplitEdgeSolid.py
289 TestSplitEdgeSolidIntersected.py
290 TestSplitWireVertex.py
294 TestSplitWireShell.py
295 TestSplitWireSolid.py
296 TestSplitFaceVertex.py
298 TestSplitFaceEdgeInside.py
299 TestSplitFaceEdgePerpendicular.py
302 TestSplitFaceShell.py
303 TestSplitFaceSolid.py
304 TestSplitCompFaceSolid.py
305 TestSplitShellVertex.py
306 TestSplitShellEdge.py
307 TestSplitShellConstrPlane.py
308 TestSplitShellWire.py
309 TestSplitShellFace.py
310 TestSplitShellShell.py
311 TestSplitShellSolid.py
312 TestSplitSolid2ConstructionPlanes.py
313 TestSplitSolidEdge.py
314 TestSplitSolidFace.py
315 TestSplitSolidCompFace.py
316 TestSplitSolidShell.py
317 TestSplitSolidCompShell.py
318 TestSplitCompsolidPlane.py
319 TestPartition2Faces.py
320 TestPartition2Solids.py
321 TestPartition2Wires.py
322 TestPartitionBox4Planes.py
323 TestPartitionEdgeSolid.py
324 TestPartitionFace2Solid.py
325 TestPartitionFaceSolid.py
326 TestPartitionFaceWire.py
327 TestPartitionInclinedFaceSolid.py
328 TestPartitionWireFaceSolid.py
329 TestUnion4CurvedFaces.py
330 TestUnion4CurvedFaces_2.py
333 TestMeasurementLength.py
334 TestMeasurementDistance.py
335 TestMeasurementRadius.py
336 TestMeasurementAngle.py
337 TestMeasurementAngle3Points.py
338 TestMeasurementPresentation.py
340 TestFusionFaces2697.py
377 TestBooleanCut_CompSolid_CompSolid.py
378 TestBooleanCut_CompSolidCompound_CompSolidCompound.py
379 TestBooleanCut_Edge_Edge.py
380 TestBooleanCut_Edge_Face.py
381 TestBooleanCut_EdgeCompound_EdgeCompound.py
382 TestBooleanCut_EdgeCompound_Solid.py
383 TestBooleanCut_Face_Face.py
384 TestBooleanCut_Face_Solid.py
385 TestBooleanCut_FaceCompound_FaceCompound.py
386 TestBooleanCut_Shell_Shell.py
387 TestBooleanCut_ShellCompound_ShellCompound.py
388 TestBooleanCut_Solid_Solid.py
389 TestBooleanCut_SolidCompound_SolidCompound.py
390 TestBooleanCut_Vertex_Vertex.py
391 TestBooleanCut_VertexCompound_Solid.py
392 TestBooleanCut_VertexCompound_VertexCompound.py
393 TestBooleanCut_Wire_Face.py
394 TestBooleanCut_Wire_Wire.py
395 TestBooleanCut_WireCompound_WireCompound.py
396 TestBooleanCut_Compound_Solid.py
397 TestBooleanCut_ErrorMsg.py
398 TestBooleanCut_SolidsHistory.py
399 TestBooleanSmash_Face_Face.py
400 TestBooleanSmash_SubSolid_Solid.py
401 TestBooleanSmash_CompSolid_Solid.py
402 TestBooleanSmash_ErrorMsg.py
403 TestBooleanSmash_SolidsHistory.py
404 TestBooleanFuse_SimpleMode.py
405 TestBooleanFuse_RemoveEdges.py
406 TestBooleanFuse_ErrorMsg.py
407 TestBooleanCommon_Vertex_Vertex.py
408 TestBooleanCommon_VertexCompound_VertexCompound.py
409 TestBooleanCommon_Edge_Edge.py
410 TestBooleanCommon_EdgeCompound_EdgeCompound.py
411 TestBooleanCommon_Wire_Wire.py
412 TestBooleanCommon_WireCompound_WireCompound.py
413 TestBooleanCommon_Face_Face.py
414 TestBooleanCommon_Face_Plane.py
415 TestBooleanCommon_FaceCompound_FaceCompound.py
416 TestBooleanCommon_Shell_Shell.py
417 TestBooleanCommon_ShellCompound_ShellCompound.py
418 TestBooleanCommon_Solid_Face.py
419 TestBooleanCommon_Solid_Shell.py
420 TestBooleanCommon_Solid_Solid.py
421 TestBooleanCommon_SolidCompound_Face.py
422 TestBooleanCommon_SolidCompound_Shell.py
423 TestBooleanCommon_SolidCompound_SolidCompound.py
424 TestBooleanCommon_SubCompound_Solid.py
425 TestBooleanCommon_SubSolid_Solid.py
426 TestBooleanCommon_CompSolid_Face.py
427 TestBooleanCommon_CompSolid_Shell.py
428 TestBooleanCommon_CompSolid_CompSolid.py
429 TestBooleanCommon_CompSolidCompound_Face.py
430 TestBooleanCommon_CompSolidCompound_Shell.py
431 TestBooleanCommon_CompSolidCompound_CompSolidCompound.py
432 TestBooleanCommon_ErrorMsg.py
433 TestBooleanCommon_SolidsHistory.py
438 TestPartitionSubCompsolidWithCompSolid1.py
439 TestPartitionSubCompsolidWithCompSolid2.py
440 TestPartitionSubCompsolidWithCompSolid3.py
441 TestPartitionSubCompsolidWithSolid1.py
442 TestPartitionSubCompsolidWithSolid2.py
443 TestPartitionSubCompsolidWithSolid3.py
444 TestPartitionSubCompsolidWithSolid4.py
445 TestPartitionSubCompsolidWithSolid5.py
446 TestPartitionSubCompsolidWithFace1.py
447 TestPartitionSubCompsolidWithFace2.py
448 TestPartitionSubCompsolidWithFace3.py
449 TestPartitionSubCompsolidWithFace4.py
450 TestPartitionSubCompsolidWithFace5.py
451 TestPartitionSubCompsolidWithPlane1.py
452 TestPartitionSubCompsolidWithPlane2.py
453 TestPartitionSubCompsolidWithPlane3.py
454 TestPartitionSubCompsolidWithPlane4.py
455 TestPartitionSubCompsolidWithPlane5.py
456 TestPartitionArgsUpdate.py
457 TestPartition_SolidsHistory.py
458 TestBooleanFuse_Vertex_Vertex.py
459 TestBooleanFuse_VertexCompound_VertexCompound.py
460 TestBooleanFuse_Edge_Edge.py
461 TestBooleanFuse_EdgeCompound_EdgeCompound.py
462 TestBooleanFuse_Wire_Wire.py
463 TestBooleanFuse_WireCompound_WireCompound.py
464 TestBooleanFuse_Face_Face.py
465 TestBooleanFuse_FaceCompound_FaceCompound.py
466 TestBooleanFuse_Shell_Shell.py
467 TestBooleanFuse_ShellCompound_ShellCompound.py
468 TestBooleanFuse_Solid_Solid.py
469 TestBooleanFuse_SolidCompound_SolidCompound.py
470 TestBooleanFuse_CompSolid_Face.py
471 TestBooleanFuse_CompSolid_CompSolid.py
472 TestBooleanFuse_CompSolidCompound_CompSolidCompound.py
473 TestBooleanFuse_SolidsHistory.py
476 TestFillet_ErrorMsg.py
477 TestFillet_History.py
504 TestBooleanCommon_MultiLevelCompound_v0_1.py
505 TestBooleanCommon_MultiLevelCompound_v0_2.py
506 TestBooleanCommon_MultiLevelCompound_v20190506_1.py
507 TestBooleanCommon_MultiLevelCompound_v20190506_2.py
508 TestBooleanCut_MultiLevelCompound_v0_1.py
509 TestBooleanCut_MultiLevelCompound_v0_2.py
510 TestBooleanCut_MultiLevelCompound_v20190506_1.py
511 TestBooleanCut_MultiLevelCompound_v20190506_2.py
512 TestBooleanFuse_MultiLevelCompound_v0_1.py
513 TestBooleanFuse_MultiLevelCompound_v0_2.py
514 TestBooleanFuse_MultiLevelCompound_v0_3.py
515 TestBooleanFuse_MultiLevelCompound_v0_4.py
516 TestBooleanFuse_MultiLevelCompound_v20190506_1.py
517 TestBooleanFuse_MultiLevelCompound_v20190506_2.py
518 TestBooleanFuse_MultiLevelCompound_v20190506_3.py
519 TestBooleanFuse_MultiLevelCompound_v20190506_4.py
520 TestBooleanSmash_MultiLevelCompound_v0_1.py
521 TestBooleanSmash_MultiLevelCompound_v0_2.py
522 TestBooleanSmash_MultiLevelCompound_v20190506_1.py
523 TestBooleanSmash_MultiLevelCompound_v20190506_2.py
524 TestBooleanSplit_MultiLevelCompound_v0_1.py
525 TestBooleanSplit_MultiLevelCompound_v0_2.py
526 TestBooleanSplit_MultiLevelCompound_v20190506_1.py
527 TestBooleanSplit_MultiLevelCompound_v20190506_2.py
528 TestPartition_MultiLevelCompound_v0_1.py
529 TestPartition_MultiLevelCompound_v0_2.py
530 TestPartition_MultiLevelCompound_v0_3.py
531 TestPartition_MultiLevelCompound_v20190506_1.py
532 TestPartition_MultiLevelCompound_v20190506_2.py
533 TestPartition_MultiLevelCompound_v20190506_3.py
534 TestUnion_MultiLevelCompound_v0.py
535 TestUnion_MultiLevelCompound_v20190506.py
536 TestUnionFaces_v20190506.py
537 TestRemoveResultsBody.py
538 TestRemoveResultsConstruction.py
539 TestRemoveResultsPart.py
548 TestCopyFeatureMoveGroupOfFeature.py
549 TestCopyMoveResult.py
550 TestCopyMoveSubShapes.py
553 TestCopyWholeFeature.py