fix visible field options, refining = 0, mesh display values
This commit is contained in:
parent
3252a42079
commit
27468f953c
3 changed files with 7 additions and 6 deletions
|
|
@ -1103,10 +1103,10 @@ class OpPocket extends CamOp {
|
|||
}
|
||||
|
||||
// mold cam output lines to the surface of the topo offset by tool geometry
|
||||
conform(camLines, refine = 10, engrave) {
|
||||
conform(camLines, refine, engrave) {
|
||||
const topo = this.topo;
|
||||
// re-segment polygon to a higher resolution
|
||||
const hirez = camLines.map(p => p.segment(topo.tolerance * 2));
|
||||
const hirez = refine > 0 ? camLines.map(p => p.segment(topo.tolerance * 2)) : camLines;
|
||||
// walk points and offset from surface taking into account tool geometry
|
||||
for (let poly of hirez) {
|
||||
for (let point of poly.points) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue