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_BSplinePeriodic.h
29 SketchPlugin_Constraint.h
30 SketchPlugin_ConstraintAngle.h
31 SketchPlugin_ConstraintBase.h
32 SketchPlugin_ConstraintCoincidence.h
33 SketchPlugin_ConstraintCoincidenceInternal.h
34 SketchPlugin_ConstraintCollinear.h
35 SketchPlugin_ConstraintDistance.h
36 SketchPlugin_ConstraintDistanceAlongDir.h
37 SketchPlugin_ConstraintDistanceHorizontal.h
38 SketchPlugin_ConstraintDistanceVertical.h
39 SketchPlugin_ConstraintEqual.h
41 SketchPlugin_ConstraintHorizontal.h
42 SketchPlugin_ConstraintLength.h
43 SketchPlugin_ConstraintMiddle.h
44 SketchPlugin_ConstraintMirror.h
45 SketchPlugin_ConstraintParallel.h
46 SketchPlugin_ConstraintPerpendicular.h
47 SketchPlugin_ConstraintRadius.h
48 SketchPlugin_ConstraintRigid.h
49 SketchPlugin_ConstraintTangent.h
50 SketchPlugin_ConstraintVertical.h
51 SketchPlugin_Ellipse.h
52 SketchPlugin_EllipticArc.h
53 SketchPlugin_ExternalValidator.h
54 SketchPlugin_Feature.h
55 SketchPlugin_IntersectionPoint.h
57 SketchPlugin_MacroArc.h
58 SketchPlugin_MacroArcReentrantMessage.h
59 SketchPlugin_MacroBSpline.h
60 SketchPlugin_MacroCircle.h
61 SketchPlugin_MacroEllipse.h
62 SketchPlugin_MacroEllipticArc.h
63 SketchPlugin_MultiRotation.h
64 SketchPlugin_MultiTranslation.h
67 SketchPlugin_Projection.h
69 SketchPlugin_SketchDrawer.h
70 SketchPlugin_SketchEntity.h
74 SketchPlugin_Validators.h
79 SketchPlugin_BSpline.cpp
80 SketchPlugin_BSplinePeriodic.cpp
81 SketchPlugin_Circle.cpp
82 SketchPlugin_Constraint.cpp
83 SketchPlugin_ConstraintAngle.cpp
84 SketchPlugin_ConstraintCoincidence.cpp
85 SketchPlugin_ConstraintCoincidenceInternal.cpp
86 SketchPlugin_ConstraintCollinear.cpp
87 SketchPlugin_ConstraintDistance.cpp
88 SketchPlugin_ConstraintDistanceAlongDir.cpp
89 SketchPlugin_ConstraintDistanceHorizontal.cpp
90 SketchPlugin_ConstraintDistanceVertical.cpp
91 SketchPlugin_ConstraintEqual.cpp
92 SketchPlugin_Fillet.cpp
93 SketchPlugin_ConstraintHorizontal.cpp
94 SketchPlugin_ConstraintLength.cpp
95 SketchPlugin_ConstraintMiddle.cpp
96 SketchPlugin_ConstraintMirror.cpp
97 SketchPlugin_ConstraintParallel.cpp
98 SketchPlugin_ConstraintPerpendicular.cpp
99 SketchPlugin_ConstraintRadius.cpp
100 SketchPlugin_ConstraintRigid.cpp
101 SketchPlugin_ConstraintTangent.cpp
102 SketchPlugin_ConstraintVertical.cpp
103 SketchPlugin_Ellipse.cpp
104 SketchPlugin_EllipticArc.cpp
105 SketchPlugin_ExternalValidator.cpp
106 SketchPlugin_Feature.cpp
107 SketchPlugin_IntersectionPoint.cpp
108 SketchPlugin_Line.cpp
109 SketchPlugin_MacroArc.cpp
110 SketchPlugin_MacroBSpline.cpp
111 SketchPlugin_MacroCircle.cpp
112 SketchPlugin_MacroEllipse.cpp
113 SketchPlugin_MacroEllipticArc.cpp
114 SketchPlugin_MultiRotation.cpp
115 SketchPlugin_MultiTranslation.cpp
116 SketchPlugin_Plugin.cpp
117 SketchPlugin_Point.cpp
118 SketchPlugin_Projection.cpp
119 SketchPlugin_Sketch.cpp
120 SketchPlugin_SketchDrawer.cpp
121 SketchPlugin_SketchEntity.cpp
122 SketchPlugin_Split.cpp
123 SketchPlugin_Tools.cpp
124 SketchPlugin_Trim.cpp
125 SketchPlugin_Validators.cpp
128 SET(PROJECT_LIBRARIES
141 plugin-SketchDrawer.xml
145 SketchPlugin_msg_en.ts
146 SketchPlugin_msg_fr.ts
149 # sources / moc wrappings
150 QT_WRAP_MOC(PROJECT_AUTOMOC ${PROJECT_MOC_HEADERS})
152 SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC})
153 SOURCE_GROUP ("Resource Files" FILES ${TEXT_RESOURCES})
155 ADD_DEFINITIONS(-DSKETCHPLUGIN_EXPORTS)
156 ADD_LIBRARY(SketchPlugin MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${XML_RESOURCES} ${TEXT_RESOURCES} ${PROJECT_AUTOMOC})
157 TARGET_LINK_LIBRARIES(SketchPlugin ${PROJECT_LIBRARIES})
169 ${OpenCASCADE_INCLUDE_DIR}
172 INSTALL(TARGETS SketchPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
173 INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
174 INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Sketch)
175 INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
222 TestChangeSketchPlane1.py
223 TestChangeSketchPlane2.py
224 TestChangeSketchPlane3.py
225 TestChangeSketchPlane4.py
226 TestConstraintAngle.py
227 TestConstraintAngle_v0_1.py
228 TestConstraintAngle_v0_2.py
229 TestConstraintAngle_v20191210_1.py
230 TestConstraintAngle_v20191210_2.py
231 TestConstraintAngleBehaviorDirect.py
232 TestConstraintAngleBehaviorSupplementary_1.py
233 TestConstraintAngleBehaviorSupplementary_2.py
234 TestConstraintAngleBehaviorBackward_1.py
235 TestConstraintAngleBehaviorBackward_2.py
236 TestConstraintAngleEllipse.py
237 TestConstraintCoincidence.py
238 TestConstraintCoincidenceEllipse.py
239 TestConstraintCoincidenceEllipticArc.py
240 TestConstraintCollinear.py
241 TestConstraintCollinearEllipse.py
242 TestConstraintDistance.py
243 TestConstraintDistanceEllipse.py
244 TestConstraintDistanceBehavior.py
245 TestConstraintDistanceHorizontal.py
246 TestConstraintDistanceVertical.py
247 TestConstraintDistanceZero.py
248 TestConstraintDistanceHorizontalZero.py
249 TestConstraintDistanceVerticalZero.py
250 TestConstraintEqual.py
251 TestConstraintEqualEllipse.py
252 TestConstraintFixed.py
253 TestConstraintHorizontal.py
254 TestConstraintHorizontalValidator.py
255 TestConstraintLength.py
256 TestConstraintMiddlePoint.py
257 TestConstraintMiddlePointOnArc.py
258 TestConstraintMiddlePointOnEllipticArc.py
259 TestConstraintParallel.py
260 TestConstraintPerpendicular.py
261 TestConstraintPerpendicularArcLine.py
262 TestConstraintPerpendicularEllipseLine.py
263 TestConstraintRadius.py
264 TestConstraintRadiusFailure.py
265 TestConstraintTangent.py
266 TestConstraintTangentBSpline.py
267 TestConstraintTangentEllipse.py
268 TestConstraintTangentEllipticArc.py
269 TestConstraintVertical.py
270 TestCreateArcByCenterStartEnd.py
271 TestCreateArcByTangentEdge.py
272 TestCreateArcByThreePoints.py
273 TestCreateArcByTransversalLine.py
274 TestCreateArcChangeType.py
276 TestCreateCircleByCenterAndPassed.py
277 TestCreateCircleByThreePoints.py
278 TestCreateCircleChangeType.py
279 TestCreateEllipseByCenterSemiaxisAndPassed.py
280 TestCreateEllipseByMajorAxisAndPassed.py
281 TestCreateEllipseByExternal.py
282 TestCreateEllipticArc.py
283 TestCreateEllipticArcByExternal.py
284 TestDegeneratedGeometry.py
286 TestDistanceSignedVsUnsigned01.py
287 TestDistanceSignedVsUnsigned02.py
288 TestDistanceSignedVsUnsigned03.py
289 TestDistanceSignedVsUnsigned04.py
290 TestDistanceSignedVsUnsigned05.py
293 TestFilletAfterFolder.py
294 TestFilletInteracting.py
296 TestIntersectionChangeEdge.py
297 TestIntersectionWithCircle.py
298 TestIntersectionWithLine.py
299 TestIntersectionWithSpline.py
302 TestMultiRotation01.py
303 TestMultiRotation02.py
304 TestMultiRotation03.py
305 TestMultiRotation04.py
306 TestMultiRotation05.py
307 TestMultiRotationWithParameter.py
308 TestMultiTranslation.py
311 TestProjectionBSpline.py
312 TestProjectionEllipse.py
313 TestProjectionEllipticArc.py
314 TestProjectionIntoResult.py
315 TestProjectionUpdate.py
320 TestRemoveEllipticArc.py
322 TestSignedDistancePointLine.py
323 TestSignedDistancePointPoint.py
325 TestSketchPointLine.py
344 TestTrimCircleAndArc01.py
353 if(${SKETCHER_CHANGE_RADIUS_WHEN_MOVE})
359 TestMoveEllipticArc.py
361 TestMovementComplex.py