rename 3d stack to fixed - repurpose for drag knife, etc

This commit is contained in:
Stewart Allen 2024-12-23 23:12:05 -05:00
commit 7dd593bb83
4 changed files with 11 additions and 6 deletions

View file

@ -300,6 +300,8 @@ async function prepare(widgets, settings, update) {
for (let widget of widgets) {
if (process.ctOutStack) {
// 3d stack output, no merging or layout
for (let slice of widget.slices) {
}
} else if (process.ctOutMerged) {
// slice stack merging, no layout
// there are no inner vs outer polys

View file

@ -666,7 +666,8 @@ const conf = exports({
outputInvertY: false,
ctOutKnifeDepth: 1,
ctOutKnifePasses: 1,
ctOutKnifeTip: 2
ctOutKnifeTip: 2,
ctOutStack: true,
},
},
wjet: {
@ -709,7 +710,8 @@ const conf = exports({
outputInvertY: false,
ctOutKnifeDepth: 1,
ctOutKnifePasses: 1,
ctOutKnifeTip: 2
ctOutKnifeTip: 2,
ctOutStack: false,
},
},
wedm: {
@ -750,7 +752,8 @@ const conf = exports({
ctOriginOffX: 0,
ctOriginOffY: 0,
outputInvertX: false,
outputInvertY: false
outputInvertY: false,
ctOutStack: false,
}
}
},

View file

@ -1267,8 +1267,8 @@ gapp.register("kiri.init", (root, exports) => {
ctOutZColor: newBoolean(LANG.ou_layo_s, onBooleanClick, { title:LANG.ou_layo_l, modes:TWONED, show:() => !ui.ctOutMerged.checked }),
ctOutLayer: newBoolean(LANG.ou_layr_s, onBooleanClick, { title:LANG.ou_layr_l, modes:TWONED, show:() => !ui.ctOutStack.checked }),
ctOutMark: newBoolean(LANG.ou_lays_s, onBooleanClick, { title:LANG.ou_lays_l, modes:TWONED, show:() => !ui.ctOutStack.checked }),
separator: newBlank({ class:"set-sep", driven, modes:[LASER] }),
ctOutStack: newBoolean(LANG.ou_stak_s, onBooleanClick, { title:LANG.ou_stak_l, modes:[LASER] }),
separator: newBlank({ class:"set-sep", driven, modes:TWOD }),
ctOutStack: newBoolean(LANG.ou_stak_s, onBooleanClick, { title:LANG.ou_stak_l, modes:TWOD }),
/** SLA SETTINGS */

View file

@ -692,7 +692,7 @@ self.kiri.lang['en-us'] = {
ou_lays_l: ["mark layers for stacking. the layer above will be output in a different color which the laser can mark with a lower power. turns on layer grouping."],
ou_drkn_s: "drag knife",
ou_drkn_l: ["enable drag knife","output in gcode","cut radii are added","to corners with","cut down passes"],
ou_stak_s: "3D stack",
ou_stak_s: "fixed",
ou_stak_l: ["output is a 3D stack of 2D paths rather than packing layers flat in 2D"],
ou_maxp_s: "max power",
ou_maxp_l: ["max power value in gcode. power % from settings will scale from 0 to this value"],