-
Notifications
You must be signed in to change notification settings - Fork 17
/
InitGui.py
938 lines (759 loc) · 26.6 KB
/
InitGui.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
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
#***************************************************************************
#* *
#* Copyright (c) 2016 *
#* <[email protected]> *
#* *
#* This program is free software; you can redistribute it and/or modify*
#* it under the terms of the GNU Lesser General Public License (LGPL) *
#* as published by the Free Software Foundation; either version 2 of *
#* the License, or (at your option) any later version. *
#* for detail see the LICENCE text file. *
#* *
#* This program is distributed in the hope that it will be useful, *
#* but WITHOUT ANY WARRANTY; without even the implied warranty of *
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
#* GNU Library General Public License for more details. *
#* *
#* You should have received a copy of the GNU Library General Public *
#* License along with this program; if not, write to the Free Software*
#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307*
#* USA *
#* *
#************************************************************************
__title__="FreeCAD Geodata Toolkit"
__author__ = "Thomas Gundermann"
__url__ = "http://www.freecadbuch.de"
__vers__ ="py3.01"
import sys
if sys.version_info[0] !=2:
from importlib import reload
import FreeCAD, FreeCADGui
windowCreated = 0
# http://www.bkg.bund.de/nn_159902/EN/FederalOffice/Products/Geo-Data/Geo__Data__node.html__nnn=true
#import sys
#for p in sys.path:
# print(p)
'''
try:
import importlib
def reload(a):
importlib.reload(a)
except:
pass
>>>>>>> Stashed changes
def reload(a):
import importlib
importlib.reload(a)
'''
try:
import cv2
except:
FreeCAD.Console.PrintWarning("Geodat WB: Cannot import module named cv2\n")
try:
import gdal
import gdalconst
except:
FreeCAD.Console.PrintWarning("Geodat WB: Cannot import module named gdal gdalconst\n")
import FreeCAD,FreeCADGui
import sys
reload(sys)
#---------------------------------------------------------------------------
# define the Commands of the Test Application module
#---------------------------------------------------------------------------
class MyTestCmd2:
"""Opens a Qt dialog with all inserted unit tests"""
def Activated(self):
import QtUnitGui
QtUnitGui.addTest("geodat.TestFirst") # the running dev tests
QtUnitGui.addTest("geodat.TestFiles") # the running dev tests
QtUnitGui.addTest("geodat.TestGeodatGui")
QtUnitGui.addTest("geodat.TestGeodat")
# QtUnitGui.addTest("nurbswb.TestMeinAll.Col1")
# QtUnitGui.addTest("nurbswb.TestMeinAll.Col2")
# QtUnitGui.addTest("TestMeinAll.Col2")
def GetResources(self):
return {'MenuText': 'Test', 'ToolTip': 'Runs the self-test for the workbench'}
FreeCADGui.addCommand('My_Test Geodat' ,MyTestCmd2())
class import_csv:
def Activated(self):
import geodat.import_csv
geodat.import_csv.mydialog()
def GetResources(self):
return {
'Pixmap' : 'Std_Tool3',
'MenuText': 'Import CSV ',
'ToolTip': 'Import CSV'
}
class import_emir:
def Activated(self):
import geodat.import_emir
from importlib import reload
reload(geodat.import_emir)
geodat.import_emir.mydialog()
def GetResources(self):
return {
'Pixmap' : 'Std_Tool3',
'MenuText': 'Import EMIR ',
'ToolTip': 'Import EMIR'
}
class import_xyz:
def Activated(self):
import geodat.import_xyz
from importlib import reload
reload(geodat.import_xyz)
geodat.import_xyz.mydialog(False)
def GetResources(self):
return {
'Pixmap' : 'Std_Tool3',
'MenuText': 'Import XYZ ',
'ToolTip': 'Import XYZ'
}
class import_image:
def Activated(self):
import geodat.import_image
from importlib import reload
reload(geodat.import_image)
geodat.import_image.mydialog(False)
def GetResources(self):
return {
'Pixmap' : 'Std_Tool3',
'MenuText': 'Import Image ',
'ToolTip': 'Import Image'
}
class import_gpx:
def Activated(self):
import geodat.import_gpx
geodat.import_gpx.mydialog()
def GetResources(self):
return {
'Pixmap' : 'Std_Tool3',
'MenuText': 'Import GPX ',
'ToolTip': 'Import GPX'
}
class import_latlony:
def Activated(self):
import geodat.import_latlony
from importlib import reload
reload(geodat.import_latlony)
geodat.import_latlony.mydialog()
#geodat.import_latlony.run()
def GetResources(self):
return {
'Pixmap' : 'Std_Tool3',
'MenuText': 'Import Lat Lon Height ',
'ToolTip': 'Import LatLonH'
}
class import_aster:
def Activated(self):
import geodat.import_aster
from importlib import reload
reload(geodat.import_aster)
geodat.import_aster.mydialog()
def GetResources(self):
return {
'Pixmap' : 'Std_Tool3',
'MenuText': 'Import ASTER ',
'ToolTip': 'Import ASTER'
}
class import_lidar:
def Activated(self):
import geodat.import_lidar
from importlib import reload
reload(geodat.import_lidar)
geodat.import_lidar.mydialog()
def GetResources(self):
return {
# 'Pixmap' : 'Std_Tool3',
'MenuText': 'Import LIDAR ',
'ToolTip': 'Import LIDAR'
}
class navigator:
def Activated(self):
import geodat.navigator
FreeCADGui.activeDocument().activeView().setCameraType("Perspective")
FreeCADGui.updateGui()
geodat.navigator.navi()
def GetResources(self):
return {
'Pixmap' : 'Std_Tool2',
'MenuText': 'Navigator',
'ToolTip': 'Navigator'
}
class mydialog:
def Activated(self):
import geodat.import_osm
from importlib import reload
reload(geodat.import_osm)
geodat.import_osm.mydialog()
# logger version for paulee
def XXXActivated(self):
import geodat.import_osm_logger
from importlib import reload
reload(geodat.import_osm_logger)
geodat.import_osm_logger.mydialog()
def GetResources(self):
return {
'Pixmap' : 'Std_Tool1',
'MenuText': 'Import OSM Map',
'ToolTip': 'Import OSM Map'
}
class importheights:
def Activated(self):
import geodat.import_heights
from importlib import reload
reload(geodat.import_heights)
geodat.import_heights.mydialog()
def GetResources(self):
return {
'Pixmap' : 'Std_Tool1',
'MenuText': 'Import OSM Heights',
'ToolTip': 'Import OSM Heights'
}
class importsrtm:
def Activated(self):
import geodat.import_srtm
from importlib import reload
reload(geodat.import_srtm)
geodat.import_srtm.mydialog()
def GetResources(self):
return {
'Pixmap' : 'Std_Tool1',
'MenuText': 'Import SRTM Heights',
'ToolTip': 'Import SRTM Heights'
}
class createHouse:
def Activated(self):
import geodat.createhouse
from importlib import reload
reload(geodat.createhouse)
FreeCAD.rc=geodat.createhouse.mydialog()
def GetResources(self):
return {
'Pixmap' : 'Std_Tool1',
'MenuText': 'Create Houses',
'ToolTip': 'Create House '
}
class ElevationGrid:
def Activated(self):
import geodat.elevationgrid
from importlib import reload
reload(geodat.elevationgrid)
geodat.elevationgrid.run()
# FreeCAD.rc=geodat.createhouse.mydialog()
def GetResources(self):
return {
'Pixmap' : 'Std_Tool1',
'MenuText': 'Elevation Grid',
'ToolTip': 'create Elevation Grid '
}
FreeCADGui.addCommand('Import OSM Map', mydialog())
FreeCADGui.addCommand('Import CSV', import_csv())
FreeCADGui.addCommand('Import GPX', import_gpx())
FreeCADGui.addCommand('Import Heights', importheights())
FreeCADGui.addCommand('Import SRTM', importsrtm())
FreeCADGui.addCommand('Import XYZ', import_xyz())
FreeCADGui.addCommand('Import LatLonZ', import_latlony())
FreeCADGui.addCommand('Import Image', import_image())
FreeCADGui.addCommand('Import ASTER', import_aster())
FreeCADGui.addCommand('Import LIDAR', import_lidar())
FreeCADGui.addCommand('Create House', createHouse())
FreeCADGui.addCommand('Navigator', navigator())
FreeCADGui.addCommand('ElevationGrid', ElevationGrid())
FreeCADGui.addCommand('Import EMIR', import_emir())
#------------------------------------------------------------------------------
# the menu entry list
FreeCAD.tcmdsGeodat = []
def always():
''' always'''
return True
def ondocument():
'''if a document is active'''
return FreeCADGui.ActiveDocument is not None
def onselection():
'''if at least one object is selected'''
return len(FreeCADGui.Selection.getSelection())>0
def onselection1():
'''if exactly one object is selected'''
return len(FreeCADGui.Selection.getSelection())==1
def onselection2():
'''if exactly two objects are selected'''
return len(FreeCADGui.Selection.getSelection())==2
def onselection3():
'''if exactly three objects are selected'''
return len(FreeCADGui.Selection.getSelection())==3
def onselex():
'''if at least one subobject is selected'''
return len(FreeCADGui.Selection.getSelectionEx())!=0
def onselex1():
'''if exactly one subobject is selected'''
return len(FreeCADGui.Selection.getSelectionEx())==1
global _Command2
class _Command2():
def __init__(self, lib=None, name=None, icon=None, command=None, modul='geodat',tooltip='No Tooltip'):
if lib == None:
lmod = modul
else:
lmod = modul + '.' + lib
if command == None:
command = lmod + ".run()"
else:
command = lmod + "." + command
self.lmod = lmod
self.command = command
self.modul = modul
if icon != None:
self.icon = __dir__ + icon
else:
self.icon = None
if name == None:
name = command
self.name = name
self.tooltip=tooltip
def GetResources(self):
if self.icon != None:
return {'Pixmap': self.icon,
'MenuText': self.name,
'ToolTip': self.tooltip,
'CmdType': "ForEdit" # bleibt aktiv, wenn sketch editor oder andere tasktab an ist
}
else:
return {
#'Pixmap' : self.icon,
'MenuText': self.name,
'ToolTip': self.name,
'CmdType': "ForEdit" # bleibt aktiv, wenn sketch editor oder andere tasktab an ist
}
def IsActive(self):
if Gui.ActiveDocument:
return True
else:
return False
def Activated(self):
import re
ta=True
if ta:
FreeCAD.ActiveDocument.openTransaction(self.name)
if self.command != '':
if self.modul != '':
modul = self.modul
else:
modul = self.name
if sys.version_info[0] !=2:
Gui.doCommand("from importlib import reload")
Gui.doCommand("import " + modul)
Gui.doCommand("import " + self.lmod)
Gui.doCommand("reload(" + self.lmod + ")")
docstring = "print();print(" + re.sub(r'\(.*\)', '.__doc__'+")", self.command)
Gui.doCommand(docstring)
Gui.doCommand(self.command)
if ta:
FreeCAD.ActiveDocument.commitTransaction()
if FreeCAD.ActiveDocument != None:
FreeCAD.ActiveDocument.recompute()
def c3bI(menu, isactive, name, text, icon='None', cmd=None, tooltip='',*info):
import re
global _Command2
if cmd == None:
cmd = re.sub(r' ', '', text) + '()'
if name == 0:
name = re.sub(r' ', '', text)
if icon=='None':
pic=re.sub(r' ', '', text)
icon='/../icons/'+pic+'.svg'
if tooltip=='':
tooltip=name
t = _Command2(name, text, icon, cmd, tooltip=tooltip,*info)
title = re.sub(r' ', '', text)
name1 = "Geodat_" + title
t.IsActive = isactive
Gui.addCommand(name1, t)
FreeCAD.tcmdsGeodat.append([menu, name1])
return name1
if FreeCAD.GuiUp:
tools=[]
_beztools=[]
current=[]
_current=[]
tools += [c3bI(["Geodat"], always, 'import_osm', 'import OSM',tooltip='import data from openstreetmap',icon=None)]
tools += [c3bI(["Geodat"], always, 'import_csv', 'import CSV',tooltip='import csv file with point data',icon=None)]
tools += [c3bI(["Geodat"], always, 'import_gpx', 'import GPX Track',tooltip='import track in gpx format',icon=None)]
tools += [c3bI(["Geodat"], always, 'import_heights', 'import Heights',tooltip='import heights #+#',icon=None)]
tools += [c3bI(["Geodat"], always, 'import_srtm', 'import SRTM',tooltip='import contours from SRTM',icon=None)]
tools += [c3bI(["Geodat"], always, 'import_xyz', 'import XYZ',tooltip='import x,y,z tuples from file',icon=None)]
tools += [c3bI(["Geodat"], always, 'import_latlony', 'import LatLonZ',tooltip='import lat,lon,height tuples from file',icon=None)]
tools += [c3bI(["Geodat"], always, 'import_image', 'import Image',tooltip='import pixel colors as heights',icon=None)]
tools += [c3bI(["Geodat"], always, 'import_aster', 'import ASTER',tooltip='import ASTER data from file',icon=None)]
tools += [c3bI(["Geodat"], always, 'import_lidar', 'import LIDAR',tooltip='import LIDAR data from file',icon=None)]
tools += [c3bI(["Geodat"], always, 'import_emir', 'import EMIR',tooltip='import EMIR data from file',icon=None)]
tools += [c3bI(["Geodat","Specials"], always, 'createhouse', 'create House',tooltip='create a house',icon=None)]
tools += [c3bI(["Geodat","Specials"], always, 'navigator', 'Navigator',tooltip='inspect the scene with a navigator',icon=None)]
tools += [c3bI(["Geodat"], always, 'elevationgrid', 'Elevation Grid',tooltip='#+#',icon=None)]
current += [c3bI(["Geodat"], always, 'run_tests', 'test_import_csv',icon=None)]
current += [c3bI(["Geodat"], always, 'run_tests', 'test_import_osm',icon=None)]
current += [c3bI(["Geodat"], always, 'run_tests', 'test_A',icon=None)]
current += [c3bI(["Geodat"], always, 'run_tests', 'test_B',icon=None)]
toolbars = [
['Geodat Tools', tools],
['My current Work', current]
]
class Geodat ( Workbench ):
"Geo data"
MenuText = "Geo Data"
ToolTip = "Openstreetmap data"
def GetClassName(self):
return "Gui::PythonWorkbench"
def __init__(self, toolbars, version):
self.toolbars = toolbars
self.version = version
def Initialize(self):
# cmds= ["Import OSM Map",'Import CSV','Import GPX',
# 'Import Heights','Import SRTM','Import XYZ','Import LatLonZ','Import Image','Import ASTER','Import LIDAR','Navigator',
# 'Create House','ElevationGrid','Import EMIR']
# self.appendToolbar("Geo Data Test", ['My_Test Geodat','Import LIDAR'])
# self.appendMenu("Geo Data", cmds)
Log ("Loading Goe Data Workbench ... done\n")
# create menues
menues = {}
ml = []
for _t in FreeCAD.tcmdsGeodat:
c = _t[0]
a = _t[1]
try:
menues[tuple(c)].append(a)
except:
menues[tuple(c)] = [a]
ml.append(tuple(c))
for m in ml:
self.appendMenu(list(m), menues[m])
for t in self.toolbars:
self.appendToolbar(t[0], t[1])
Icon = """
/* XPM */
static char * osm_xpm[] = {
"64 64 260 2",
" c #42426F",
". c #424270",
"+ c #434370",
"@ c #444470",
"# c #444471",
"$ c #464674",
"% c #454571",
"& c #42426B",
"* c #22222C",
"= c #24242F",
"- c #4B4B7D",
"; c #484877",
"> c #474775",
", c #3E3E62",
"' c #201614",
") c #291818",
"! c #2A1818",
"~ c #141715",
"{ c #161715",
"] c #282838",
"^ c #42426C",
"/ c #43436E",
"( c #454572",
"_ c #484878",
": c #12140F",
"< c #A11010",
"[ c #FF0909",
"} c #871212",
"| c #901111",
"1 c #911111",
"2 c #591413",
"3 c #061715",
"4 c #081715",
"5 c #071715",
"6 c #192129",
"7 c #2D2D41",
"8 c #494979",
"9 c #151715",
"0 c #991111",
"a c #FF0A0A",
"b c #FB0A0A",
"c c #F40B0B",
"d c #8F1111",
"e c #161919",
"f c #242430",
"g c #311717",
"h c #23232D",
"i c #4B4B7E",
"j c #131714",
"k c #201919",
"l c #25232E",
"m c #464672",
"n c #484875",
"o c #212129",
"p c #311818",
"q c #FE0A0A",
"r c #FF0808",
"s c #061817",
"t c #383857",
"u c #2F1818",
"v c #071918",
"w c #393958",
"x c #031918",
"y c #3A3A5A",
"z c #DB0C0D",
"A c #0A140E",
"B c #494977",
"C c #25242E",
"D c #CC0D0D",
"E c #0D1613",
"F c #383856",
"G c #D30D0D",
"H c #171613",
"I c #42426A",
"J c #464673",
"K c #474773",
"L c #3A3A59",
"M c #601515",
"N c #191919",
"O c #4A4A79",
"P c #5C1515",
"Q c #1B1B1D",
"R c #3C3B5C",
"S c #001918",
"T c #9D1010",
"U c #181B1C",
"V c #404066",
"W c #484876",
"X c #141C1E",
"Y c #AE0F0F",
"Z c #111919",
"` c #2F2F43",
" . c #0C1613",
".. c #CB0D0D",
"+. c #0E1A19",
"@. c #302F45",
"#. c #474774",
"$. c #2C2C3E",
"%. c #3F1514",
"&. c #F00B0B",
"*. c #162026",
"=. c #45456F",
"-. c #484873",
";. c #4B4B79",
">. c #45456D",
",. c #404064",
"'. c #171A1C",
"). c #A41010",
"!. c #F30B0B",
"~. c #001715",
"{. c #474771",
"]. c #2F2F44",
"^. c #7F1212",
"/. c #1C1D20",
"(. c #484874",
"_. c #282B3C",
":. c #3C1717",
"<. c #4C4C7C",
"[. c #001713",
"}. c #FD0A0A",
"|. c #171818",
"1. c #323249",
"2. c #494976",
"3. c #4C4C7B",
"4. c #151613",
"5. c #931111",
"6. c #181919",
"7. c #262632",
"8. c #494974",
"9. c #4F4F7F",
"0. c #8A1212",
"a. c #981111",
"b. c #131410",
"c. c #4F4F80",
"d. c #4A4A77",
"e. c #292937",
"f. c #271818",
"g. c #F50B0B",
"h. c #151614",
"i. c #414165",
"j. c #494975",
"k. c #4B4B77",
"l. c #262631",
"m. c #241818",
"n. c #FA0A0A",
"o. c #061613",
"p. c #414164",
"q. c #101C1F",
"r. c #C80E0E",
"s. c #531515",
"t. c #242937",
"u. c #484872",
"v. c #3D3D5D",
"w. c #061917",
"x. c #121919",
"y. c #313147",
"z. c #4A4A76",
"A. c #262A39",
"B. c #621313",
"C. c #501515",
"D. c #1C1B1E",
"E. c #4E4E7D",
"F. c #4A4A75",
"G. c #0B1612",
"H. c #C30E0E",
"I. c #5F1515",
"J. c #4D4D7B",
"K. c #591515",
"L. c #071613",
"M. c #4F4F7E",
"N. c #1E1D20",
"O. c #461616",
"P. c #0A130D",
"Q. c #4C4C78",
"R. c #313146",
"S. c #0F1918",
"T. c #EE0B0B",
"U. c #3E3D5D",
"V. c #3F3F60",
"W. c #34344B",
"X. c #051510",
"Y. c #081714",
"Z. c #111614",
"`. c #8F1112",
" + c #831212",
".+ c #161F23",
"++ c #44446A",
"@+ c #474770",
"#+ c #484871",
"$+ c #141411",
"%+ c #161716",
"&+ c #251818",
"*+ c #3A1717",
"=+ c #24242D",
"-+ c #4B4B75",
";+ c #4F4F7C",
">+ c #50507E",
",+ c #25252E",
"'+ c #282834",
")+ c #242631",
"!+ c #041715",
"~+ c #021917",
"{+ c #C70E0E",
"]+ c #F90A0A",
"^+ c #EB0B0B",
"/+ c #281717",
"(+ c #303044",
"_+ c #4C4C77",
":+ c #3F3F5F",
"<+ c #414162",
"[+ c #09130D",
"}+ c #401615",
"|+ c #491616",
"1+ c #C10E0E",
"2+ c #961111",
"3+ c #141714",
"4+ c #272732",
"5+ c #1E1E22",
"6+ c #141B1D",
"7+ c #0B1919",
"8+ c #E70C0C",
"9+ c #8B1111",
"0+ c #191B1D",
"a+ c #4E4E7B",
"b+ c #4B4B76",
"c+ c #4D4D7A",
"d+ c #4E4E7C",
"e+ c #35354D",
"f+ c #05140F",
"g+ c #011714",
"h+ c #841212",
"i+ c #DA0C0C",
"j+ c #001612",
"k+ c #494871",
"l+ c #4A4A73",
"m+ c #4D4D79",
"n+ c #141511",
"o+ c #1C1818",
"p+ c #1F1919",
"q+ c #7B1313",
"r+ c #1A1919",
"s+ c #2E2E41",
"t+ c #373751",
"u+ c #1B222A",
"v+ c #001816",
"w+ c #C00E0E",
"x+ c #BF0E0E",
"y+ c #2E2E40",
"z+ c #4C4C76",
"A+ c #4D4D78",
"B+ c #494970",
"C+ c #454569",
"D+ c #0D130D",
"E+ c #131817",
"F+ c #1A1A1B",
"G+ c #494971",
"H+ c #2F2F41",
"I+ c #212127",
"J+ c #4E4E79",
"K+ c #4F4F7B",
" ",
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
"+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ",
"+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ",
"+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ",
"+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ",
"+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ",
"@ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ ",
"@ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ ",
"# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ",
"# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ",
"# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ",
"# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ",
"# # # # # # # # # # # # # # # # # # # # # # # $ $ $ $ $ $ $ # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ",
"% % % % % % % % % % % % % % % % % % % % % % & * = = = = = = - ; ; ; ; > % % % % % % % % % % % % % % % % % % % % % % % % % % % % ",
"% % % % % % % % % % % % % % % % % % % % % % , ' ) ) ) ) ) ! ~ { { { { ] ^ & & & / ( % % % % % % % % % % % % % % % % % % % % % % ",
"% % % % % % % % % % % % % % % % % % % % % _ : < [ [ [ [ [ [ } | | | 1 2 3 4 4 5 6 7 8 % % % % % % % % % % % % % % % % % % % % % ",
"( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( _ 9 0 a a a a a a a a a a a b c c c c d e f > ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ",
"( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( _ 9 0 a a a a a a a a a a a a a a a a [ g h > ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ",
"( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( i j 1 a a a a a a a a a a a a a a a a [ k l ; ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ",
"m m m m m m m m m m m m m m m m m m m m n o p [ a a a a a a a a a a a a a a a a q r s t m m m m m m m m m m m m m m m m m m m m ",
"m m m m m m m m m m m m m m m m m m m m n h u [ a a a a a a a a a a a a a a a a a [ v w m m m m m m m m m m m m m m m m m m m m ",
"m m m m m m m m m m m m m m m m m m m m n h u [ a a a a a a a a a a a a a a a a a [ x y m m m m m m m m m m m m m m m m m m m m ",
"m m m m m m m m m m m m m m m m m m m m n h u [ a a a a a a a a a a a a a a a a a q z A n m m m m m m m m m m m m m m m m m m m ",
"m m m m m m m m m m m m m m m m m m m m B C k [ a a a a a a a a a a a a a a a a a a D E > m m m m m m m m m m m m m m m m m m m ",
"m m m m m m m m m m m m m m m m m m m m F s r q a a a a a a a a a a a a a a a a a a G H I J m m m m m m m m m m m m m m m m m m ",
"K K K K K K K K K K K K K K K K K K K K L v [ a a a a a a a a a a a a a a a a a a a [ M N O K K K K K K K K K K K K K K K K K K ",
"K K K K K K K K K K K K K K K K K K K K L v [ a a a a a a a a a a a a a a a a a a a a P Q O K K K K K K K K K K K K K K K K K K ",
"K K K K K K K K K K K K K K K K K K K K R S [ a a a a a a a a a a a a a a a a a a a a T U V K K K K K K K K K K K K K K K K K K ",
"K K K K K K K K K K K K K K K K K K K W X Y a a a a a a a a a a a a a a a a a a a a a [ Z ` K K K K K K K K K K K K K K K K K K ",
"K K K K K K K K K K K K K K K K K K K B ...a a a a a a a a a a a a a a a a a a a a a [ +.@.#.K K K K K K K K K K K K K K K K K ",
"K K K K K K K K K K K K K K K K K K B $.%.&.a a a a a a a a a a a a a a a a a a a a a a < *.=.K K K K K K K K K K K K K K K K K ",
"-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.;.Q P a a a a a a a a a a a a a a a a a a a a a a a c 5 >.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.",
"-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.,.'.).a a a a a a a a a a a a a a a a a a a a a a a !.~.{.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.",
"-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.].Z [ a a a a a a a a a a a a a a a a a a a a a a a q ^./.;.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.",
"(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.-._.:.[ a a a a a a a a a a a a a a a a a a a a a a a a | { <.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.",
"(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.[.}.q a a a a a a a a a a a a a a a a a a a a a a a a | |.1.2.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.",
"(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.(.3.4.5.a a a a a a a a a a a a a a a a a a a a a a a a a a | 6.7.B (.(.(.(.(.(.(.(.(.(.(.(.(.(.(.",
"8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.9.9 0.a a a a a a a a a a a a a a a a a a a a a a a a a a a.b.c.8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.",
"8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.d.e.f.a a a a a a a a a a a a a a a a a a a a a a a a a a g.h.i.j.8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.",
"8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.k.l.m.[ a a a a a a a a a a a a a a a a a a a a a a a a a n.o.>.8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.",
"8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.p.q.r.a a a a a a a a a a a a a a a a a a a a a a a a a [ s.t.u.8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.",
"8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.v.w.[ a a a a a a a a a a a a a a a a a a a a a a a a a [ x.y.8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.",
"8.8.8.8.8.8.8.8.8.8.8.8.8.8.z.A.B.a a a a a a a a a a a a a a a a a a a a a a a a a a C.D.E.8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.8.",
"F.F.F.F.F.F.F.F.F.F.F.F.F.F.E.G.H.a a a a a a a a a a a a a a a a a a a a a a a a a [ I.N J.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.",
"F.F.F.F.F.F.F.F.F.F.F.F.F.J.N K.[ a a a a a a a a a a a a a a a a a a a a a a a a a r.L.9.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.",
"F.F.F.F.F.F.F.F.F.F.F.F.F.M.N.O.a a a a a a a a a a a a a a a a a a a a a a a a a q z P.Q.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.",
"F.F.F.F.F.F.F.F.F.F.F.F.F.R.S.a T.&.a a a a a a a a a a a a a a a a a a a a a a a [ S U.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.",
"F.F.F.F.F.F.F.F.F.F.F.F.F.V.W.X.Y.Z.`. +r [ [ q a a a a a a a a a a a a a a a a a 0 .+++F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.",
"F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.@+#+++$+%+&+m.*+[ [ q a a a a a a a a a a a a a a [ u =+Q.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.F.",
"-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+;+>+,+'+)+!+~+{+]+[ a a a a a a a a a a a a ^+/+(+_+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+",
"-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+Q._+-+:+<+[+}+|+1+[ q a a a a a a a a a 2+3+>+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+",
"-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+>+4+5+6+7+]+8+a a a a a a a a 9+0+a+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+",
"b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+c+d+V.e+f+g+h+i+[ [ a a q [ j+k+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+",
"b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+l+m+n+o+p+q+[ a [ r+s+k.b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+",
"b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+M.t+e.u+v+w+x+e y+k.b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+b+",
"z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+_+A+B+C+D+E+F+G+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+",
"z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+>+H+I+;+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+",
"z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+J+K+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+",
"z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+",
"z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+z+",
"_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+_+"};
"""
FreeCADGui.addWorkbench(Geodat(toolbars, __vers__))