-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_co.py
384 lines (341 loc) · 24.6 KB
/
test_co.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
import random
import unittest
import FreeCAD as App
import FreeCADGui as Gui
import Part
import RegularPolygon
import Sketcher
from PySide2.QtWidgets import QApplication, QWidget
from co_lib.co_base.co_observer import register
from co_main import main_g
DOC = "Test"
SKETCH = "Sketch"
SKETCH2 = "Sketch2"
def add_geo(o: object, b: bool = False):
App.getDocument(DOC).getObject(SKETCH).addGeometry(o, b)
def add_geo2(o: object):
App.getDocument(DOC).getObject(SKETCH).addGeometry(o)
def set_dat(i: int, o: object):
App.getDocument(DOC).getObject(SKETCH).setDatum(i, o)
def add_con(o: object):
App.getDocument(DOC).getObject(SKETCH).addConstraint(o)
# todo test cases, test cases, test cases
class MyTest(unittest.TestCase):
def single_sketch(self):
App.newDocument(DOC)
Gui.activeDocument().activeView().viewDefaultOrientation()
Gui.ActiveDocument.ActiveView.setAxisCross(True)
Gui.activateWorkbench("SketcherWorkbench")
App.activeDocument().addObject('Sketcher::SketchObject', SKETCH)
App.activeDocument().Sketch.Placement = App.Placement(App.Vector(0.000000, 0.000000, 0.000000),
App.Rotation(0.000000, 0.000000, 0.000000, 1.000000))
App.activeDocument().Sketch.MapMode = "Deactivated"
Gui.activeDocument().setEdit(SKETCH)
self.ActiveSketch = App.getDocument(DOC).getObject(SKETCH)
def setUp(self) -> None:
print("setUp")
self.app = QApplication()
self.ex = QWidget()
Gui.showMainWindow()
def testNew(self):
self.single_sketch()
add_geo(Part.LineSegment(App.Vector(-6.458662, 8.742734, 0), App.Vector(4.249124, -2.602964, 0)), False)
add_geo(Part.LineSegment(App.Vector(10.000000, 10.000000, 0), App.Vector(5.297122, -3.000000, 0)), False)
add_geo(Part.LineSegment(App.Vector(4.476952, -3.650960, 0), App.Vector(1.788612, -11.000000, 0)), False)
# ! show the new stuff in the gui
App.getDocument(DOC).recompute()
self.ex = main_g(self.ActiveSketch, self.app)
self.app.exec_()
# Cfg().save()
def testDisplayProps(self):
self.single_sketch()
print('App.activeDocument()', App.activeDocument())
print('App.ActiveDocument', App.ActiveDocument)
print('App.activeDocument().__class__', App.activeDocument().__class__)
print('App.activeDocument().Name', App.activeDocument().Name)
print('App.activeDocument().ActiveObject', App.activeDocument().ActiveObject)
print('App.listDocuments()', App.listDocuments())
ad: App.Document = App.activeDocument()
s = App.activeDocument().ActiveObject
print(s.__class__.__name__)
print(type(s))
print(str(s))
print(str(s) == '<Sketcher::SketchObject>')
print(ad.RootObjects)
# print('App.activeDocument().Content', ad.Content)
# d: dict = App.ConfigDump()
# for key, value in d.items():
# print(key, ' = ', value)
# if App.activeDocument().ActiveObject == '<Sketcher::SketchObject>':
# print('xxxx')
def testConstraint(self):
self.single_sketch()
print("testConstraint")
add_geo(Part.LineSegment(App.Vector(2.452832, 4.486332, 0), App.Vector(3.533459, 1.000000, 0)), False)
add_geo(Part.LineSegment(App.Vector(2.582505, 5.307610, 0), App.Vector(7.466946, 6.000000, 0)), False)
add_con(Sketcher.Constraint('Coincident', 1, 1, 0, 1))
add_geo(Part.LineSegment(App.Vector(7.423720, 8.722394, 0), App.Vector(10.000000, 3.448930, 0)), False)
add_con(Sketcher.Constraint('PointOnObject', 1, 2, 2))
add_con(Sketcher.Constraint('Vertical', 0))
add_con(Sketcher.Constraint('Horizontal', 1))
add_geo(Part.LineSegment(App.Vector(9.498528, 9.000000, 0), App.Vector(12.740411, 2.281851, 0)), False)
add_con(Sketcher.Constraint('Parallel', 2, 3))
add_geo(Part.LineSegment(App.Vector(11.000000, 4.616008, 0), App.Vector(15.636494, 9.630122, 0)), False)
add_con(Sketcher.Constraint('Perpendicular', 3, 4))
add_geo(Part.Circle(App.Vector(4.484411, 3.362479, 0), App.Vector(0, 0, 1), 1.456771))
add_con(Sketcher.Constraint('Radius', 5, 1.456771))
set_dat(6, App.Units.Quantity('1.460000 mm'))
add_con(Sketcher.Constraint('Tangent', 5, 1))
add_geo(Part.LineSegment(App.Vector(15.000000, 5.394060, 0), App.Vector(21.000000, 3.000000, 0)), False)
add_con(Sketcher.Constraint('Equal', 4, 6))
add_geo(Part.LineSegment(App.Vector(16.630672, 2.281851, 0), App.Vector(19.000000, 6.690814, 0)), False)
add_con(Sketcher.Constraint('Symmetric', 6, 1, 6, 2, 7))
add_geo(Part.LineSegment(App.Vector(3.000000, 7.684991, 0), App.Vector(7.207594, 11.000000, 0)), False)
add_con(Sketcher.Constraint('Block', 8))
add_geo(Part.LineSegment(App.Vector(20.000000, 10.000000, 0), App.Vector(25.794397, 5.000000, 0)), False)
add_con(Sketcher.Constraint('DistanceX', 9, 1, 7, 2, -0.920818))
add_con(Sketcher.Constraint('DistanceY', 9, 1, 7, 2, -3.354052))
add_con(Sketcher.Constraint('DistanceX', 9, 1, 9, 2, 5.794397))
set_dat(13, App.Units.Quantity('5.790000 mm'))
add_con(Sketcher.Constraint('DistanceY', 9, 2, 9, 1, 5.000000))
set_dat(14, App.Units.Quantity('5.000000 mm'))
add_con(Sketcher.Constraint('Distance', 4, 6.330670))
set_dat(15, App.Units.Quantity('6.330000 mm'))
add_geo(Part.Circle(App.Vector(10.449479, 15.508739, 0), App.Vector(0, 0, 1), 1.760755))
add_con(Sketcher.Constraint('Diameter', 10, 3.521510))
set_dat(16, App.Units.Quantity('3.520000 mm'))
add_geo(Part.LineSegment(App.Vector(21.000000, 8.000000, 0), App.Vector(29.511757, 11.661702, 0)), False)
add_con(Sketcher.Constraint('Angle', 9, 1, 11, 1, 1.118574))
set_dat(17, App.Units.Quantity('64.090000 deg'))
add_geo(Part.LineSegment(App.Vector(35.260696, 12.655880, 0), App.Vector(44.554100, 13.000000, 0)), False)
add_geo(Part.LineSegment(App.Vector(38.000000, 15.508739, 0), App.Vector(42.652195, 10.000000, 0)), False)
add_geo(Part.LineSegment(App.Vector(36.000000, 14.773911, 0), App.Vector(41.000000, 10.000000, 0)), False)
add_con(Sketcher.Constraint('Coincident', 14, 2, 13, 2))
add_con(Sketcher.Constraint('PointOnObject', 14, 2, 12))
add_con(Sketcher.Constraint('SnellsLaw', 14, 2, 13, 2, 12, 0.150000000000))
# ! show the new stuff in the gui
App.getDocument(DOC).recompute()
register()
self.ex = main_g(self.ActiveSketch, self.app)
self.app.exec_()
# Cfg().save()
def testCoincident(self):
self.single_sketch()
add_geo(Part.LineSegment(App.Vector(-8.0, -5.0, 0.0), App.Vector(4.0, 7.0, 0.0)), False)
add_geo(Part.LineSegment(App.Vector(5.0, 7.0, 0.0), App.Vector(7.0, -8.0, 0.0)), False)
add_geo(Part.LineSegment(App.Vector(-8.0, -6.0, 0.0), App.Vector(7.0, -9.0, 0.0)), False)
add_geo(Part.LineSegment(App.Vector(4.0, 8.0, 0.0), App.Vector(20.0, 10.0, 0.0)), False)
add_geo2(Part.Point(App.Vector(16.0, -5.0, 0.0)))
# add_geo(Part.LineSegment(App.Vector(8.000000,8.000000,0),App.Vector(10.000000,10.000000,0)), False)
# add_geo(Part.Point(App.Vector(9.000000,9.000000,0)), False)
# add_con(Sketcher.Constraint('PointOnObject',2,1,1))
# ! show the new stuff in the gui
# self.ActiveSketch.Document.recompute()
App.getDocument(DOC).recompute()
register()
self.ex = main_g(self.ActiveSketch, self.app)
self.app.exec_()
# Cfg().save()
def testCircle(self):
self.single_sketch()
add_geo(Part.Circle(App.Vector(4.5, 3.5, 0), App.Vector(0, 0, 1), 2))
add_geo(Part.LineSegment(App.Vector(5.0, 7.0, 0.0), App.Vector(7.0, 8.0, 0.0)), False)
add_geo(Part.ArcOfCircle(Part.Circle(App.Vector(6.000000, 5.000000, 0), App.Vector(0, 0, 1), 2.000000),
-1.570796, 0.000000), False)
add_geo(Part.ArcOfCircle(Part.Circle(App.Vector(4.500000, 6.001692, 0), App.Vector(0, 0, 1), 1.500001),
6.282057, 3.142721), False)
App.getDocument(DOC).recompute()
register()
self.ex = main_g(self.ActiveSketch, self.app)
self.app.exec_()
# Cfg().save()
def testParallel(self):
self.single_sketch()
a = [
((5.30871, 5.55288, 0), (1.72666, 1.35812, 0)),
((3.2369, 6.74799, 0), (1.12643, 1.65162, 0)),
((0.897188, 7.24438, 0), (0.464873, 1.74528, 0)),
((-1.48141, 6.99347, 0), (-0.193244, 1.62991, 0)),
((-3.66604, 6.01981, 0), (-0.783502, 1.31683, 0)),
((-5.44288, 4.41871, 0), (-1.24812, 0.836665, 0)),
((-6.63799, 2.3469, 0), (-1.54162, 0.236428, 0)),
((-7.13438, 0.00718786, 0), (-1.63528, -0.425127, 0)),
((-6.88347, -2.37141, 0), (-1.51991, -1.08324, 0)),
((-5.90981, -4.55604, 0), (-1.20683, -1.6735, 0)),
((-4.30871, -6.33288, 0), (-0.726665, -2.13812, 0)),
((-2.2369, -7.52799, 0), (-0.126428, -2.43162, 0)),
((0.102812, -8.02438, 0), (0.535127, -2.52528, 0)),
((2.48141, -7.77347, 0), (1.19324, -2.40991, 0)),
((4.66604, -6.79981, 0), (1.7835, -2.09683, 0)),
((6.44288, -5.19871, 0), (2.24812, -1.61666, 0)),
((7.63799, -3.1269, 0), (2.54162, -1.01643, 0)),
((8.13438, -0.787188, 0), (2.63528, -0.354873, 0)),
((7.88347, 1.59141, 0), (2.51991, 0.303244, 0)),
((6.90981, 3.77604, 0), (2.20683, 0.893502, 0))
]
for x in a:
add_geo(Part.LineSegment(App.Vector(x[0]), App.Vector(x[1])), False)
App.getDocument(DOC).recompute()
register()
self.ex = main_g(self.ActiveSketch, self.app)
self.app.exec_()
# Cfg().save()
def testRandom(self):
self.single_sketch()
for x in range(100):
x = App.Vector(random.uniform(-20, 20), random.uniform(-20, 20), 0)
y = App.Vector(random.uniform(-20, 20), random.uniform(-20, 20), 0)
add_geo(Part.LineSegment(x, y), False)
App.getDocument(DOC).recompute()
register()
self.ex = main_g(self.ActiveSketch, self.app)
self.app.exec_()
# Cfg().save()
def testComplex(self):
App.newDocument(DOC)
App.activeDocument().addObject('Sketcher::SketchObject', SKETCH)
App.activeDocument().Sketch.Placement = App.Placement(App.Vector(0.000000, 0.000000, 0.000000),
App.Rotation(0.000000, 0.000000, 0.000000, 1.000000))
App.activeDocument().Sketch.MapMode = "Deactivated"
geoList = []
geoList.append(Part.LineSegment(App.Vector(3.000000, 2.000000, 0), App.Vector(8.000000, 2.000000, 0)))
geoList.append(Part.LineSegment(App.Vector(8.000000, 2.000000, 0), App.Vector(8.000000, 6.000000, 0)))
geoList.append(Part.LineSegment(App.Vector(8.000000, 6.000000, 0), App.Vector(3.000000, 6.000000, 0)))
geoList.append(Part.LineSegment(App.Vector(3.000000, 6.000000, 0), App.Vector(3.000000, 2.000000, 0)))
App.getDocument(DOC).getObject(SKETCH).addGeometry(geoList, False)
conList = []
conList.append(Sketcher.Constraint('Coincident', 0, 2, 1, 1))
conList.append(Sketcher.Constraint('Coincident', 1, 2, 2, 1))
conList.append(Sketcher.Constraint('Coincident', 2, 2, 3, 1))
conList.append(Sketcher.Constraint('Coincident', 3, 2, 0, 1))
conList.append(Sketcher.Constraint('Horizontal', 0))
conList.append(Sketcher.Constraint('Horizontal', 2))
conList.append(Sketcher.Constraint('Vertical', 1))
conList.append(Sketcher.Constraint('Vertical', 3))
App.getDocument(DOC).getObject('Sketch').addConstraint(conList)
add_geo(Part.Circle(App.Vector(4.5, 3.5, 0), App.Vector(0, 0, 1), 2))
add_geo(Part.LineSegment(App.Vector(5.0, 7.0, 0.0), App.Vector(7.0, 8.0, 0.0)), False)
add_geo(Part.ArcOfCircle(Part.Circle(App.Vector(6.000000, 5.000000, 0), App.Vector(0, 0, 1), 2.000000),
-1.570796, 0.000000), False)
add_geo(Part.ArcOfCircle(Part.Circle(App.Vector(4.500000, 6.001692, 0), App.Vector(0, 0, 1), 1.500001),
6.282057, 3.142721), False)
App.getDocument(DOC).recompute()
App.activeDocument().addObject('Sketcher::SketchObject', SKETCH2)
App.activeDocument().Sketch2.MapMode = "ObjectXY"
App.activeDocument().Sketch2.Support = [(App.getDocument(DOC).getObject(SKETCH), '')]
App.activeDocument().recompute()
RegularPolygon.makeRegularPolygon(App.getDocument(DOC).getObject(SKETCH2), 6,
App.Vector(11.000000, 4.476574, 0),
App.Vector(11.744776, 2.000000, 0), False)
App.ActiveDocument.recompute()
App.getDocument(DOC).getObject(SKETCH2).addExternal(SKETCH, "Edge2")
App.ActiveDocument.recompute()
App.getDocument(DOC).getObject(SKETCH2).addConstraint(Sketcher.Constraint('PointOnObject', 3, 2, -3))
Gui.activeDocument().activeView().viewDefaultOrientation()
Gui.ActiveDocument.ActiveView.setAxisCross(True)
Gui.activateWorkbench("SketcherWorkbench")
Gui.activeDocument().setEdit(SKETCH2)
self.ActiveSketch = App.getDocument(DOC).getObject(SKETCH2)
# App.getDocument(DOC).recompute()
register()
self.ex = main_g(self.ActiveSketch, self.app)
self.app.exec_()
# Cfg().save()
def testExp(self):
self.single_sketch()
App.getDocument(DOC).getObject(SKETCH).addGeometry(
Part.LineSegment(App.Vector(3.000000, 11.000000, 0), App.Vector(3.000000, 3.000000, 0)), False)
App.getDocument(DOC).getObject(SKETCH).addConstraint(Sketcher.Constraint('Vertical', 0))
App.getDocument(DOC).getObject(SKETCH).addGeometry(
Part.LineSegment(App.Vector(4.000000, 2.000000, 0), App.Vector(12.000000, 2.000000, 0)), False)
App.getDocument(DOC).getObject(SKETCH).addConstraint(Sketcher.Constraint('Horizontal', 1))
App.getDocument(DOC).getObject(SKETCH).addGeometry(
Part.LineSegment(App.Vector(5.000000, 4.000000, 0), App.Vector(12.000000, 9.000000, 0)), False)
App.getDocument(DOC).getObject(SKETCH).addConstraint(
Sketcher.Constraint('DistanceY', 0, 2, 0, 1, 8.000000))
App.getDocument(DOC).getObject(SKETCH).setDatum(2, App.Units.Quantity('8.000000 mm'))
App.getDocument(DOC).getObject(SKETCH).renameConstraint(2, u'test1')
App.getDocument(DOC).getObject(SKETCH).addConstraint(
Sketcher.Constraint('DistanceX', 1, 1, 1, 2, 8.000000))
App.getDocument(DOC).getObject(SKETCH).setDatum(3, App.Units.Quantity('8.000000 mm'))
App.getDocument(DOC).getObject(SKETCH).renameConstraint(3, u'test2')
App.getDocument(DOC).getObject(SKETCH).addConstraint(
Sketcher.Constraint('DistanceX', 2, 1, 2, 2, 7.000000))
App.getDocument(DOC).getObject(SKETCH).setDatum(4, App.Units.Quantity('7.000000 mm'))
App.getDocument(DOC).getObject(SKETCH).renameConstraint(4, u'test3')
App.getDocument(DOC).getObject(SKETCH).addConstraint(
Sketcher.Constraint('DistanceY', 2, 1, 2, 2, 5.000000))
App.getDocument(DOC).getObject(SKETCH).setDatum(5, App.Units.Quantity('5.000000 mm'))
App.getDocument(DOC).getObject(SKETCH).renameConstraint(5, u'test4')
App.ActiveDocument.recompute()
App.getDocument(DOC).recompute()
register()
self.ex = main_g(self.ActiveSketch, self.app)
self.app.exec_()
def tearDown(self) -> None:
print("tearDown")
# unregister() # Uninstall the resident function
# App.closeDocument(DOC)
# self.app.exit(0)
# App.activeDocument() <Document object at 000001D763812470>
# App.ActiveDocument <Document object at 000001D763812470>
# App.activeDocument() <class 'App.Document'>
# App.activeDocument().Name Test
# App.activeDocument().ActiveObject <Sketcher::SketchObject>
# App.listDocuments() {'Test': <Document object at 000001D763812470>}
# AppDataSkipVendor = true
# AppHomePath = C:/Program Files/FreeCAD 0.19/
# AppIcon = freecad
# AppTempPath = C:\ Users\red\AppData\Local\Temp\
# BinPath = C:/Program Files/FreeCAD 0.19/bin\
# BuildRepositoryURL = git://github.com/FreeCAD/FreeCAD.git releases/FreeCAD-0-19
# BuildRevision = 24291 (Git)
# BuildRevisionBranch = releases/FreeCAD-0-19
# BuildRevisionDate = 2021/04/15 09:17:08
# BuildRevisionHash = 7b5e18a0759de778b74d3a5c17eba9cb815035ac
# BuildVersionMajor = 0
# BuildVersionMinor = 19
# CopyrightInfo = © Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2020
#
# CreditsInfo = FreeCAD wouldn't be possible without FreeCAD community.
#
# Debug = 0
# DocPath = C:/Program Files/FreeCAD 0.19/doc\
# ExeName = FreeCAD
# ExeVendor = FreeCAD
# ExeVersion = 0.19
# LicenseInfo = FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
#
# LoggingConsole =
# LoggingFile =
# PATH = C:\ Users\red\PycharmProjects\FreeCad\venv\Scripts;C:\Program Files (x86)\Razer Chroma SDK\bin;C:\Program Files\Razer Chroma SDK\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Dev\openjdk-16\bin;C:\PROGRAM FILES\DELL\DW WLAN CARD;C:\WINDOWS\SYSTEM32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\WBEM;C:\WINDOWS\SYSTEM32\WINDOWSPOWERSHELL\V1.0\;C:\PROGRAM FILES (X86)\NVIDIA CORPORATION\PHYSX\COMMON;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Dev\apache-maven-3.3.9\bin;C:\Dev\Go\bin;C:\Program Files\nodejs\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\WINDOWS\system32;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\red\AppData\Local\atom\bin;C:\Users\red\AppData\Roaming\npm;C:\Program Files\Docker Toolbox;C:\Users\red\AppData\Local\Microsoft\WindowsApps;C:\Users\red\AppData\Local\Microsoft\WindowsApps;C:\Users\red\AppData\Local\Microsoft\WindowsApps;C:\Program Files\dotnet\;C:\Program Files\PuTTY\;C:\Program Files\Git\cmd;C:\Program Files\FreeCAD 0.19\bin;C:\Program Files\FreeCAD 0.19\lib;C:\Users\red\AppData\Local\Programs\Python\Python39\Scripts\;C:\Users\red\AppData\Local\Programs\Python\Python39\;C:\Users\red\AppData\Local\atom\bin;C:\Users\red\AppData\Roaming\npm;C:\Program Files\Docker Toolbox;C:\Users\red\AppData\Local\Microsoft\WindowsApps;C:\Users\red\AppData\Local\GitHubDesktop\bin;C:\Program Files\JetBrains\PyCharm Community Edition 2021.1.3\bin;
# PYTHONPATH = C:\ Users\red\Documents\GitHub\freecad-stubs\freecad_stubs_gen;C:\Users\red\PycharmProjects\FreeCad;C:\Users\red\Documents\FreeCAD\Macros\coed;C:\Users\red\AppData\Roaming\FreeCAD\Mod\MyScripts;C:\Program Files\JetBrains\PyCharm Community Edition 2021.1.3\plugins\python-ce\helpers\pycharm
# PythonSearchPath = C:\ Users\red\Documents\GitHub\freecad-stubs\freecad_stubs_gen;C:\Users\red\PycharmProjects\FreeCad;C:\Users\red\Documents\FreeCAD\Macros\coed;C:\Users\red\AppData\Roaming\FreeCAD\Mod\MyScripts;C:\Program Files\JetBrains\PyCharm Community Edition 2021.1.3\plugins\python-ce\helpers\pycharm;C:\Program Files\FreeCAD 0.19\bin\python38.zip;C:\Program Files\FreeCAD 0.19\bin\DLLs;C:\Program Files\FreeCAD 0.19\bin\lib;C:\Program Files\FreeCAD 0.19\bin
# RunMode =
# SplashScreen = freecadsplash
# SystemParameter = C:\ Users\red\AppData\Roaming\FreeCAD\system.cfg
# UserAppData = C:\ Users\red\AppData\Roaming\FreeCAD\
# UserHomePath = C:\ Users\red\Documents
# UserParameter = C:\ Users\red\AppData\Roaming\FreeCAD\user.cfg
# Verbose =
# <Constrain Name="" Type="1" Value="0" First="1" FirstPos="1" Second="0" SecondPos="1" Third="-2000" ThirdPos="0" LabelDistance="10" LabelPosition="0" IsDriving="1" IsInVirtualSpace="0" IsActive="1" />
# <Constrain Name="" Type="13" Value="0" First="1" FirstPos="2" Second="2" SecondPos="0" Third="-2000" ThirdPos="0" LabelDistance="10" LabelPosition="0" IsDriving="1" IsInVirtualSpace="0" IsActive="1" />
# <Constrain Name="" Type="3" Value="0" First="0" FirstPos="0" Second="-2000" SecondPos="0" Third="-2000" ThirdPos="0" LabelDistance="10" LabelPosition="0" IsDriving="1" IsInVirtualSpace="0" IsActive="1" />
# <Constrain Name="" Type="2" Value="0" First="1" FirstPos="0" Second="-2000" SecondPos="0" Third="-2000" ThirdPos="0" LabelDistance="10" LabelPosition="0" IsDriving="1" IsInVirtualSpace="0" IsActive="1" />
# <Constrain Name="" Type="4" Value="0" First="2" FirstPos="0" Second="3" SecondPos="0" Third="-2000" ThirdPos="0" LabelDistance="10" LabelPosition="0" IsDriving="1" IsInVirtualSpace="0" IsActive="1" />
# <Constrain Name="" Type="10" Value="0" First="3" FirstPos="0" Second="4" SecondPos="0" Third="-2000" ThirdPos="0" LabelDistance="10" LabelPosition="0" IsDriving="1" IsInVirtualSpace="0" IsActive="1" />
# <Constrain Name="" Type="11" Value="1.46" First="5" FirstPos="0" Second="-2000" SecondPos="0" Third="-2000" ThirdPos="0" LabelDistance="2.01429" LabelPosition="10" IsDriving="1" IsInVirtualSpace="0" IsActive="1" />
# <Constrain Name="" Type="5" Value="0" First="5" FirstPos="0" Second="1" SecondPos="0" Third="-2000" ThirdPos="0" LabelDistance="10" LabelPosition="0" IsDriving="1" IsInVirtualSpace="0" IsActive="1" />
# <Constrain Name="" Type="12" Value="0" First="4" FirstPos="0" Second="6" SecondPos="0" Third="-2000" ThirdPos="0" LabelDistance="10" LabelPosition="0" IsDriving="1" IsInVirtualSpace="0" IsActive="1" />
# <Constrain Name="" Type="14" Value="0" First="6" FirstPos="1" Second="6" SecondPos="2" Third="7" ThirdPos="0" LabelDistance="10" LabelPosition="0" IsDriving="1" IsInVirtualSpace="0" IsActive="1" />
# <Constrain Name="" Type="17" Value="0" First="8" FirstPos="0" Second="-2000" SecondPos="0" Third="-2000" ThirdPos="0" LabelDistance="10" LabelPosition="0" IsDriving="1" IsInVirtualSpace="0" IsActive="1" />
# <Constrain Name="" Type="7" Value="-0.920818" First="9" FirstPos="1" Second="7" SecondPos="2" Third="-2000" ThirdPos="0" LabelDistance="10" LabelPosition="0" IsDriving="1" IsInVirtualSpace="0" IsActive="1" />
# <Constrain Name="" Type="8" Value="-3.35405" First="9" FirstPos="1" Second="7" SecondPos="2" Third="-2000" ThirdPos="0" LabelDistance="10" LabelPosition="0" IsDriving="1" IsInVirtualSpace="0" IsActive="1" />
# <Constrain Name="" Type="7" Value="5.79" First="9" FirstPos="1" Second="9" SecondPos="2" Third="-2000" ThirdPos="0" LabelDistance="2.01429" LabelPosition="0" IsDriving="1" IsInVirtualSpace="0" IsActive="1" />
# <Constrain Name="" Type="8" Value="5" First="9" FirstPos="2" Second="9" SecondPos="1" Third="-2000" ThirdPos="0" LabelDistance="2.01429" LabelPosition="0" IsDriving="1" IsInVirtualSpace="0" IsActive="1" />
# <Constrain Name="" Type="6" Value="6.33" First="4" FirstPos="0" Second="-2000" SecondPos="0" Third="-2000" ThirdPos="0" LabelDistance="2.01429" LabelPosition="0" IsDriving="1" IsInVirtualSpace="0" IsActive="1" />
# <Constrain Name="" Type="18" Value="3.52" First="10" FirstPos="0" Second="-2000" SecondPos="0" Third="-2000" ThirdPos="0" LabelDistance="2.01429" LabelPosition="10" IsDriving="1" IsInVirtualSpace="0" IsActive="1" />
# <Constrain Name="" Type="9" Value="1.11858" First="9" FirstPos="1" Second="11" SecondPos="1" Third="-2000" ThirdPos="0" LabelDistance="2.01429" LabelPosition="0" IsDriving="1" IsInVirtualSpace="0" IsActive="1" />
# <Constrain Name="" Type="1" Value="0" First="14" FirstPos="2" Second="13" SecondPos="2" Third="-2000" ThirdPos="0" LabelDistance="10" LabelPosition="0" IsDriving="1" IsInVirtualSpace="0" IsActive="1" />
# <Constrain Name="" Type="13" Value="0" First="14" FirstPos="2" Second="12" SecondPos="0" Third="-2000" ThirdPos="0" LabelDistance="10" LabelPosition="0" IsDriving="1" IsInVirtualSpace="0" IsActive="1" />
# <Constrain Name="" Type="16" Value="0.15" First="14" FirstPos="2" Second="13" SecondPos="2" Third="12" ThirdPos="0" LabelDistance="10" LabelPosition="0" IsDriving="1" IsInVirtualSpace="0" IsActive="1" />