add absolute checkbox and face selection button

This commit is contained in:
Stewart Allen 2022-10-29 10:30:12 -04:00
commit 0f2e865b68
4 changed files with 10 additions and 1 deletions

View file

@ -1315,8 +1315,11 @@ CAM.init = function(kiri, api) {
createPopOp('index', {
degrees: 'camIndexAxis',
absolute: 'camIndexAbs'
}).inputs = {
degrees: UC.newInput(LANG.ci_degr_s, {title:LANG.ci_degr_l, convert:UC.toFloat, bound:UC.bound(-360,360.0) })
degrees: UC.newInput(LANG.ci_degr_s, {title:LANG.ci_degr_l, convert:UC.toFloat, bound:UC.bound(-360,360.0) }),
absolute: UC.newBoolean(LANG.ci_abso_s, undefined, {title:LANG.ci_abso_l}),
select: UC.newRow([ UC.newButton(LANG.ci_face_s, noop) ], {class:"ext-buttons f-row"})
};
const editEnable = gcodeEditor('Laser Enable Script', 'enable');