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
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_Ellipse.h
53 SketchPlugin_EllipticArc.h
54 SketchPlugin_ExternalValidator.h
55 SketchPlugin_Feature.h
56 SketchPlugin_IntersectionPoint.h
58 SketchPlugin_MacroArc.h
59 SketchPlugin_MacroArcReentrantMessage.h
60 SketchPlugin_MacroBSpline.h
61 SketchPlugin_MacroCircle.h
62 SketchPlugin_MacroEllipse.h
63 SketchPlugin_MacroEllipticArc.h
64 SketchPlugin_MultiRotation.h
65 SketchPlugin_MultiTranslation.h
68 SketchPlugin_Projection.h
70 SketchPlugin_SketchDrawer.h
71 SketchPlugin_SketchEntity.h
75 SketchPlugin_Validators.h
80 SketchPlugin_BSpline.cpp
81 SketchPlugin_BSplineBase.cpp
82 SketchPlugin_BSplinePeriodic.cpp
83 SketchPlugin_Circle.cpp
84 SketchPlugin_Constraint.cpp
85 SketchPlugin_ConstraintAngle.cpp
86 SketchPlugin_ConstraintCoincidence.cpp
87 SketchPlugin_ConstraintCoincidenceInternal.cpp
88 SketchPlugin_ConstraintCollinear.cpp
89 SketchPlugin_ConstraintDistance.cpp
90 SketchPlugin_ConstraintDistanceAlongDir.cpp
91 SketchPlugin_ConstraintDistanceHorizontal.cpp
92 SketchPlugin_ConstraintDistanceVertical.cpp
93 SketchPlugin_ConstraintEqual.cpp
94 SketchPlugin_Fillet.cpp
95 SketchPlugin_ConstraintHorizontal.cpp
96 SketchPlugin_ConstraintLength.cpp
97 SketchPlugin_ConstraintMiddle.cpp
98 SketchPlugin_ConstraintMirror.cpp
99 SketchPlugin_ConstraintParallel.cpp
100 SketchPlugin_ConstraintPerpendicular.cpp
101 SketchPlugin_ConstraintRadius.cpp
102 SketchPlugin_ConstraintRigid.cpp
103 SketchPlugin_ConstraintTangent.cpp
104 SketchPlugin_ConstraintVertical.cpp
105 SketchPlugin_Ellipse.cpp
106 SketchPlugin_EllipticArc.cpp
107 SketchPlugin_ExternalValidator.cpp
108 SketchPlugin_Feature.cpp
109 SketchPlugin_IntersectionPoint.cpp
110 SketchPlugin_Line.cpp
111 SketchPlugin_MacroArc.cpp
112 SketchPlugin_MacroBSpline.cpp
113 SketchPlugin_MacroCircle.cpp
114 SketchPlugin_MacroEllipse.cpp
115 SketchPlugin_MacroEllipticArc.cpp
116 SketchPlugin_MultiRotation.cpp
117 SketchPlugin_MultiTranslation.cpp
118 SketchPlugin_Plugin.cpp
119 SketchPlugin_Point.cpp
120 SketchPlugin_Projection.cpp
121 SketchPlugin_Sketch.cpp
122 SketchPlugin_SketchDrawer.cpp
123 SketchPlugin_SketchEntity.cpp
124 SketchPlugin_Split.cpp
125 SketchPlugin_Tools.cpp
126 SketchPlugin_Trim.cpp
127 SketchPlugin_Validators.cpp
130 SET(PROJECT_LIBRARIES
143 plugin-SketchDrawer.xml
147 SketchPlugin_msg_en.ts
148 SketchPlugin_msg_fr.ts
151 # sources / moc wrappings
152 QT_WRAP_MOC(PROJECT_AUTOMOC ${PROJECT_MOC_HEADERS})
154 SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC})
155 SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
157 ADD_DEFINITIONS(-DSKETCHPLUGIN_EXPORTS)
158 ADD_LIBRARY(SketchPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES} ${TEXT_RESOURCES} ${PROJECT_AUTOMOC})
159 TARGET_LINK_LIBRARIES(SketchPlugin ${PROJECT_LIBRARIES})
171 ${OpenCASCADE_INCLUDE_DIR}
174 INSTALL(TARGETS SketchPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
175 INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
176 INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Sketch)
177 INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
226 TestBSplineAddPole.py
227 TestChangeSketchPlane1.py
228 TestChangeSketchPlane2.py
229 TestChangeSketchPlane3.py
230 TestChangeSketchPlane4.py
231 TestConstraintAngle.py
232 TestConstraintAngle_v0_1.py
233 TestConstraintAngle_v0_2.py
234 TestConstraintAngle_v20191210_1.py
235 TestConstraintAngle_v20191210_2.py
236 TestConstraintAngleBehaviorDirect.py
237 TestConstraintAngleBehaviorSupplementary_1.py
238 TestConstraintAngleBehaviorSupplementary_2.py
239 TestConstraintAngleBehaviorBackward_1.py
240 TestConstraintAngleBehaviorBackward_2.py
241 TestConstraintAngleEllipse.py
242 TestConstraintCoincidence.py
243 TestConstraintCoincidenceBSpline.py
244 TestConstraintCoincidenceEllipse.py
245 TestConstraintCoincidenceEllipticArc.py
246 TestConstraintCollinear.py
247 TestConstraintCollinearEllipse.py
248 TestConstraintDistance.py
249 TestConstraintDistanceEllipse.py
250 TestConstraintDistanceBehavior.py
251 TestConstraintDistanceHorizontal.py
252 TestConstraintDistanceVertical.py
253 TestConstraintDistanceZero.py
254 TestConstraintDistanceHorizontalZero.py
255 TestConstraintDistanceVerticalZero.py
256 TestConstraintEqual.py
257 TestConstraintEqualEllipse.py
258 TestConstraintFixed.py
259 TestConstraintHorizontal.py
260 TestConstraintHorizontalValidator.py
261 TestConstraintLength.py
262 TestConstraintMiddlePoint.py
263 TestConstraintMiddlePointOnArc.py
264 TestConstraintMiddlePointOnEllipticArc.py
265 TestConstraintParallel.py
266 TestConstraintPerpendicular.py
267 TestConstraintPerpendicularArcLine.py
268 TestConstraintPerpendicularEllipseLine.py
269 TestConstraintRadius.py
270 TestConstraintRadiusFailure.py
271 TestConstraintTangent.py
272 TestConstraintTangentBSpline.py
273 TestConstraintTangentEllipse.py
274 TestConstraintTangentEllipticArc.py
275 TestConstraintVertical.py
276 TestCreateArcByCenterStartEnd.py
277 TestCreateArcByTangentEdge.py
278 TestCreateArcByThreePoints.py
279 TestCreateArcByTransversalLine.py
280 TestCreateArcChangeType.py
282 TestCreateBSplinePeriodic.py
283 TestCreateCircleByCenterAndPassed.py
284 TestCreateCircleByThreePoints.py
285 TestCreateCircleChangeType.py
286 TestCreateEllipseByCenterSemiaxisAndPassed.py
287 TestCreateEllipseByMajorAxisAndPassed.py
288 TestCreateEllipseByExternal.py
289 TestCreateEllipticArc.py
290 TestCreateEllipticArcByExternal.py
291 TestCreateMacroBSpline.py
292 TestDegeneratedGeometry.py
294 TestDistanceSignedVsUnsigned01.py
295 TestDistanceSignedVsUnsigned02.py
296 TestDistanceSignedVsUnsigned03.py
297 TestDistanceSignedVsUnsigned04.py
298 TestDistanceSignedVsUnsigned05.py
301 TestFilletAfterFolder.py
302 TestFilletInteracting.py
304 TestIntersectionChangeEdge.py
305 TestIntersectionWithCircle.py
306 TestIntersectionWithLine.py
307 TestIntersectionWithSpline.py
310 TestMultiRotation01.py
311 TestMultiRotation02.py
312 TestMultiRotation03.py
313 TestMultiRotation04.py
314 TestMultiRotation05.py
315 TestMultiRotationWithParameter.py
316 TestMultiTranslation.py
319 TestProjectionBSpline.py
320 TestProjectionBSplinePeriodic.py
321 TestProjectionEllipse.py
322 TestProjectionEllipticArc.py
323 TestProjectionIntoResult.py
324 TestProjectionUpdate.py
328 TestRemoveBSplinePeriodic.py
330 TestRemoveEllipticArc.py
332 TestSignedDistancePointLine.py
333 TestSignedDistancePointPoint.py
335 TestSketchPointLine.py
354 TestTrimCircleAndArc01.py
363 if(${SKETCHER_CHANGE_RADIUS_WHEN_MOVE})
367 TestMoveBSplinePeriodic.py
370 TestMoveEllipticArc.py
372 TestMovementComplex.py