add absolute checkbox and face selection button
This commit is contained in:
parent
05cdb29d11
commit
0f2e865b68
4 changed files with 10 additions and 1 deletions
1
notes.md
1
notes.md
|
|
@ -34,6 +34,7 @@
|
|||
* `B` multi-extruder rendering of raft fails to offset the rest of the print
|
||||
* `B` multi-extruder purge blocks fail to generate properly for rafts
|
||||
|
||||
* `F` add 'random' and 'seam' start point options
|
||||
* `F` convert ranges to z offsets while continuing to show layer #
|
||||
* `F` support pillar top/bottom should conform to part
|
||||
* `F` more explicit line width control with ranges and min/max adaptive
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -566,6 +566,7 @@ const conf = exports({
|
|||
camStockClipTo: false,
|
||||
camStockIndexed: false,
|
||||
camIndexAxis: 0,
|
||||
camIndexAbs: true,
|
||||
camStockOn: true,
|
||||
camConventional: false, // outputClockwise
|
||||
outputOriginCenter: false,
|
||||
|
|
|
|||
|
|
@ -559,6 +559,10 @@ self.kiri.lang['en-us'] = {
|
|||
// CNC INDEX AXIS
|
||||
ci_degr_s: "degrees",
|
||||
ci_degr_l: "degrees to rotate the A (indexed) axis",
|
||||
ci_abso_s: "absolute",
|
||||
ci_abso_l: "degree rotation is absolute",
|
||||
ci_face_s: "face",
|
||||
ci_face_l: "select face to rotate facing up",
|
||||
|
||||
// CNC LASER
|
||||
cl_powr_s: "power",
|
||||
|
|
|
|||
Loading…
Reference in a new issue