edit arc tolerance to use units
This commit is contained in:
parent
d3052cf4fb
commit
9b4e048ade
5 changed files with 6 additions and 4 deletions
|
|
@ -97,7 +97,7 @@
|
|||
"top": false
|
||||
}],
|
||||
"camTrueShadow": false,
|
||||
"camArcTolerance": 0.01,
|
||||
"camArcTolerance": 0.15,
|
||||
"camDrillMark": true,
|
||||
"camPocketSpindle": 1000,
|
||||
"camPocketTool": 1665454124874,
|
||||
|
|
|
|||
|
|
@ -728,7 +728,7 @@ function prepEach(widget, settings, print, firstPoint, update) {
|
|||
//arcTolerance is the allowable distance between circle centers
|
||||
let arcRes = 8, //8 degs max
|
||||
arcMax = Infinity, // no max arc radius
|
||||
lineTolerance = 0.01; // do not consider points under 0.05mm for lines
|
||||
lineTolerance = 0.001; // do not consider points under 0.001mm for lines
|
||||
|
||||
fromPoint = fromPoint || printPoint;
|
||||
let arcQ = [];
|
||||
|
|
|
|||
|
|
@ -578,7 +578,7 @@ const conf = exports({
|
|||
outputInvertY: false,
|
||||
camExpertFast: false,
|
||||
camTrueShadow: false,
|
||||
camArcTolerance: 0.05,
|
||||
camArcTolerance: 0.15,
|
||||
camForceZMax: false,
|
||||
camFirstZMax: false,
|
||||
camToolInit: true,
|
||||
|
|
|
|||
|
|
@ -1281,7 +1281,7 @@ gapp.register("kiri.init", (root, exports) => {
|
|||
_____: newGroup(LANG.op_xprt_s, $('cam-expert'), { group:"cam_expert", modes:CAM, marker: false, driven, separator }),
|
||||
camExpertFast: newBoolean(LANG.cx_fast_s, onBooleanClick, {title:LANG.cx_fast_l, show: () => !ui.camTrueShadow.checked }),
|
||||
camTrueShadow: newBoolean(LANG.cx_true_s, onBooleanClick, {title:LANG.cx_true_l, show: () => !ui.camExpertFast.checked }),
|
||||
camArcTolerance: newInput(LANG.ad_arct_s, {title:LANG.ad_arct_l, convert:toFloat, bound:bound(0,100)}),
|
||||
camArcTolerance: newInput(LANG.cx_arct_s, {title:LANG.cx_arct_l, convert:toFloat, units, bound:bound(0,100)}),
|
||||
|
||||
/** LASER/DRAG/WJET/WEDM cut tool Settings */
|
||||
|
||||
|
|
|
|||
|
|
@ -856,6 +856,8 @@ self.kiri.lang['en-us'] = {
|
|||
cx_fast_l: ["disable overhang detection","can be faster and use less","memory with complex models","but fails with overhangs","try enabling if slicing","hangs during shadowing"],
|
||||
cx_true_s: "true shadow",
|
||||
cx_true_l: ["computationally correct shadow","will be slower but produce","better cuts for complex parts"],
|
||||
cx_arct_s: "arc tolerance",
|
||||
cx_arct_l: ["convert cicrular paths to arcs;","center point drift tolerance","when matching arc points","consider values around 0.15","in mm, or 0.006 inches;","High values may cause","unexpected behavior","0 to disable"],
|
||||
|
||||
// FDM GCODE
|
||||
ag_menu: "gcode",
|
||||
|
|
|
|||
Loading…
Reference in a new issue