1 # Copyright (C) 2014-2020 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
26 SketchPlugin_BSpline.h
27 SketchPlugin_BSplineBase.h
28 SketchPlugin_BSplinePeriodic.h
30 SketchPlugin_Constraint.h
31 SketchPlugin_ConstraintAngle.h
32 SketchPlugin_ConstraintBase.h
33 SketchPlugin_ConstraintCoincidence.h
34 SketchPlugin_ConstraintCoincidenceInternal.h
35 SketchPlugin_ConstraintCollinear.h
36 SketchPlugin_ConstraintDistance.h
37 SketchPlugin_ConstraintDistanceAlongDir.h
38 SketchPlugin_ConstraintDistanceHorizontal.h
39 SketchPlugin_ConstraintDistanceVertical.h
40 SketchPlugin_ConstraintEqual.h
42 SketchPlugin_ConstraintHorizontal.h
43 SketchPlugin_ConstraintLength.h
44 SketchPlugin_ConstraintMiddle.h
45 SketchPlugin_ConstraintMirror.h
46 SketchPlugin_ConstraintParallel.h
47 SketchPlugin_ConstraintPerpendicular.h
48 SketchPlugin_ConstraintRadius.h
49 SketchPlugin_ConstraintRigid.h
50 SketchPlugin_ConstraintTangent.h
51 SketchPlugin_ConstraintVertical.h
52 SketchPlugin_CurveFitting.h
53 SketchPlugin_Ellipse.h
54 SketchPlugin_EllipticArc.h
55 SketchPlugin_ExternalValidator.h
56 SketchPlugin_Feature.h
57 SketchPlugin_IntersectionPoint.h
59 SketchPlugin_MacroArc.h
60 SketchPlugin_MacroArcReentrantMessage.h
61 SketchPlugin_MacroBSpline.h
62 SketchPlugin_MacroCircle.h
63 SketchPlugin_MacroEllipse.h
64 SketchPlugin_MacroEllipticArc.h
65 SketchPlugin_MultiRotation.h
66 SketchPlugin_MultiTranslation.h
70 SketchPlugin_Projection.h
72 SketchPlugin_SketchCopy.h
73 SketchPlugin_SketchDrawer.h
74 SketchPlugin_SketchEntity.h
78 SketchPlugin_Validators.h
83 SketchPlugin_BSpline.cpp
84 SketchPlugin_BSplineBase.cpp
85 SketchPlugin_BSplinePeriodic.cpp
86 SketchPlugin_Circle.cpp
87 SketchPlugin_Constraint.cpp
88 SketchPlugin_ConstraintAngle.cpp
89 SketchPlugin_ConstraintCoincidence.cpp
90 SketchPlugin_ConstraintCoincidenceInternal.cpp
91 SketchPlugin_ConstraintCollinear.cpp
92 SketchPlugin_ConstraintDistance.cpp
93 SketchPlugin_ConstraintDistanceAlongDir.cpp
94 SketchPlugin_ConstraintDistanceHorizontal.cpp
95 SketchPlugin_ConstraintDistanceVertical.cpp
96 SketchPlugin_ConstraintEqual.cpp
97 SketchPlugin_Fillet.cpp
98 SketchPlugin_ConstraintHorizontal.cpp
99 SketchPlugin_ConstraintLength.cpp
100 SketchPlugin_ConstraintMiddle.cpp
101 SketchPlugin_ConstraintMirror.cpp
102 SketchPlugin_ConstraintParallel.cpp
103 SketchPlugin_ConstraintPerpendicular.cpp
104 SketchPlugin_ConstraintRadius.cpp
105 SketchPlugin_ConstraintRigid.cpp
106 SketchPlugin_ConstraintTangent.cpp
107 SketchPlugin_ConstraintVertical.cpp
108 SketchPlugin_CurveFitting.cpp
109 SketchPlugin_Ellipse.cpp
110 SketchPlugin_EllipticArc.cpp
111 SketchPlugin_ExternalValidator.cpp
112 SketchPlugin_Feature.cpp
113 SketchPlugin_IntersectionPoint.cpp
114 SketchPlugin_Line.cpp
115 SketchPlugin_MacroArc.cpp
116 SketchPlugin_MacroBSpline.cpp
117 SketchPlugin_MacroCircle.cpp
118 SketchPlugin_MacroEllipse.cpp
119 SketchPlugin_MacroEllipticArc.cpp
120 SketchPlugin_MultiRotation.cpp
121 SketchPlugin_MultiTranslation.cpp
122 SketchPlugin_Offset.cpp
123 SketchPlugin_Plugin.cpp
124 SketchPlugin_Point.cpp
125 SketchPlugin_Projection.cpp
126 SketchPlugin_Sketch.cpp
127 SketchPlugin_SketchCopy.cpp
128 SketchPlugin_SketchDrawer.cpp
129 SketchPlugin_SketchEntity.cpp
130 SketchPlugin_Split.cpp
131 SketchPlugin_Tools.cpp
132 SketchPlugin_Trim.cpp
133 SketchPlugin_Validators.cpp
136 SET(PROJECT_LIBRARIES
150 plugin-SketchCopy.xml
151 plugin-SketchDrawer.xml
155 SketchPlugin_msg_en.ts
156 SketchPlugin_msg_fr.ts
159 SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC})
160 SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
161 SOURCE_GROUP ("XML Files" FILES ${XML_RESOURCES})
163 ADD_DEFINITIONS(-DSKETCHPLUGIN_EXPORTS)
164 ADD_LIBRARY(SketchPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES} ${TEXT_RESOURCES})
165 TARGET_LINK_LIBRARIES(SketchPlugin ${PROJECT_LIBRARIES})
178 ${OpenCASCADE_INCLUDE_DIR}
181 INSTALL(TARGETS SketchPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
182 INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
183 INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Sketch)
184 INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
241 TestBSplineAddPole.py
242 TestCenteredRectangle.py
243 TestChangeSketchPlane1.py
244 TestChangeSketchPlane2.py
245 TestChangeSketchPlane3.py
246 TestChangeSketchPlane4.py
247 TestConstraintAngle.py
248 TestConstraintAngle_v0_1.py
249 TestConstraintAngle_v0_2.py
250 TestConstraintAngle_v20191210_1.py
251 TestConstraintAngle_v20191210_2.py
252 TestConstraintAngleBehaviorDirect.py
253 TestConstraintAngleBehaviorSupplementary_1.py
254 TestConstraintAngleBehaviorSupplementary_2.py
255 TestConstraintAngleBehaviorBackward_1.py
256 TestConstraintAngleBehaviorBackward_2.py
257 TestConstraintAngleEllipse.py
258 TestConstraintCoincidence.py
259 TestConstraintCoincidenceBSpline.py
260 TestConstraintCoincidenceEllipse.py
261 TestConstraintCoincidenceEllipticArc.py
262 TestConstraintCollinear.py
263 TestConstraintCollinearEllipse.py
264 TestConstraintDistance.py
265 TestConstraintDistanceEllipse.py
266 TestConstraintDistanceBehavior.py
267 TestConstraintDistanceHorizontal.py
268 TestConstraintDistanceVertical.py
269 TestConstraintDistanceZero.py
270 TestConstraintDistanceHorizontalZero.py
271 TestConstraintDistanceVerticalZero.py
272 TestConstraintEqual.py
273 TestConstraintEqualEllipse.py
274 TestConstraintFixed.py
275 TestConstraintHorizontal.py
276 TestConstraintHorizontalValidator.py
277 TestConstraintLength.py
278 TestConstraintMiddlePoint.py
279 TestConstraintMiddlePointOnArc.py
280 TestConstraintMiddlePointOnEllipticArc.py
281 TestConstraintParallel.py
282 TestConstraintPerpendicular.py
283 TestConstraintPerpendicularArcLine.py
284 TestConstraintPerpendicularEllipseLine.py
285 TestConstraintRadius.py
286 TestConstraintRadiusFailure.py
287 TestConstraintTangent.py
288 TestConstraintTangentBSpline.py
289 TestConstraintTangentEllipse.py
290 TestConstraintTangentEllipticArc.py
291 TestConstraintVertical.py
292 TestCreateArcByCenterStartEnd.py
293 TestCreateArcByTangentEdge.py
294 TestCreateArcByThreePoints.py
295 TestCreateArcByTransversalLine.py
296 TestCreateArcChangeType.py
298 TestCreateBSplinePeriodic.py
299 TestCreateCircleByCenterAndPassed.py
300 TestCreateCircleByThreePoints.py
301 TestCreateCircleChangeType.py
302 TestCreateEllipseByCenterSemiaxisAndPassed.py
303 TestCreateEllipseByMajorAxisAndPassed.py
304 TestCreateEllipseByExternal.py
305 TestCreateEllipticArc.py
306 TestCreateEllipticArcByExternal.py
307 TestCreateMacroBSpline.py
312 TestDegeneratedGeometry.py
314 TestDistanceSignedVsUnsigned01.py
315 TestDistanceSignedVsUnsigned02.py
316 TestDistanceSignedVsUnsigned03.py
317 TestDistanceSignedVsUnsigned04.py
318 TestDistanceSignedVsUnsigned05.py
321 TestFilletAfterFolder.py
322 TestFilletInteracting.py
324 TestIntersectionChangeEdge.py
325 TestIntersectionWithCircle.py
326 TestIntersectionWithLine.py
327 TestIntersectionWithSpline.py
330 TestMultiRotation01.py
331 TestMultiRotation02.py
332 TestMultiRotation03.py
333 TestMultiRotation04.py
334 TestMultiRotation05.py
335 TestMultiRotationWithParameter.py
336 TestMultiTranslation.py
341 TestProjectionBSpline.py
342 TestProjectionBSplinePeriodic.py
343 TestProjectionBSplinePeriodicError.py
344 TestProjectionEllipse.py
345 TestProjectionEllipticArc.py
346 TestProjectionIntoResult.py
347 TestProjectionUpdate.py
348 TestProjectionWithoutReference.py
352 TestRemoveBSplinePeriodic.py
354 TestRemoveEllipticArc.py
356 TestSignedDistancePointLine.py
357 TestSignedDistancePointPoint.py
373 TestSketchPointLine.py
392 TestTrimCircleAndArc01.py
401 if(${SKETCHER_CHANGE_RADIUS_WHEN_MOVE})
405 TestMoveBSplinePeriodic.py
408 TestMoveEllipticArc.py
410 TestMovementComplex.py
415 ADD_RESTRICTED_TESTS(