bump rev 4.3.1 and fix thinwall closed poly

This commit is contained in:
Stewart Allen 2025-09-22 09:48:25 -04:00
commit e8d5c9e743
6 changed files with 54 additions and 50 deletions

View file

@ -1009,7 +1009,7 @@ function doRender(slice, isSynth, params, opt = {}) {
.setLayer("walls", Color.thin)
.addPolys(top.thin_wall.map(a =>
a.length === 1 ?
newPolygon().centerCircle(a[0], a[0].r, 6) :
newPolygon().centerCircle(a[0], a[0].r/2, 12) :
newPolygon(a.map(p => newPoint(p.x, p.y)))
.setZ(slice.z)
.closeIf(height)