This commit is contained in:
Stewart Allen 2021-07-11 23:20:15 -04:00
commit 9ee4f43f7c
2 changed files with 4 additions and 3 deletions

View file

@ -42,7 +42,6 @@
* `P` refactor skirt, brim, raft as synth widget instead of in path routing
* `P` extruder + filament max flow rate cap in planner
* `P` revisit path routing / optimization
* `P` implement infill clipping in wasm
* `P` solid fill the tops of supports for down facing flats
# FDM - SLA
@ -65,8 +64,6 @@
* `B` tabs are not cut to exact height
* `B` first rough step too far down in certain circumstances?
* `B` trace open polys are not wound consistently?
* `B` path routing with tabs sometimes makes no sense (still?)
* `B` need to force cut line at synthetic z bottom (midlines, etc)
* `F` limit cut depth to flute length of selected tool (or warn)
@ -96,6 +93,7 @@
* `F` gcode output option as zip for multiple or flip ops or tool change
* `F` maintain several part orientations + op chains in a single profile
* `P` port arc code from FDM export to CAM export
* `P` common part pre-analyze to speed up 'slice' and improve shadow (overhangs)
* `P` redo all path route / planning in prepare to account for terrain before camOut
* `P` detect render message backlog and pause or warn?

View file

@ -69,9 +69,12 @@
// create offset mid-points
for (i=0; i<lines.length; i++) {
line = lines[i];
// skip lines longer than precision threshold
if (line.d >= precision) break;
// skip lines where one of the points is already offset
if (line.p1.op || line.p2.op) continue;
// todo skip dropping lines where either point is a "sharp" on 3 vectors
// todo skip dropping lines where either point connects to a "long" line
line.p1.op = line.p2.op = line.p1.midPointTo3D(line.p2);
dec++;
}