add step down parameter to level op
This commit is contained in:
parent
7aee1b19a5
commit
14b46162f8
3 changed files with 6 additions and 3 deletions
|
|
@ -411,6 +411,7 @@
|
|||
camLevelSpindle: 1000,
|
||||
camLevelOver: 0.75,
|
||||
camLevelSpeed: 1000,
|
||||
camLevelDown: 0,
|
||||
camRoughTool: 1000,
|
||||
camRoughSpindle: 1000,
|
||||
camRoughDown: 2,
|
||||
|
|
|
|||
|
|
@ -765,13 +765,15 @@
|
|||
tool: 'camLevelTool',
|
||||
spindle: 'camLevelSpindle',
|
||||
step: 'camLevelOver',
|
||||
rate: 'camLevelSpeed'
|
||||
rate: 'camLevelSpeed',
|
||||
down: 'camLevelDown'
|
||||
}).inputs = {
|
||||
tool: UC.newSelect(LANG.cc_tool, {}, "tools"),
|
||||
sep: UC.newBlank({class:"pop-sep"}),
|
||||
spindle: UC.newInput(LANG.cc_spnd_s, {title:LANG.cc_spnd_l, convert:UC.toInt, show:hasSpindle}),
|
||||
step: UC.newInput(LANG.cc_sovr_s, {title:LANG.cc_sovr_l, convert:UC.toFloat, bound:UC.bound(0.01,1.0)}),
|
||||
rate: UC.newInput(LANG.cc_feed_s, {title:LANG.cc_feed_l, convert:UC.toInt, units:true})
|
||||
rate: UC.newInput(LANG.cc_feed_s, {title:LANG.cc_feed_l, convert:UC.toInt, units:true}),
|
||||
down: UC.newInput(LANG.cc_sdwn_s, {title:LANG.cc_sdwn_l, convert:UC.toFloat, units:true}),
|
||||
};
|
||||
|
||||
createPopOp('rough', {
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@
|
|||
y1 = bounds.min.y,
|
||||
x2 = bounds.max.x,
|
||||
y2 = bounds.max.y,
|
||||
z = bounds.max.z;
|
||||
z = bounds.max.z - (op.down || 0);
|
||||
|
||||
if (stock.x && stock.y && stock.z) {
|
||||
x1 = -stock.x / 2;
|
||||
|
|
|
|||
Loading…
Reference in a new issue