You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: OpenbuildsFusion360PostGrbl.cps
+62-27
Original file line number
Diff line number
Diff line change
@@ -42,8 +42,9 @@ Changelog
42
42
24 Nov 2021 - V1.0.28 : Improved coolant selection, tweaked property groups, tweaked G53 generation, links for help in comments.
43
43
21 Feb 2022 - V1.0.29 : Fix sideeffects of drill operation having rapids even when in noRapid mode by always resetting haveRapid in onSection
44
44
10 May 2022 - V1.0.30 : Change naming convention for first filein multifile output (Sharmstr)
45
+
xx Sep 2022 - V1.0.31 : better laser, with pierce option if cutting
45
46
*/
46
-
obversion = 'V1.0.30';
47
+
obversion = 'V1.0.31';
47
48
description = "OpenBuilds CNC : GRBL/BlackBox"; // cannot have brackets in comments
48
49
longDescription = description + " : Post" + obversion; // adds description to post library dialog box
49
50
vendor = "OpenBuilds";
@@ -81,10 +82,11 @@ properties =
81
82
machineHomeX : -10, // always in millimeters
82
83
machineHomeY : -10,
83
84
gotoMCSatend : false, // true will do G53 G0 x{machinehomeX} y{machinehomeY}, false will do G0 x{machinehomeX} y{machinehomeY} at endofprogram
84
-
PowerVaporise : 100, // cutting power in percent
85
-
PowerThrough : 50,
86
-
PowerEtch : 2,
85
+
PowerVaporise : 5, // cutting power in percent, to vaporize plastic coatings
86
+
PowerThrough : 100, // for through cutting
87
+
PowerEtch : 10, // for etching the surface
87
88
UseZ : false, // if true then Z will be moved to 0 at beginning and back to 'retract height' at end
89
+
UsePierce : false, // if true && islaser && cutting use M3 and honor pierce delays, else use M4
88
90
//plasma stuff
89
91
plasma_usetouchoff : false, // use probe for touchoff if true
90
92
plasma_touchoffOffset : 5.0, // offset from trigger point to real Z0, used in G10 line
@@ -201,10 +203,11 @@ propertyDefinitions = {
201
203
type:"boolean",
202
204
},
203
205
204
-
PowerVaporise: {title:"LASER: Power for Vaporizing", description:"Scary power VAPORIZE power setting, in percent.", group:"laserPlasma", type:"integer"},
206
+
PowerVaporise: {title:"LASER: Power for Vaporizing", description:"Just enough Power toVAPORIZE plastic coating, in percent.", group:"laserPlasma", type:"integer"},
205
207
PowerThrough: {title:"LASER: Power for Through Cutting", description:"Normal Through cutting power, in percent.", group:"laserPlasma", type:"integer"},
206
208
PowerEtch: {title:"LASER: Power for Etching", description:"Just enough power to Etch the surface, in percent.", group:"laserPlasma", type:"integer"},
207
209
UseZ: {title:"LASER: Use Z motions at start andend.", description:"Use True if you have a laser on a router with Z motion, or a PLASMA cutter.", group:"laserPlasma", type:"boolean"},
210
+
UsePierce: {title:"LASER: Use pierce delays with M3 motion when cutting.", description:"True will use M3 commands and pierce delays, else use M4 with no delays.", group:"laserPlasma", type:"boolean"},
208
211
plasma_usetouchoff: {title:"PLASMA: Use Z touchoff probe routine", description:"Setto true if have a touchoff probe for Plasma.", group:"laserPlasma", type:"boolean"},
209
212
plasma_touchoffOffset:{title:"PLASMA: Plasma touch probe offset", description:"Offset in Z at which the probe triggers, always Millimeters, always positive.", group:"laserPlasma", type:"spatial"},
210
213
@@ -284,6 +287,7 @@ var retractHeight = 1; // will be set by onParameter and used in onLinear to de
284
287
var clearanceHeight = 10; // will be set by onParameter
285
288
var topHeight = 1; // set by onParameter
286
289
var leadinRate = 314; // set by onParameter: the lead-in feedrate,plasma
290
+
var cuttingMode = 'none'; // set by onParameter for laser/plasma
287
291
var linmove = 1; // linear move mode
288
292
var toolRadius; // for arc linearization
289
293
var plasma_pierceHeight = 1; // set by onParameter from Linking|PierceClearance
0 commit comments