fix first cut depth in cnc, trace poly render, comments, z cut height on cnc flats
This commit is contained in:
parent
9fcc9e60c1
commit
0625ee04ef
3 changed files with 64 additions and 54 deletions
|
|
@ -577,8 +577,7 @@ let gs_kiri_slice = exports;
|
|||
if (top.traces) {
|
||||
layer.poly(top.traces, trace_color, true, null);
|
||||
// layer.setTransparent(false);
|
||||
// layer.setOpacity(0.5);
|
||||
// layer.noodle(top.traces, 0.19, 0x88aadd, 0x0);
|
||||
// layer.noodle(top.traces, 0.19, 0x88aadd, 0x77bbcc);
|
||||
}
|
||||
if (top.polish) {
|
||||
layer.poly(top.polish.x, 0x880000, true, null);
|
||||
|
|
@ -652,14 +651,17 @@ let gs_kiri_slice = exports;
|
|||
render;
|
||||
|
||||
layer.clear();
|
||||
// layer.setTransparent(false);
|
||||
|
||||
this.tops.forEach(function(top) {
|
||||
if (top.fill_lines) {
|
||||
layer.lines(top.fill_lines, fill_color);
|
||||
// layer.noodle(top.fill_lines, 0.19, 0x88aadd, 0x77bbcc, true);
|
||||
}
|
||||
});
|
||||
|
||||
layer.render();
|
||||
// layer.renderSolid();
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue