fix dogbones in trace
This commit is contained in:
parent
77eeec6869
commit
0d9cbf07a2
3 changed files with 5 additions and 2 deletions
|
|
@ -3,10 +3,11 @@
|
|||
"use strict";
|
||||
|
||||
import { base, config, earcut, util } from './base.js';
|
||||
import { calc_normal, calc_vertex, paths } from './paths.js';
|
||||
import { ClipperLib } from '../ext/clip2.esm.js';
|
||||
import { newBounds } from './bounds.js';
|
||||
import { calc_normal, calc_vertex, paths } from './paths.js';
|
||||
import { newPoint, pointFromClipper } from './point.js';
|
||||
import { newSlopeFromAngle } from './slope.js';
|
||||
import { polygons as POLY } from './polygons.js';
|
||||
|
||||
const { Vector3 } = THREE;
|
||||
|
|
|
|||
|
|
@ -239,8 +239,8 @@ export function createPopOps() {
|
|||
rate: UC.newInput(LANG.cc_feed_s, { title: LANG.cc_feed_l, convert: toInt, units }),
|
||||
plunge: UC.newInput(LANG.cc_plng_s, { title: LANG.cc_plng_l, convert: toInt, units }),
|
||||
sep: UC.newBlank({ class: "pop-sep" }),
|
||||
down: UC.newInput(LANG.cc_sdwn_s, { title: LANG.cc_sdwn_l, convert: toFloat, units }),
|
||||
step: UC.newInput(LANG.cc_sovr_s, { title: LANG.cc_sovr_l, convert: toFloat, bound: UC.bound(0.01, 1.0) }),
|
||||
down: UC.newInput(LANG.cc_sdwn_s, { title: LANG.cc_sdwn_l, convert: toFloat, units }),
|
||||
leave: UC.newInput(LANG.cr_lsto_s, { title: LANG.cr_lsto_l, convert: toFloat, units }),
|
||||
leavez: UC.newInput(LANG.cr_lstz_s, { title: LANG.cr_lstz_l, convert: toFloat, bound: UC.bound(0, 10), units }),
|
||||
sep: UC.newBlank({ class: "pop-sep" }),
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ class OpTrace extends CamOp {
|
|||
let { plunge, rate, refine, smooth, spindle, step, steps, thru, tolerance, tool } = op;
|
||||
let trace = {
|
||||
areas,
|
||||
dogbones: op.dogbone,
|
||||
down,
|
||||
expand,
|
||||
follow,
|
||||
|
|
@ -28,6 +29,7 @@ class OpTrace extends CamOp {
|
|||
rate,
|
||||
refine,
|
||||
rename: op.rename ?? "trace",
|
||||
revbones: op.revbone,
|
||||
smooth,
|
||||
spindle,
|
||||
step,
|
||||
|
|
|
|||
Loading…
Reference in a new issue