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 */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue