checkpoint tracing

This commit is contained in:
Stewart Allen 2020-12-01 18:19:28 -05:00
commit 0ff23ef8cd
11 changed files with 188 additions and 82 deletions

View file

@ -303,11 +303,11 @@
type: 'poly',
id: this.id,
array: encodePointArray(this.points, state),
open: this.isOpen(),
inner: encode(this.inner, state),
parent: encode(this.parent, state),
depth: this.depth,
color: this.color
color: this.color,
open: this.open
};
};

View file

@ -437,7 +437,9 @@
camContourXOn: true,
camContourYOn: true,
camTraceTool: 1000,
camTraceType: "follow",
camTraceSpeed: 250,
camTracePlunge: 200,
camDrillTool: 1000,
camDrillSpindle: 1000,
camDrillDownSpeed: 250,

View file

@ -1610,10 +1610,12 @@
camContourSep: UC.newBlank({class:"pop-sep"}),
camContourYOn: UC.newBoolean(LANG.cf_liny_s, onBooleanClick, {title:LANG.cf_liny_l, modes:CAM}),
camContourXOn: UC.newBoolean(LANG.cf_linx_s, onBooleanClick, {title:LANG.cf_linx_l, modes:CAM}),
camTracing: UC.newGroup(LANG.cu_menu, null, {modes:CAM, marker:true}),
camTraceTool: UC.newSelect(LANG.cc_tool, {modes:CAM}),
camTraceSpeed: UC.newInput(LANG.cc_feed_s, {title:LANG.cc_feed_l, convert:UC.toInt, modes:CAM}),
camTraceSep: UC.newBlank({class:"pop-sep"}),
camTracing: UC.newGroup(LANG.cu_menu, null, {modes:CAM, marker:true}),
camTraceTool: UC.newSelect(LANG.cc_tool, {modes:CAM}),
camTraceType: UC.newSelect(LANG.cu_type_s, {title:LANG.cu_type_l, modes:CAM}, "trace"),
camTraceSpeed: UC.newInput(LANG.cc_feed_s, {title:LANG.cc_feed_l, convert:UC.toInt, modes:CAM}),
camTracePlunge: UC.newInput(LANG.cc_plng_s, {title:LANG.cc_plng_l, convert:UC.toFloat, modes:CAM, units:true}),
camTraceSep: UC.newBlank({class:"pop-sep"}),
camTraceSelect: UC.newRow([
(UI.traceAdd = UC.newButton(undefined, onButtonClick, {icon:'<i class="fas fa-plus"></i>'})),
(UI.traceDun = UC.newButton(undefined, onButtonClick, {icon:'<i class="fas fa-check"></i>'})),

View file

@ -177,6 +177,11 @@
{ name: "300" },
{ name: "400" },
{ name: "500" }
],
trace: [
{ name: "follow" },
{ name: "out" },
{ name: "in" }
]
};