fix left/right cutout tab width. hide extrusion for cam mode
This commit is contained in:
parent
a727a24327
commit
836aee23e9
4 changed files with 28 additions and 3 deletions
|
|
@ -742,7 +742,7 @@ var gs_kiri_cam = exports;
|
||||||
const outside = 10000,
|
const outside = 10000,
|
||||||
width = (tabWidth + toolDiam) / 2,
|
width = (tabWidth + toolDiam) / 2,
|
||||||
// horizontal top cut
|
// horizontal top cut
|
||||||
htl = { x: -outside, y: tabWidth / 2 },
|
htl = { x: -outside, y: width },
|
||||||
htr = { x: -htl.x, y: htl.y },
|
htr = { x: -htl.x, y: htl.y },
|
||||||
// horizontal bottom cut
|
// horizontal bottom cut
|
||||||
hbl = { x: htl.x, y: -htl.y },
|
hbl = { x: htl.x, y: -htl.y },
|
||||||
|
|
|
||||||
|
|
@ -2645,7 +2645,7 @@ self.kiri.license = exports.LICENSE;
|
||||||
finishing: UC.newGroup("finishing", null, {modes:CAM}),
|
finishing: UC.newGroup("finishing", null, {modes:CAM}),
|
||||||
finishingTool: UC.newSelectField("tool", {modes:CAM}),
|
finishingTool: UC.newSelectField("tool", {modes:CAM}),
|
||||||
finishingSpindle: UC.newInput("spindle rpm", {title:"spindle speed rpm", convert:UC.toInt, modes:CAM}),
|
finishingSpindle: UC.newInput("spindle rpm", {title:"spindle speed rpm", convert:UC.toInt, modes:CAM}),
|
||||||
finishingOver: UC.newInput("step over", {title:"0.05 - 1.0\npercentage of\ntool diameter", convert:UC.toFloat, bound:UC.bound(0.05,1.0), modes:CAM}),
|
finishingOver: UC.newInput("step over", {title:"0.05 - 1.0\npercentage of\ntool diameter\nfor linear XY", convert:UC.toFloat, bound:UC.bound(0.05,1.0), modes:CAM}),
|
||||||
finishingDown: UC.newInput("step down", {title:"step down depth\nfor each pass\nin millimeters\n0 to disable", convert:UC.toFloat, modes:CAM}),
|
finishingDown: UC.newInput("step down", {title:"step down depth\nfor each pass\nin millimeters\n0 to disable", convert:UC.toFloat, modes:CAM}),
|
||||||
finishingAngle: UC.newInput("max angle", {title:"angles greater than this\nare considered vertical", convert:UC.toFloat, bound:UC.bound(45,90), modes:CAM}),
|
finishingAngle: UC.newInput("max angle", {title:"angles greater than this\nare considered vertical", convert:UC.toFloat, bound:UC.bound(45,90), modes:CAM}),
|
||||||
finishingSpeed: UC.newInput("feed rate", {title:"max speed while cutting\nmillimeters / minute", convert:UC.toInt, modes:CAM}),
|
finishingSpeed: UC.newInput("feed rate", {title:"max speed while cutting\nmillimeters / minute", convert:UC.toInt, modes:CAM}),
|
||||||
|
|
@ -3267,6 +3267,7 @@ self.kiri.license = exports.LICENSE;
|
||||||
|
|
||||||
// hide spindle fields when device doens't support it
|
// hide spindle fields when device doens't support it
|
||||||
[
|
[
|
||||||
|
UI.setDeviceExtrusion,
|
||||||
UI.roughingSpindle,
|
UI.roughingSpindle,
|
||||||
UI.finishingSpindle,
|
UI.finishingSpindle,
|
||||||
UI.drillSpindle
|
UI.drillSpindle
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
var exports = {
|
var exports = {
|
||||||
COPYRIGHT:"Copyright (C) 2014-2019 Stewart Allen <sa@grid.space> - All Rights Reserved",
|
COPYRIGHT:"Copyright (C) 2014-2019 Stewart Allen <sa@grid.space> - All Rights Reserved",
|
||||||
LICENSE:"See the license.md file included with the source distribution",
|
LICENSE:"See the license.md file included with the source distribution",
|
||||||
VERSION:"1.5.0"
|
VERSION:"1.5.1"
|
||||||
};
|
};
|
||||||
if (!module) var module = {};
|
if (!module) var module = {};
|
||||||
module.exports = exports;
|
module.exports = exports;
|
||||||
|
|
|
||||||
24
web/kiri/filter/CAM/Sienci.LongMill
Normal file
24
web/kiri/filter/CAM/Sienci.LongMill
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
"file-ext": "nc",
|
||||||
|
"token-space": " ",
|
||||||
|
"strip-comments": true,
|
||||||
|
"pre":[
|
||||||
|
"G21 ; set units to MM (required)",
|
||||||
|
"G90 ; absolute position mode (required)",
|
||||||
|
"G0 F6000 ; default rapid move speed",
|
||||||
|
"G1 F1500 ; default cutting speed"
|
||||||
|
],
|
||||||
|
"post":[
|
||||||
|
"M30 ; program end"
|
||||||
|
],
|
||||||
|
"tool-change":[
|
||||||
|
"M6 T{tool} ; change tool to '{tool_name}'"
|
||||||
|
],
|
||||||
|
"dwell":[
|
||||||
|
"G4 P{time} ; dwell for {time}ms"
|
||||||
|
],
|
||||||
|
"settings": {
|
||||||
|
"bed_width": 760,
|
||||||
|
"bed_depth": 760
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue