<commit_before># Assembly gui init module  
# (c) 2003 <NAME>
#
# Gathering all the information to start FreeCAD
# This is the second one of three init scripts, the third one
# runs when the gui is up

#***************************************************************************
#*   (c) <NAME> (<EMAIL>) 2002                       *
#*                                                                         *
#*   This file is part of the FreeCAD CAx development system.              *
#*                                                                         *
#*   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.                                 *
#*                                                                         *
#*   FreeCAD 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 Lesser General Public License for more details.                   *
#*                                                                         *
#*   You should have received a copy of the GNU Library General Public     *
#*   License along with FreeCAD; if not, write to the Free Software        *
#*   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  *
#*   USA                                                                   *
#*                                                                         *
#*   <NAME> 2002                                                   *
#***************************************************************************/



class AssemblyWorkbench ( Workbench ):
	"Assembly workbench object"
	Icon = """
			/* XPM */
			static const char *Assembly_Box[]={
			"16 16 3 1",
			". c None",
			"# c #000000",
			"a c #c6c642",
			"................",
			".......#######..",
			"......#aaaaa##..",
			".....#aaaaa###..",
			"....#aaaaa##a#..",
			"...#aaaaa##aa#..",
			"..#aaaaa##aaa#..",
			".########aaaa#..",
			".#aaaaa#aaaaa#..",
			".#aaaaa#aaaa##..",
			".#aaaaa#aaa##...",
			".#aaaaa#aa##....",
			".#aaaaa#a##... .",
			".#aaaaa###......",
			".########.......",
			"................"};
			"""
	MenuText = "Assembly"
	ToolTip = "Assembly workbench"

	def Initialize(self):
		# load the module
		import AssemblyGui
		import Assembly
	def GetClassName(self):
		return "AssemblyGui::Workbench"

Gui.addWorkbench(AssemblyWorkbench())<commit_msg>update Assembly Workbench icon in InitGui.py<commit_after># Assembly gui init module  
# (c) 2003 <NAME>
#
# Gathering all the information to start FreeCAD
# This is the second one of three init scripts, the third one
# runs when the gui is up

#***************************************************************************
#*   (c) <NAME> (<EMAIL>) 2002                       *
#*                                                                         *
#*   This file is part of the FreeCAD CAx development system.              *
#*                                                                         *
#*   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.                                 *
#*                                                                         *
#*   FreeCAD 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 Lesser General Public License for more details.                   *
#*                                                                         *
#*   You should have received a copy of the GNU Library General Public     *
#*   License along with FreeCAD; if not, write to the Free Software        *
#*   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  *
#*   USA                                                                   *
#*                                                                         *
#*   <NAME> 2002                                                   *
#***************************************************************************/



class AssemblyWorkbench ( Workbench ):
	"Assembly workbench object"
	Icon = """
			/* XPM */
static char * Assembly_Workbench_3_32px_xpm[] = {
"32 32 339 2",
"  	c None",
". 	c #7F5A00",
"+ 	c #825F02",
"@ 	c #7C5700",
"# 	c #7E5901",
"$ 	c #835E01",
"% 	c #7E5800",
"& 	c #000000",
"* 	c #7F5B01",
"= 	c #B39D11",
"- 	c #D1BE18",
"; 	c #ECD81C",
"> 	c #E7CB17",
", 	c #CBA80F",
"' 	c #A68007",
") 	c #815E02",
"! 	c #CDC31C",
"~ 	c #FAF827",
"{ 	c #FBF024",
"] 	c #FBE920",
"^ 	c #FCE11C",
"/ 	c #FCDA18",
"( 	c #FDD214",
"_ 	c #997104",
": 	c #7B5600",
"< 	c #815D02",
"[ 	c #A38A0D",
"} 	c #EBE522",
"| 	c #FBF023",
"1 	c #FBE820",
"2 	c #F6D317",
"3 	c #D0A70D",
"4 	c #7F5900",
"5 	c #7A5600",
"6 	c #815A01",
"7 	c #9C7706",
"8 	c #7F5A01",
"9 	c #876303",
"0 	c #A18008",
"a 	c #977104",
"b 	c #8F6401",
"c 	c #9A6800",
"d 	c #825C01",
"e 	c #DEBB12",
"f 	c #F9D516",
"g 	c #E1B30E",
"h 	c #C79106",
"i 	c #D59000",
"j 	c #F4A300",
"k 	c #FFAA00",
"l 	c #A67200",
"m 	c #825D01",
"n 	c #DCC016",
"o 	c #FCE01B",
"p 	c #FEC00B",
"q 	c #FFAD01",
"r 	c #A57100",
"s 	c #DAC619",
"t 	c #FBE61E",
"u 	c #FCD516",
"v 	c #FEC20C",
"w 	c #FF7D01",
"x 	c #FFA300",
"y 	c #A47000",
"z 	c #825E02",
"A 	c #D9CA1C",
"B 	c #FBEA21",
"C 	c #FCD717",
"D 	c #FF4A05",
"E 	c #FF0000",
"F 	c #FF6200",
"G 	c #A36F00",
"H 	c #D8D01F",
"I 	c #FBEB21",
"J 	c #FCD616",
"K 	c #FE8408",
"L 	c #FF1600",
"M 	c #FFA800",
"N 	c #A16E00",
"O 	c #E70201",
"P 	c #D00101",
"Q 	c #C7B717",
"R 	c #FDD415",
"S 	c #FEBE0B",
"T 	c #FF1900",
"U 	c #E45F00",
"V 	c #825900",
"W 	c #DB0000",
"X 	c #FE0000",
"Y 	c #C81B1A",
"Z 	c #330612",
"` 	c #150516",
" .	c #0C030E",
"..	c #7E5A01",
"+.	c #A58309",
"@.	c #C89E0B",
"#.	c #CE9706",
"$.	c #D94C00",
"%.	c #E61100",
"&.	c #3C0000",
"*.	c #F80000",
"=.	c #FA0404",
"-.	c #867975",
";.	c #0F817D",
">.	c #53175A",
",.	c #A52EB3",
"'.	c #100412",
").	c #835D01",
"!.	c #845C00",
"~.	c #855500",
"{.	c #FB0300",
"].	c #FB0000",
"^.	c #D90202",
"/.	c #45BAB3",
"(.	c #16EAE2",
"_.	c #0E908B",
":.	c #3D1243",
"<.	c #7F248A",
"[.	c #0B030C",
"}.	c #F80003",
"|.	c #E60000",
"1.	c #0F1111",
"2.	c #053A38",
"3.	c #15DDD6",
"4.	c #12BDB7",
"5.	c #0C2A2F",
"6.	c #0D030E",
"7.	c #100311",
"8.	c #09020B",
"9.	c #200559",
"0.	c #F50004",
"a.	c #340552",
"b.	c #000062",
"c.	c #580000",
"d.	c #031E1D",
"e.	c #096662",
"f.	c #011110",
"g.	c #030665",
"h.	c #111C78",
"i.	c #B23557",
"j.	c #AA173B",
"k.	c #0B197A",
"l.	c #010363",
"m.	c #02005F",
"n.	c #36014E",
"o.	c #7D0031",
"p.	c #020262",
"q.	c #010262",
"r.	c #3250A4",
"s.	c #5B96E4",
"t.	c #6472BA",
"u.	c #D1192E",
"v.	c #693D80",
"w.	c #1642A8",
"x.	c #042B98",
"y.	c #001E88",
"z.	c #000364",
"A.	c #000161",
"B.	c #040665",
"C.	c #0B116F",
"D.	c #5586D2",
"E.	c #619EEA",
"F.	c #4F88DA",
"G.	c #3D72CB",
"H.	c #2B5CBB",
"I.	c #1946AB",
"J.	c #08309C",
"K.	c #002390",
"L.	c #01076A",
"M.	c #000162",
"N.	c #000263",
"O.	c #283F95",
"P.	c #6AA8EF",
"Q.	c #64A2ED",
"R.	c #528CDD",
"S.	c #4076CD",
"T.	c #2F60BE",
"U.	c #1D4AAE",
"V.	c #0B349F",
"W.	c #00208B",
"X.	c #000465",
"Y.	c #00218D",
"Z.	c #000466",
"`.	c #000500",
" +	c #000A00",
".+	c #020463",
"++	c #050967",
"@+	c #263C93",
"#+	c #4A78C7",
"$+	c #5590E0",
"%+	c #447AD0",
"&+	c #3264C1",
"*+	c #204EB1",
"=+	c #0E39A1",
"-+	c #001C85",
";+	c #00086A",
">+	c #002694",
",+	c #002795",
"'+	c #000700",
")+	c #000900",
"!+	c #013B01",
"~+	c #026202",
"{+	c #037003",
"]+	c #034A03",
"^+	c #022202",
"/+	c #000400",
"(+	c #0E1774",
"_+	c #28429B",
":+	c #0B1472",
"<+	c #000060",
"[+	c #020363",
"}+	c #080F6F",
"|+	c #0F2384",
"1+	c #0E3299",
"2+	c #00167E",
"3+	c #000061",
"4+	c #000E72",
"5+	c #072691",
"6+	c #60185D",
"7+	c #12045E",
"8+	c #01AD01",
"9+	c #02EA02",
"0+	c #04DC04",
"a+	c #06CE06",
"b+	c #07C107",
"c+	c #09B309",
"d+	c #044004",
"e+	c #010701",
"f+	c #1A2984",
"g+	c #63A1EC",
"h+	c #5089DB",
"i+	c #3667C1",
"j+	c #19399A",
"k+	c #07177A",
"l+	c #00147C",
"m+	c #4E1B67",
"n+	c #FA0002",
"o+	c #E0000B",
"p+	c #001300",
"q+	c #000C00",
"r+	c #013901",
"s+	c #025C02",
"t+	c #036B03",
"u+	c #034603",
"v+	c #022102",
"w+	c #000100",
"x+	c #67A6EF",
"y+	c #2859B8",
"z+	c #133FA6",
"A+	c #000F75",
"B+	c #000667",
"C+	c #411D6F",
"D+	c #BB0A27",
"E+	c #FB0002",
"F+	c #B30000",
"G+	c #172100",
"H+	c #02C102",
"I+	c #038603",
"J+	c #045704",
"K+	c #043D04",
"L+	c #074707",
"M+	c #0A550A",
"N+	c #0C620C",
"O+	c #182683",
"P+	c #5F9CE9",
"Q+	c #508ADB",
"R+	c #3D71CA",
"S+	c #2858B8",
"T+	c #001075",
"U+	c #000669",
"V+	c #000668",
"W+	c #170159",
"X+	c #FC0000",
"Y+	c #C03B01",
"Z+	c #6E7A03",
"`+	c #20A707",
" @	c #0BA00B",
".@	c #0E870E",
"+@	c #0F7D0F",
"@@	c #0D6D0D",
"#@	c #152380",
"$@	c #548FDF",
"%@	c #4A82D6",
"&@	c #396DC7",
"*@	c #2656B6",
"=@	c #123DA5",
"-@	c #000F74",
";@	c #00228E",
">@	c #E00000",
",@	c #F70100",
"'@	c #FD0100",
")@	c #4D7308",
"!@	c #0E850E",
"~@	c #12207D",
"{@	c #4980D5",
"]@	c #4177CE",
"^@	c #3366C2",
"/@	c #2251B3",
"(@	c #0F3AA2",
"_@	c #00208C",
":@	c #000363",
"<@	c #0D2200",
"[@	c #589A02",
"}@	c #AC4502",
"|@	c #EC0E01",
"1@	c #16950A",
"2@	c #0E830E",
"3@	c #010263",
"4@	c #132583",
"5@	c #2446A2",
"6@	c #2A58B6",
"7@	c #1C4AAE",
"8@	c #0B349E",
"9@	c #001E89",
"0@	c #000262",
"a@	c #002500",
"b@	c #03E703",
"c@	c #06CD06",
"d@	c #0CB209",
"e@	c #0C9B0C",
"f@	c #0F810F",
"g@	c #051173",
"h@	c #031B83",
"i@	c #000E73",
"j@	c #001400",
"k@	c #03D503",
"l@	c #06CB06",
"m@	c #09B209",
"n@	c #0C990C",
"o@	c #0F7F0F",
"p@	c #0B5C0B",
"q@	c #000163",
"r@	c #024E02",
"s@	c #056605",
"t@	c #086A08",
"u@	c #084408",
"v@	c #052805",
"w@	c #00005F",
"x@	c #000600",
"                                                                ",
"        . + @ # $ %                   & & & & & & & & &         ",
"      * = - ; > , ' .                 &               &   &     ",
"    ) ! ~ { ] ^ / ( _ :               &               & & & &   ",
"    < [ } | 1 ^ 2 3 4 5               &     & & & &         &   ",
"    6 7 8 9 0 a % b c                 &                     &   ",
"    d e f g h i j k l                 &                     &   ",
"    m n o ( p q k k r                 &   & & & & & & & &   &   ",
"    m s t u v w x k y                 &                     &   ",
"    z A B C D E F k G                 &         E           &   ",
"    + H I J K E L M N                 &       O E P         &   ",
"    + Q ] R S T E U V                 &   W X E Y Z ` ` `  .&   ",
"      ..+.@.#.$.E %.                  &.*.E =.-.;.>.,.,.,.'.&   ",
"        . ).!.~.{.E                   ].E ^./.(._.:.<.<.<.[.&   ",
"                  E }.            E E X |.1.2.3.4.5.6.7.7.8.&   ",
"                9.0.X a.b.      E E E c.      d.e.f.        &   ",
"              g.h.i.E j.k.l.m.n.o.E   & & & & & & & & & & & &   ",
"          p.q.r.s.t.u.v.w.x.y.z.A.                              ",
"        B.C.D.E.F.G.H.I.J.K.L.M.N.                              ",
"      q.O.P.Q.R.S.T.U.V.W.X.z.Y.Z.                `. +&         ",
"    .+++@+#+$+%+&+*+=+-+M.;+>+,+Z.          '+)+!+~+{+]+^+/+    ",
"    (+_+:+<+[+}+|+1+2+3+4+,+5+6+7+          & 8+9+0+a+b+c+d+e+  ",
"    f+g+h+i+j+k+Z.<+A.l+,+,+m+E n+o+        p+q+r+s+t+u+v+e+w+  ",
"    f+x+R.G.y+z+,+A+B+,+,+,+C+D+E+E E E E F+G+H+I+J+K+L+M+N+w+  ",
"    O+P+Q+R+S+z+,+T+U+,+,+,+K.V+W+  E E E E X+Y+Z+`+ @.@+@@@w+  ",
"    #@$@%@&@*@=@,+-@V+,+,+;@Z.A.          >@,@E E '@)@!@+@@@w+  ",
"    ~@{@]@^@/@(@,+-@V+,+_@:@M.              <@[@}@|@1@2@+@@@&   ",
"    3@4@5@6@7@8@,+-@V+9@0@3+                a@b@c@d@e@f@+@@@&   ",
"      0@3@A.g@h@K.i@:@M.b.                  j@k@l@m@n@o@+@p@w+  ",
"            3+q@<+0@<+                       +p+r@s@t@u@v@/+    ",
"                  w@                            & )+'+x@        ",
"                                                                "};

			"""
	MenuText = "Assembly"
	ToolTip = "Assembly workbench"

	def Initialize(self):
		# load the module
		import AssemblyGui
		import Assembly
	def GetClassName(self):
		return "AssemblyGui::Workbench"

Gui.addWorkbench(AssemblyWorkbench())
{'fraction_non_alphanumeric': 0.2515284527355385, 'fraction_numerical': 0.1323091393635366, 'mean_word_length': 1.6980334108691055, 'pattern_counts': {'":': 4, '<': 24, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 75, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '940456', 'n_tokens_mistral': 6942, 'n_tokens_neox': 5867, 'n_words': 1457}