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