fix cam rendering and lines in fdm
This commit is contained in:
parent
056d281fe2
commit
b075388702
2 changed files with 15 additions and 12 deletions
|
|
@ -909,7 +909,7 @@ function doRender(slice, isSynth, params, devel) {
|
|||
slice.tops.forEach(top => {
|
||||
if (isThin) output
|
||||
.setLayer('part', { line: 0x333333, check: 0x333333 })
|
||||
.addPolys(top.poly);
|
||||
.addPolys([top.poly]);
|
||||
|
||||
output
|
||||
.setLayer(isSynth ? "support" : "shells", isSynth ? COLOR.support : COLOR.shell)
|
||||
|
|
@ -917,7 +917,7 @@ function doRender(slice, isSynth, params, devel) {
|
|||
|
||||
output
|
||||
.setLayer("solid fill", isSynth ? COLOR.support : COLOR.fill)
|
||||
.addLines(top.fill_lines || [], vopt({ offset: offset * solidWidth, height }));
|
||||
.addLines(top.fill_lines || [], vopt({ offset: offset * solidWidth, height, z:slice.z }));
|
||||
|
||||
if (!(slice.belt && slice.belt.anchor)) output
|
||||
.setLayer("sparse fill", COLOR.infill)
|
||||
|
|
|
|||
Loading…
Reference in a new issue