From 0c83b2d13e9a6010e3c2f66bea7d591e44caffc7 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sun, 13 Sep 2020 17:00:19 -0400 Subject: [PATCH] Distribute `shopbot.ini` and `my_variables.sbc` files --- my_variables.sbc | 127 +++++++++++++++++++++++++++++++++++++++++++++++ shopbot.ini | 21 ++++++++ shopbot.sls | 10 +++- 3 files changed, 157 insertions(+), 1 deletion(-) create mode 100755 my_variables.sbc create mode 100755 shopbot.ini diff --git a/my_variables.sbc b/my_variables.sbc new file mode 100755 index 0000000..ed81cfb --- /dev/null +++ b/my_variables.sbc @@ -0,0 +1,127 @@ +'MY_VARIABLES.SBC -- File Containing Common User Defined Variables -- Call at the beginning of any file needing to use them +'Copyright 2005-2007. ShopBot Tools, Inc. +'B.Young 9/05, R.Patterson 12/07 +'Generated from MASTER VERSION 12/20/07 +'R.Patterson 12/28/09 added 'Manual Tool Change numbers +'This File is normally modified by the SetUp Tool in the ShopBot Software, but can also be modified manually if the format is maintained. +' (This file can be cleanly regenerated by deleting it and reinstalling the ShopBot Software) +'User takes responsibility for the effects and outcomes of the use of this program. +' + +'Tracks whether Shopbot Setup has run +&my_hasrunsetup=0 + +'Personal info that might help tech support at some point +&my_name="Typeyournamehere" +&my_email="Typeyouremailaddress" +&my_phone="Typeyourphonenumber" +&my_purchasedate="Purchasedate" +&my_sbtype="Which:PRSalpha;PRSstandard;PRTalpha;PRTstandard;Buddyalpha;Buddystandard" + +'This is the measurement system that you normally use. +' it uses the same values as the ShopBot system variable...0 for inches, 1 for millimeters +&my_units=0 + +'Your Table Size +&my_tablesizeX= +&my_tablesizeY= +&my_tablesizeZ= + +'These values are used in the ZZero routine +&my_hasZzero=1 +&my_ZzeroThickness=0.121 +&my_ZzeroInput=1 +&my_ZzeroSafeZ=1.0 +&my_hasZProx=0 + +'Indicates whether you always want to zero your z-axis in the same place on the table, change these values to +' the coordinates of the point that you want to use. +&my_ZzeroStartX=no +&my_ZzeroStartY=no + +'These values are used by the XYZero program +&my_hasProx=1 +&my_XYzeroSafeZ=1 +&my_XYzeroOffsetX=-0.371 +&my_XYzeroOffsetY=-0.688 +&my_XYzeroOffsetZ=1 +&my_XYzeroOffsetA=75 +&my_XYzeroOffsetB=95 + +'Change this to 1 if you have either multiple cutting heads...2 routers for instance... or a drill head +&my_hasMultiple=0 +'Indicates number of ShopBot drill head(s) +&My_NumberOfDrills=0 + +'PRT Drills +&my_XinDrilloffset_T2=6'Inputthedistanceininchesbetweenrouter1anddrillhead1intheXdirection. +&my_XmmDrilloffset_T2=152.4'Inputthedistanceinmillimetersbetweenrouter1anddrillhead1intheXdirectionhere. +&my_YinDrilloffset_T2=0'Inputthedistanceininchesbetweenrouter1anddrillhead1intheYdirectionhere. +&my_YmmDrilloffset_T2=0'Inputthedistanceinmillimetersbetweenrouter1anddrillhead1intheYdirectionhere. + +&my_XinDrilloffset_T3=6'Inputthedistanceininchesbetweenrouter1anddrillhead1intheXdirectionhere. +&my_XmmDrilloffset_T3=152.4'Inputthedistanceinmillimetersbetweenrouter1anddrillhead1intheXdirectionhere. +&my_YinDrilloffset_T3=0'Inputthedistanceininchesbetweenrouter1anddrillhead1intheYdirectionhere. +&my_YmmDrilloffset_T3=0'Inputthedistanceinmillimetersbetweenrouter1anddrillhead1intheYdirectionhere. + +'PRS Drills +&my_XinDrilloffset_T31=6 'Inputthedistanceininchesbetweenrouter1anddrillhead1intheXdirectionhere. +&my_XmmDrilloffset_T31=152.4'Inputthedistanceinmillimetersbetweenrouter1anddrillhead1intheXdirectionhere. +&my_YinDrilloffset_T31=0 'Inputthedistanceininchesbetweenrouter1anddrillhead1intheYdirectionhere. +&my_YmmDrilloffset_T31=0'Inputthedistanceinmillimetersbetweenrouter1anddrillhead1intheYdirectionhere. +&my_ZinDrilloffset_T31=0 'Inputthedistanceininchesbetweenrouter1anddrillhead1intheZdirectionhere. +&my_ZmmDrilloffset_T31=0 'Inputthedistanceinmillimetersbetweenrouter1anddrillhead1intheZdirectionhere. +&my_DrillOutput31=5 'SettheoutputforthecorrectDrill. + +&my_XinDrilloffset_T32=6 'Inputthedistanceininchesbetweenrouter1anddrillhead2intheXdirectionhere. +&my_XmmDrilloffset_T32=152.4'Inputthedistanceinmillimetersbetweenrouter1anddrillhead2intheXdirectionhere. +&my_YinDrilloffset_T32=0 'Inputthedistanceininchesbetweenrouter1anddrillhead2intheYdirectionhere. +&my_YmmDrilloffset_T32=0'Inputthedistanceinmillimetersbetweenrouter1anddrillhead2intheYdirectionhere. +&my_ZinDrilloffset_T32=0 'Inputthedistanceininchesbetweenrouter1anddrillhead2intheZdirectionhere. +&my_ZmmDrilloffset_T32=0 'Inputthedistanceinmillimetersbetweenrouter1anddrillhead2intheZdirectionhere. +&my_DrillOutput32=6 'SettheoutputforthecorrectDrill. + +&my_XinDrilloffset_T33=6 'Inputthedistanceininchesbetweenrouter1anddrillhead3intheXdirectionhere. +&my_XmmDrilloffset_T33=152.4'Inputthedistanceinmillimetersbetweenrouter1anddrillhead3intheXdirectionhere. +&my_YinDrilloffset_T33=0 'Inputthedistanceininchesbetweenrouter1anddrillhead3intheYdirectionhere. +&my_YmmDrilloffset_T33=0'Inputthedistanceinmillimetersbetweenrouter1anddrillhead3intheYdirectionhere. +&my_ZinDrilloffset_T33=0 'Inputthedistanceininchesbetweenrouter1anddrillhead3intheZdirectionhere. +&my_ZmmDrilloffset_T33=0 'Inputthedistanceinmillimetersbetweenrouter1anddrillhead3intheZdirectionhere. +&my_DrillOutput33=7 'SettheoutputforthecorrectDrill. + +&my_XinDrilloffset_T34=6 'Inputthedistanceininchesbetweenrouter1anddrillhead4intheXdirectionhere. +&my_XmmDrilloffset_T34=152.4'Inputthedistanceinmillimetersbetweenrouter1anddrillhead4intheXdirectionhere. +&my_YinDrilloffset_T34=0 'Inputthedistanceininchesbetweenrouter1anddrillhead4intheYdirectionhere. +&my_YmmDrilloffset_T34=0'Inputthedistanceinmillimetersbetweenrouter1anddrillhead4intheYdirectionhere. +&my_ZinDrilloffset_T34=0 'Inputthedistanceininchesbetweenrouter1anddrillhead4intheZdirectionhere. +&my_ZmmDrilloffset_T34=0 'Inputthedistanceinmillimetersbetweenrouter1anddrillhead4intheZdirectionhere. +&my_DrillOutput34=8 'SettheoutputforthecorrectDrill. + +' these are used if you have multiple cutting heads...maybe 2 routers +&my_XinHead2offset=6 'Inputthedistanceininchesbetweenrouter1androuter2intheXdirectionhere. +&my_XmmHead2offset=152.4'Inputthedistanceinmillimetersbetweenrouter1androuter2intheXdirectionhere. +&my_YinHead2offset=0 'Inputthedistanceininchesbetweenrouter1androuter2intheYdirectionhere. +&my_YmmHead2offset=0'Inputthedistanceinmillimetersbetweenrouter1androuter2intheYdirectionhere. + +'Manual Tool Change numbers +&MaxDepth=-.02 +&ATC=0 +&z_tool= 4 +&a_tool=21 +&z_drill_bit2=31 +&z_drill_bit=41 +&a_drill_bit2=51 +&a_drill_bit=61 +&drilltype=1 +&ToolName="" + + + + +'These values are used by the XYZero program +&5AX_calibration_units=0 +&5AX_calibration_plate_width=.570'widthofcalibrationplate,calculatedin5AX_AB_CalibrationRoutine +&5AX_gauge_factor=.250'distancebetweenhittingyproxswitchandhittingsideplatewithendofspindle +&5AX_side_plate_height=1'distancebetweencenterofsideplateandzproxswitch +&5AX_gauge_length=6.295'gaugelengthusedforpostprocessing(rarelychanges) +&5AX_tool_length=0'toollengthusedforpostprocessing(changeswitheverybit) diff --git a/shopbot.ini b/shopbot.ini new file mode 100755 index 0000000..43dc4a0 --- /dev/null +++ b/shopbot.ini @@ -0,0 +1,21 @@ +'ShopBot Configuration Version 3.8.50 --- 02-27-2020 15:00:05 +' Copyright 1997-2018 ShopBot Tools, Inc. All Rights Reserved. +VK, +VD, 1, 3, 0, 0, 2, 1, 0, .1, 0, 1, 1, -2500, -7500, 8800, 4600, 0, 0, 0 +VU, 1833.465, 1833.465, 2291.831, 2291.831, .05, , , .25, 40.000, 1, 1, 1, 1, 1, 1, 0 +VA, .0000, .0000, .0000, .0000, .0000, .0000, .0000, .0000, .0000, .0000, .0000 +SA +SO, 4,-1 +VS, 3.00, 1.00, 1, 50, 6.00, 3, 3, 100 +VR, .4, .4, .4, 10, .4, .4, .4, 10, .2, .2, 100, .15, 65, 0, 0, .200, .250 +SW, 2, , +VL, -.5, 96.5, -.5, 48.5, -2, 8.0, -3.0, 8.0, 0, -500, 500, 5 +VP, 6, 96, 48, 6, 0, 0, 1, 1, -1, -1 +VC, 0.25, , , 1.00, 0, 10, 1.00, 0, , , Z, 8 +VB, .1, 4.0, 1.0, .50, , 0, +VI, 4, 0, 0, 0, X, Y, Z, A, 5, B, 1 +VN, 0, 0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +VH, 0, .25, 0, 0, 5.4, 3, 0 +FS, C:\SBPARTS\, *.sbp, c:\SbParts\Custom\ +UN, SbEdit.exe +SP diff --git a/shopbot.sls b/shopbot.sls index 8d4e408..c92ea24 100644 --- a/shopbot.sls +++ b/shopbot.sls @@ -7,5 +7,13 @@ shopbot: - require: - sls: chocolatey -# TODO: shopbot ini file +shopbot.ini: + file.managed: + - name: 'C:\ProgramData\ShopBot\ShopBot 3\shopbot.ini' + - source: 'salt://shopbot.ini' +my_variables.sbc: + file.managed: + - name: 'C:\sbParts\Custom\my_variables.sbc' + - source: 'salt://my_variables.sbc' + - replace: False