add Z refining passes to complement XY smoothing in pocket contours

This commit is contained in:
Stewart Allen 2022-10-10 16:08:01 -04:00
commit c1501c7739
5 changed files with 44 additions and 5 deletions

View file

@ -1142,6 +1142,7 @@ CAM.init = function(kiri, api) {
plunge: 'camPocketPlunge',
expand: 'camPocketExpand',
smooth: 'camPocketSmooth',
refine: 'cmaPocketRefine',
contour: 'camPocketContour',
outline: 'cmaPocketOutline',
tolerance: 'camTolerance',
@ -1155,6 +1156,7 @@ CAM.init = function(kiri, api) {
plunge: UC.newInput(LANG.cc_plng_s, {title:LANG.cc_plng_l, convert:UC.toInt, units:true}),
sep: UC.newBlank({class:"pop-sep"}),
expand: UC.newInput(LANG.cp_xpnd_s, {title:LANG.cp_xpnd_l, convert:UC.toFloat, units:true, show:() => !poppedRec.contour}),
refine: UC.newInput(LANG.cp_refi_s, {title:LANG.cp_refi_l, convert:UC.toInt, show:() => poppedRec.contour}),
smooth: UC.newInput(LANG.cp_smoo_s, {title:LANG.cp_smoo_l, convert:UC.toFloat, units:true}),
tolerance: UC.newInput(LANG.ou_toll_s, {title:LANG.ou_toll_l, convert:UC.toFloat, bound:UC.bound(0,10.0), units:true, round:4, show:() => poppedRec.contour}),
sep: UC.newBlank({class:"pop-sep"}),