diff --git a/Demos/1-2inch BSW Bolt Closeup.png b/Demos/1-2inch BSW Bolt Closeup.png new file mode 100644 index 0000000..e471e01 Binary files /dev/null and b/Demos/1-2inch BSW Bolt Closeup.png differ diff --git a/Demos/1-2inch BSW Bolt.png b/Demos/1-2inch BSW Bolt.png new file mode 100644 index 0000000..f437c0d Binary files /dev/null and b/Demos/1-2inch BSW Bolt.png differ diff --git a/Demos/BSW-thread.FCStd b/Demos/BSW-thread.FCStd new file mode 100644 index 0000000..b8f8551 Binary files /dev/null and b/Demos/BSW-thread.FCStd differ diff --git a/ThreadProfileCmd.py b/ThreadProfileCmd.py index cbc3508..f8258ef 100644 --- a/ThreadProfileCmd.py +++ b/ThreadProfileCmd.py @@ -78,6 +78,8 @@ def __init__(self, obj): obj.addProperty("App::PropertyFloatList","external3S_data","ThreadProfile",QT_TRANSLATE_NOOP("App::Property", "Data used to construct 3 start external thread")) obj.addProperty("App::PropertyFloatList","internal45_data","ThreadProfile",QT_TRANSLATE_NOOP("App::Property", "Data used to construct 45 degree internal thread")) obj.addProperty("App::PropertyFloatList","external45_data","ThreadProfile",QT_TRANSLATE_NOOP("App::Property", "Data used to construct 45 degree external thread")) + obj.addProperty("App::PropertyFloatList","internal55_data","ThreadProfile",QT_TRANSLATE_NOOP("App::Property", "Data used to construct 55 degree internal thread")) + obj.addProperty("App::PropertyFloatList","external55_data","ThreadProfile",QT_TRANSLATE_NOOP("App::Property", "Data used to construct 55 degree external thread")) obj.addProperty("App::PropertyString","Helix","ThreadProfile","Name of the helix object associated with the profile, if any") obj.addProperty("App::PropertyStringList","preset_names","ThreadProfile",QT_TRANSLATE_NOOP("App::Property", "list of preset names")) obj.addProperty("App::PropertyFloatList","presets_data","ThreadProfile",QT_TRANSLATE_NOOP("App::Property","list of pitches and diameters")) @@ -86,7 +88,7 @@ def __init__(self, obj): obj.addProperty("App::PropertyEnumeration", "InternalOrExternal", "ThreadProfile", QT_TRANSLATE_NOOP("App::Property", "Whether to make internal or external thread profile")) obj.InternalOrExternal=["Internal", "External"] obj.InternalOrExternal="External" - obj.addProperty("App::PropertyEnumeration","Variants","ThreadProfile",QT_TRANSLATE_NOOP("App::Property","Standard 60 degree V threads, experimental 3D printer-friendly 45 degree threads, 2-start, 3-start\n(Presets only valid for 60 degree types)")).Variants=["60","45","2-Start","3-Start"] + obj.addProperty("App::PropertyEnumeration","Variants","ThreadProfile",QT_TRANSLATE_NOOP("App::Property","Standard 60 degree V threads, Whitworth 55 degree V threads, experimental 3D printer-friendly 45 degree threads, 2-start, 3-start\n(Presets only valid for 60 degree types)")).Variants=["60","55","45","2-Start","3-Start"] obj.addProperty("App::PropertyEnumeration", "Presets", "ThreadProfile", QT_TRANSLATE_NOOP("App::Property", "Some presets")) obj.addProperty("App::PropertyIntegerConstraint", "Quality", "ThreadProfile", QT_TRANSLATE_NOOP("App::Property", "Quality of profile: controls how many points are used to create the bspline, the lower the number, the more points used. Experiment with different values if the thread looks rough up close. Maximum points used is 720. Quality is divided into 720 to determine how many points to use. You can also control appearance in the view tab of the Body or Sweep with the Angular Deflection and Deviation properties.")) obj.addProperty("App::PropertyString", "Continuity", "ThreadProfile", QT_TRANSLATE_NOOP("App::Property", "Continuity of the produced BSpline -- readonly")) @@ -109,6 +111,8 @@ def __init__(self, obj): obj.setEditorMode("external_data", 2) obj.setEditorMode("internal45_data",2) obj.setEditorMode("external45_data",2) + obj.setEditorMode("internal55_data",2) + obj.setEditorMode("external55_data",2) obj.setEditorMode("internal2S_data",2) obj.setEditorMode("external2S_data",2) obj.setEditorMode("internal3S_data",2) @@ -170,6 +174,11 @@ def makePoints(self, obj): our_data = obj.external45_data else: our_data = obj.internal45_data + elif hasattr(obj,"Variants") and obj.Variants == "55": + if external: + our_data = obj.external55_data + else: + our_data = obj.internal55_data elif hasattr(obj,"Variants") and obj.Variants == "2-Start": if external: our_data = obj.external2S_data @@ -233,7 +242,7 @@ def onChanged(self, fp, prop): if fp.Variants =="2-Start": helix.setExpression("Pitch",fp.Name+".Pitch*2") helix.setExpression("Height",fp.Name+".ThreadCount*"+fp.Name+".Pitch*2") - elif fp.Variants == "60" or fp.Variants == "45": + elif fp.Variants == "60" or fp.Variants == "45" or fp.Variants == "55": helix.setExpression("Pitch",fp.Name+".Pitch") helix.setExpression("Height",fp.Name+".ThreadCount*"+fp.Name+".Pitch") elif fp.Variants == "3-Start": @@ -603,7 +612,7 @@ def getHelp(self): "installation of the ThreadProfile workbench is required.", ] - def makeThreadProfile(self,name="VThreadProfile",minor_diameter=4.773,pitch=1,internal_or_external="External",internal_data=[],external_data=[],internal45_data=[],external45_data=[],internal2S_data=[],external2S_data=[],internal3S_data=[],external3S_data=[],presets=[],thread_count=10,Quality=11): + def makeThreadProfile(self,name="VThreadProfile",minor_diameter=4.773,pitch=1,internal_or_external="External",internal_data=[],external_data=[],internal45_data=[],external45_data=[],internal55_data=[],external55_data=[],internal2S_data=[],external2S_data=[],internal3S_data=[],external3S_data=[],presets=[],thread_count=10,Quality=11): '''minor_diameter=4.891,pitch=1,closed=True,placement=None,face=None,support=None,internal_or_external="External",internal_data=[],external_data=[]): Creates a thread profile object that can be swept along a helix to produce a thread. Code is based on Draft.makeBSpline()''' if not FreeCAD.ActiveDocument: @@ -658,6 +667,16 @@ def makeThreadProfile(self,name="VThreadProfile",minor_diameter=4.773,pitch=1,in else: obj.external3S_data = external3S_data +#Whitworth 55 Degree + if len(internal55_data)==0: + obj.internal55_data = [0.000000000000,0.000003457406,0.000063118007,0.000179055150,0.000351411737,0.000580401109,0.000866308371,0.001209492191,0.001610387080,0.002069506207,0.002587444775,0.003164884023,0.003802595917,0.004501448607,0.005262412738,0.006086568744,0.006975115253,0.007929378759,0.008950824783,0.010041070738,0.011201900811,0.012435283213,0.013743390231,0.015128621640,0.016593632137,0.018141363663,0.019775083671,0.021498430717,0.023315469134,0.025230755070,0.027249416909,0.029377254068,0.031620859561,0.033987773717,0.036486679318,0.039127652653,0.040850390966,0.043742430135,0.046634469305,0.049526508475,0.052418547645,0.055310586814,0.058202625984,0.061094665154,0.063986704324,0.066878743493,0.069770782663,0.072662821833,0.075554861002,0.078446900172,0.081338939342,0.084230978512,0.087123017681,0.090015056851,0.092907096021,0.095799135191,0.098691174360,0.101583213530,0.104475252700,0.107367291870,0.110259331039,0.113151370209,0.116043409379,0.118935448548,0.121827487718,0.124719526888,0.127611566058,0.130503605227,0.133395644397,0.136287683567,0.139179722737,0.142071761906,0.144963801076,0.147855840246,0.150747879416,0.153639918585,0.156531957755,0.159423996925,0.162316036094,0.165208075264,0.168100114434,0.170992153604,0.173884192773,0.176776231943,0.179668271113,0.182560310283,0.185452349452,0.188344388622,0.191236427792,0.194128466962,0.197020506131,0.199912545301,0.202804584471,0.205696623640,0.208588662810,0.211480701980,0.214372741150,0.217264780319,0.220156819489,0.223048858659,0.225940897829,0.228832936998,0.231724976168,0.234617015338,0.237509054507,0.240401093677,0.243293132847,0.246185172017,0.249077211186,0.251969250356,0.254861289526,0.257753328696,0.260645367865,0.263537407035,0.266429446205,0.269321485375,0.272213524544,0.275105563714,0.277997602884,0.280889642053,0.283781681223,0.286673720393,0.289565759563,0.292457798732,0.295349837902,0.298241877072,0.301133916242,0.304025955411,0.306917994581,0.309810033751,0.312702072921,0.315594112090,0.318486151260,0.321378190430,0.324270229599,0.327162268769,0.330054307939,0.332946347109,0.335838386278,0.338730425448,0.341622464618,0.344514503788,0.347406542957,0.350298582127,0.353190621297,0.356082660466,0.358974699636,0.361866738806,0.364758777976,0.367650817145,0.370542856315,0.373434895485,0.376326934655,0.379218973824,0.382111012994,0.385003052164,0.387895091334,0.390787130503,0.393679169673,0.396571208843,0.399463248012,0.402355287182,0.405247326352,0.408139365522,0.411031404691,0.413923443861,0.416815483031,0.419707522201,0.422599561370,0.425491600540,0.428383639710,0.431275678880,0.434167718049,0.437059757219,0.439951796389,0.442843835558,0.445735874728,0.448627913898,0.451519953068,0.454411992237,0.457304031407,0.460196070577,0.463088109747,0.465980148916,0.468872188086,0.471764227256,0.474656266425,0.477548305595,0.480440344765,0.483332383935,0.486224423104,0.489116462274,0.492008501444,0.494900540614,0.497792579783,0.500684618953,0.503576658123,0.506468697293,0.509360736462,0.512252775632,0.515144814802,0.518036853971,0.520928893141,0.523820932311,0.526712971481,0.529605010650,0.532497049820,0.535389088990,0.538281128160,0.541173167329,0.544065206499,0.546957245669,0.549849284839,0.552741324008,0.555633363178,0.558525402348,0.561417441517,0.564309480687,0.567201519857,0.570093559027,0.572985598196,0.575877637366,0.578769676536,0.581661715706,0.584553754875,0.587445794045,0.590337833215,0.593229872385,0.596121911554,0.599013950724,0.601905989894,0.604798029063,0.607690068233,0.610582107403,0.613474146573,0.616366185742,0.619258224912,0.622150264082,0.625042303252,0.627934342421,0.630826381591,0.633718420761,0.636610459930,0.639502499100,0.642394538270,0.645286577440,0.648178616609,0.651070655779,0.653962694949,0.656854734119,0.659746773288,0.662638812458,0.665530851628,0.668422890798,0.671314929967,0.674206969137,0.677099008307,0.679991047476,0.682883086646,0.685775125816,0.688667164986,0.691559204155,0.694451243325,0.697343282495,0.700235321665,0.703127360834,0.706019400004,0.708911439174,0.711803478344,0.714695517513,0.717587556683,0.720479595853,0.723371635022,0.726263674192,0.729155713362,0.732047752532,0.734939791701,0.737831830871,0.740723870041,0.743615909211,0.746507948380,0.749399987550,0.752292026720,0.755184065889,0.758076105059,0.760968144229,0.763860183399,0.766752222568,0.769644261738,0.772536300908,0.775428340078,0.778320379247,0.781212418417,0.784104457587,0.786996496757,0.789888535926,0.792780575096,0.795672614266,0.798564653435,0.801456692605,0.804348731775,0.807240770945,0.810132810114,0.813024849284,0.815916888454,0.818808927624,0.821700966793,0.824593005963,0.827485045133,0.830377084303,0.833269123472,0.836161162642,0.839053201812,0.841945240981,0.844837280151,0.847729319321,0.850621358491,0.853513397660,0.856405436830,0.859297476000,0.862189515170,0.865081554339,0.867973593509,0.870865632679,0.867205054014,0.870146221963,0.872921421184,0.875544313124,0.878026462732,0.880377758912,0.882606731602,0.884720794977,0.886726436807,0.888629367858,0.890434641176,0.892146748372,0.893769698072,0.895307080416,0.896762120502,0.898137722987,0.899436509563,0.900660850616,0.901812892131,0.902894578650,0.903907672958,0.904853773018,0.905734326582,0.906550643842,0.907303908383,0.907995186700,0.908625436453,0.909195513631,0.909706178757,0.910158102246,0.910551869001,0.910887982341,0.911166867303,0.911388873389,0.911554276786,0.911663282103,0.911716023644,0.911712566238,0.911652905638,0.911536968495,0.911364611907,0.911135622536,0.910849715273,0.910506531454,0.910105636564,0.909646517437,0.909128578870,0.908551139622,0.907913427727,0.907214575037,0.906453610907,0.905629454900,0.904740908391,0.903786644885,0.902765198861,0.901674952907,0.900514122834,0.899280740432,0.897972633413,0.896587402005,0.895122391508,0.893574659982,0.891940939974,0.890217592927,0.888400554511,0.886485268575,0.884466606735,0.882338769576,0.880095164084,0.877728249927,0.875229344326,0.872588370992,0.869793532148,0.870865632679,0.867973593509,0.865081554339,0.862189515170,0.859297476000,0.856405436830,0.853513397660,0.850621358491,0.847729319321,0.844837280151,0.841945240981,0.839053201812,0.836161162642,0.833269123472,0.830377084303,0.827485045133,0.824593005963,0.821700966793,0.818808927624,0.815916888454,0.813024849284,0.810132810114,0.807240770945,0.804348731775,0.801456692605,0.798564653435,0.795672614266,0.792780575096,0.789888535926,0.786996496757,0.784104457587,0.781212418417,0.778320379247,0.775428340078,0.772536300908,0.769644261738,0.766752222568,0.763860183399,0.760968144229,0.758076105059,0.755184065889,0.752292026720,0.749399987550,0.746507948380,0.743615909211,0.740723870041,0.737831830871,0.734939791701,0.732047752532,0.729155713362,0.726263674192,0.723371635022,0.720479595853,0.717587556683,0.714695517513,0.711803478344,0.708911439174,0.706019400004,0.703127360834,0.700235321665,0.697343282495,0.694451243325,0.691559204155,0.688667164986,0.685775125816,0.682883086646,0.679991047476,0.677099008307,0.674206969137,0.671314929967,0.668422890798,0.665530851628,0.662638812458,0.659746773288,0.656854734119,0.653962694949,0.651070655779,0.648178616609,0.645286577440,0.642394538270,0.639502499100,0.636610459930,0.633718420761,0.630826381591,0.627934342421,0.625042303252,0.622150264082,0.619258224912,0.616366185742,0.613474146573,0.610582107403,0.607690068233,0.604798029063,0.601905989894,0.599013950724,0.596121911554,0.593229872385,0.590337833215,0.587445794045,0.584553754875,0.581661715706,0.578769676536,0.575877637366,0.572985598196,0.570093559027,0.567201519857,0.564309480687,0.561417441517,0.558525402348,0.555633363178,0.552741324008,0.549849284839,0.546957245669,0.544065206499,0.541173167329,0.538281128160,0.535389088990,0.532497049820,0.529605010650,0.526712971481,0.523820932311,0.520928893141,0.518036853971,0.515144814802,0.512252775632,0.509360736462,0.506468697293,0.503576658123,0.500684618953,0.497792579783,0.494900540614,0.492008501444,0.489116462274,0.486224423104,0.483332383935,0.480440344765,0.477548305595,0.474656266425,0.471764227256,0.468872188086,0.465980148916,0.463088109747,0.460196070577,0.457304031407,0.454411992237,0.451519953068,0.448627913898,0.445735874728,0.442843835558,0.439951796389,0.437059757219,0.434167718049,0.431275678880,0.428383639710,0.425491600540,0.422599561370,0.419707522201,0.416815483031,0.413923443861,0.411031404691,0.408139365522,0.405247326352,0.402355287182,0.399463248012,0.396571208843,0.393679169673,0.390787130503,0.387895091334,0.385003052164,0.382111012994,0.379218973824,0.376326934655,0.373434895485,0.370542856315,0.367650817145,0.364758777976,0.361866738806,0.358974699636,0.356082660466,0.353190621297,0.350298582127,0.347406542957,0.344514503788,0.341622464618,0.338730425448,0.335838386278,0.332946347109,0.330054307939,0.327162268769,0.324270229599,0.321378190430,0.318486151260,0.315594112090,0.312702072921,0.309810033751,0.306917994581,0.304025955411,0.301133916242,0.298241877072,0.295349837902,0.292457798732,0.289565759563,0.286673720393,0.283781681223,0.280889642053,0.277997602884,0.275105563714,0.272213524544,0.269321485375,0.266429446205,0.263537407035,0.260645367865,0.257753328696,0.254861289526,0.251969250356,0.249077211186,0.246185172017,0.243293132847,0.240401093677,0.237509054507,0.234617015338,0.231724976168,0.228832936998,0.225940897829,0.223048858659,0.220156819489,0.217264780319,0.214372741150,0.211480701980,0.208588662810,0.205696623640,0.202804584471,0.197020506131,0.194128466962,0.191236427792,0.188344388622,0.185452349452,0.182560310283,0.179668271113,0.176776231943,0.173884192773,0.170992153604,0.168100114434,0.165208075264,0.162316036094,0.159423996925,0.156531957755,0.153639918585,0.150747879416,0.147855840246,0.144963801076,0.142071761906,0.139179722737,0.136287683567,0.133395644397,0.130503605227,0.127611566058,0.124719526888,0.121827487718,0.118935448548,0.116043409379,0.113151370209,0.110259331039,0.107367291870,0.104475252700,0.101583213530,0.098691174360,0.095799135191,0.092907096021,0.090015056851,0.087123017681,0.084230978512,0.081338939342,0.078446900172,0.075554861002,0.072662821833,0.069770782663,0.066878743493,0.063986704324,0.061094665154,0.058202625984,0.055310586814,0.052418547645,0.049526508475,0.046634469305,0.043742430135,0.040850390966,0.037958351796,0.038794602460,0.036171710521,0.033689560912,0.031338264732,0.029109292043,0.026995228668,0.024989586837,0.023086655787,0.021281382468,0.019569275272,0.017946325572,0.016408943228,0.014953903143,0.013578300657,0.012279514082,0.011055173028,0.009903131514,0.008821444995,0.007808350687,0.006862250627,0.005981697062,0.005165379802,0.004412115261,0.003720836944,0.003090587192,0.002520510014,0.002009844887,0.001557921399,0.001164154644,0.000828041304,0.000549156341,0.000327150255,0.000161746858,0.000052741541] + else: + obj.internal55_data = internal55_data + if len(external55_data)==0: + obj.external55_data = [0.000000000000,0.000003457406,0.000063118007,0.000179055150,0.000351411737,0.000580401109,0.000866308371,0.001209492191,0.001610387080,0.002069506207,0.002587444775,0.003164884023,0.003802595917,0.004501448607,0.005262412738,0.006086568744,0.006975115253,0.007929378759,0.008950824783,0.010041070738,0.011201900811,0.012435283213,0.013743390231,0.015128621640,0.016593632137,0.018141363663,0.019775083671,0.021498430717,0.023315469134,0.025230755070,0.027249416909,0.029377254068,0.031620859561,0.033987773717,0.036486679318,0.039127652653,0.040850390966,0.043742430135,0.046634469305,0.049526508475,0.052418547645,0.055310586814,0.058202625984,0.061094665154,0.063986704324,0.066878743493,0.069770782663,0.072662821833,0.075554861002,0.078446900172,0.081338939342,0.084230978512,0.087123017681,0.090015056851,0.092907096021,0.095799135191,0.098691174360,0.101583213530,0.104475252700,0.107367291870,0.110259331039,0.113151370209,0.116043409379,0.118935448548,0.121827487718,0.124719526888,0.127611566058,0.130503605227,0.133395644397,0.136287683567,0.139179722737,0.142071761906,0.144963801076,0.147855840246,0.150747879416,0.153639918585,0.156531957755,0.159423996925,0.162316036094,0.165208075264,0.168100114434,0.170992153604,0.173884192773,0.176776231943,0.179668271113,0.182560310283,0.185452349452,0.188344388622,0.191236427792,0.194128466962,0.197020506131,0.199912545301,0.202804584471,0.205696623640,0.208588662810,0.211480701980,0.214372741150,0.217264780319,0.220156819489,0.223048858659,0.225940897829,0.228832936998,0.231724976168,0.234617015338,0.237509054507,0.240401093677,0.243293132847,0.246185172017,0.249077211186,0.251969250356,0.254861289526,0.257753328696,0.260645367865,0.263537407035,0.266429446205,0.269321485375,0.272213524544,0.275105563714,0.277997602884,0.280889642053,0.283781681223,0.286673720393,0.289565759563,0.292457798732,0.295349837902,0.298241877072,0.301133916242,0.304025955411,0.306917994581,0.309810033751,0.312702072921,0.315594112090,0.318486151260,0.321378190430,0.324270229599,0.327162268769,0.330054307939,0.332946347109,0.335838386278,0.338730425448,0.341622464618,0.344514503788,0.347406542957,0.350298582127,0.353190621297,0.356082660466,0.358974699636,0.361866738806,0.364758777976,0.367650817145,0.370542856315,0.373434895485,0.376326934655,0.379218973824,0.382111012994,0.385003052164,0.387895091334,0.390787130503,0.393679169673,0.396571208843,0.399463248012,0.402355287182,0.405247326352,0.408139365522,0.411031404691,0.413923443861,0.416815483031,0.419707522201,0.422599561370,0.425491600540,0.428383639710,0.431275678880,0.434167718049,0.437059757219,0.439951796389,0.442843835558,0.445735874728,0.448627913898,0.451519953068,0.454411992237,0.457304031407,0.460196070577,0.463088109747,0.465980148916,0.468872188086,0.471764227256,0.474656266425,0.477548305595,0.480440344765,0.483332383935,0.486224423104,0.489116462274,0.492008501444,0.494900540614,0.497792579783,0.500684618953,0.503576658123,0.506468697293,0.509360736462,0.512252775632,0.515144814802,0.518036853971,0.520928893141,0.523820932311,0.526712971481,0.529605010650,0.532497049820,0.535389088990,0.538281128160,0.541173167329,0.544065206499,0.546957245669,0.549849284839,0.552741324008,0.555633363178,0.558525402348,0.561417441517,0.564309480687,0.567201519857,0.570093559027,0.572985598196,0.575877637366,0.578769676536,0.581661715706,0.584553754875,0.587445794045,0.590337833215,0.593229872385,0.596121911554,0.599013950724,0.601905989894,0.604798029063,0.607690068233,0.610582107403,0.613474146573,0.616366185742,0.619258224912,0.622150264082,0.625042303252,0.627934342421,0.630826381591,0.633718420761,0.636610459930,0.639502499100,0.642394538270,0.645286577440,0.648178616609,0.651070655779,0.653962694949,0.656854734119,0.659746773288,0.662638812458,0.665530851628,0.668422890798,0.671314929967,0.674206969137,0.677099008307,0.679991047476,0.682883086646,0.685775125816,0.688667164986,0.691559204155,0.694451243325,0.697343282495,0.700235321665,0.703127360834,0.706019400004,0.708911439174,0.711803478344,0.714695517513,0.717587556683,0.720479595853,0.723371635022,0.726263674192,0.729155713362,0.732047752532,0.734939791701,0.737831830871,0.740723870041,0.743615909211,0.746507948380,0.749399987550,0.752292026720,0.755184065889,0.758076105059,0.760968144229,0.763860183399,0.766752222568,0.769644261738,0.772536300908,0.775428340078,0.778320379247,0.781212418417,0.784104457587,0.786996496757,0.789888535926,0.792780575096,0.795672614266,0.798564653435,0.801456692605,0.804348731775,0.807240770945,0.810132810114,0.813024849284,0.815916888454,0.818808927624,0.821700966793,0.824593005963,0.827485045133,0.830377084303,0.833269123472,0.836161162642,0.839053201812,0.841945240981,0.844837280151,0.847729319321,0.850621358491,0.853513397660,0.856405436830,0.859297476000,0.862189515170,0.865081554339,0.867973593509,0.870865632679,0.867205054014,0.870146221963,0.872921421184,0.875544313124,0.878026462732,0.880377758912,0.882606731602,0.884720794977,0.886726436807,0.888629367858,0.890434641176,0.892146748372,0.893769698072,0.895307080416,0.896762120502,0.898137722987,0.899436509563,0.900660850616,0.901812892131,0.902894578650,0.903907672958,0.904853773018,0.905734326582,0.906550643842,0.907303908383,0.907995186700,0.908625436453,0.909195513631,0.909706178757,0.910158102246,0.910551869001,0.910887982341,0.911166867303,0.911388873389,0.911554276786,0.911663282103,0.911716023644,0.911712566238,0.911652905638,0.911536968495,0.911364611907,0.911135622536,0.910849715273,0.910506531454,0.910105636564,0.909646517437,0.909128578870,0.908551139622,0.907913427727,0.907214575037,0.906453610907,0.905629454900,0.904740908391,0.903786644885,0.902765198861,0.901674952907,0.900514122834,0.899280740432,0.897972633413,0.896587402005,0.895122391508,0.893574659982,0.891940939974,0.890217592927,0.888400554511,0.886485268575,0.884466606735,0.882338769576,0.880095164084,0.877728249927,0.875229344326,0.872588370992,0.869793532148,0.870865632679,0.867973593509,0.865081554339,0.862189515170,0.859297476000,0.856405436830,0.853513397660,0.850621358491,0.847729319321,0.844837280151,0.841945240981,0.839053201812,0.836161162642,0.833269123472,0.830377084303,0.827485045133,0.824593005963,0.821700966793,0.818808927624,0.815916888454,0.813024849284,0.810132810114,0.807240770945,0.804348731775,0.801456692605,0.798564653435,0.795672614266,0.792780575096,0.789888535926,0.786996496757,0.784104457587,0.781212418417,0.778320379247,0.775428340078,0.772536300908,0.769644261738,0.766752222568,0.763860183399,0.760968144229,0.758076105059,0.755184065889,0.752292026720,0.749399987550,0.746507948380,0.743615909211,0.740723870041,0.737831830871,0.734939791701,0.732047752532,0.729155713362,0.726263674192,0.723371635022,0.720479595853,0.717587556683,0.714695517513,0.711803478344,0.708911439174,0.706019400004,0.703127360834,0.700235321665,0.697343282495,0.694451243325,0.691559204155,0.688667164986,0.685775125816,0.682883086646,0.679991047476,0.677099008307,0.674206969137,0.671314929967,0.668422890798,0.665530851628,0.662638812458,0.659746773288,0.656854734119,0.653962694949,0.651070655779,0.648178616609,0.645286577440,0.642394538270,0.639502499100,0.636610459930,0.633718420761,0.630826381591,0.627934342421,0.625042303252,0.622150264082,0.619258224912,0.616366185742,0.613474146573,0.610582107403,0.607690068233,0.604798029063,0.601905989894,0.599013950724,0.596121911554,0.593229872385,0.590337833215,0.587445794045,0.584553754875,0.581661715706,0.578769676536,0.575877637366,0.572985598196,0.570093559027,0.567201519857,0.564309480687,0.561417441517,0.558525402348,0.555633363178,0.552741324008,0.549849284839,0.546957245669,0.544065206499,0.541173167329,0.538281128160,0.535389088990,0.532497049820,0.529605010650,0.526712971481,0.523820932311,0.520928893141,0.518036853971,0.515144814802,0.512252775632,0.509360736462,0.506468697293,0.503576658123,0.500684618953,0.497792579783,0.494900540614,0.492008501444,0.489116462274,0.486224423104,0.483332383935,0.480440344765,0.477548305595,0.474656266425,0.471764227256,0.468872188086,0.465980148916,0.463088109747,0.460196070577,0.457304031407,0.454411992237,0.451519953068,0.448627913898,0.445735874728,0.442843835558,0.439951796389,0.437059757219,0.434167718049,0.431275678880,0.428383639710,0.425491600540,0.422599561370,0.419707522201,0.416815483031,0.413923443861,0.411031404691,0.408139365522,0.405247326352,0.402355287182,0.399463248012,0.396571208843,0.393679169673,0.390787130503,0.387895091334,0.385003052164,0.382111012994,0.379218973824,0.376326934655,0.373434895485,0.370542856315,0.367650817145,0.364758777976,0.361866738806,0.358974699636,0.356082660466,0.353190621297,0.350298582127,0.347406542957,0.344514503788,0.341622464618,0.338730425448,0.335838386278,0.332946347109,0.330054307939,0.327162268769,0.324270229599,0.321378190430,0.318486151260,0.315594112090,0.312702072921,0.309810033751,0.306917994581,0.304025955411,0.301133916242,0.298241877072,0.295349837902,0.292457798732,0.289565759563,0.286673720393,0.283781681223,0.280889642053,0.277997602884,0.275105563714,0.272213524544,0.269321485375,0.266429446205,0.263537407035,0.260645367865,0.257753328696,0.254861289526,0.251969250356,0.249077211186,0.246185172017,0.243293132847,0.240401093677,0.237509054507,0.234617015338,0.231724976168,0.228832936998,0.225940897829,0.223048858659,0.220156819489,0.217264780319,0.214372741150,0.211480701980,0.208588662810,0.205696623640,0.202804584471,0.197020506131,0.194128466962,0.191236427792,0.188344388622,0.185452349452,0.182560310283,0.179668271113,0.176776231943,0.173884192773,0.170992153604,0.168100114434,0.165208075264,0.162316036094,0.159423996925,0.156531957755,0.153639918585,0.150747879416,0.147855840246,0.144963801076,0.142071761906,0.139179722737,0.136287683567,0.133395644397,0.130503605227,0.127611566058,0.124719526888,0.121827487718,0.118935448548,0.116043409379,0.113151370209,0.110259331039,0.107367291870,0.104475252700,0.101583213530,0.098691174360,0.095799135191,0.092907096021,0.090015056851,0.087123017681,0.084230978512,0.081338939342,0.078446900172,0.075554861002,0.072662821833,0.069770782663,0.066878743493,0.063986704324,0.061094665154,0.058202625984,0.055310586814,0.052418547645,0.049526508475,0.046634469305,0.043742430135,0.040850390966,0.037958351796,0.038794602460,0.036171710521,0.033689560912,0.031338264732,0.029109292043,0.026995228668,0.024989586837,0.023086655787,0.021281382468,0.019569275272,0.017946325572,0.016408943228,0.014953903143,0.013578300657,0.012279514082,0.011055173028,0.009903131514,0.008821444995,0.007808350687,0.006862250627,0.005981697062,0.005165379802,0.004412115261,0.003720836944,0.003090587192,0.002520510014,0.002009844887,0.001557921399,0.001164154644,0.000828041304,0.000549156341,0.000327150255,0.000161746858,0.000052741541] + else: + obj.external55_data = external55_data + obj.Pitch = pitch #default pitch obj.MinorDiameter = minor_diameter #M6x1 internal 6g tolerance class is default