mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
Bugfix for split_polygons_at_each_z()
This commit is contained in:
parent
42e064c2ac
commit
b1ae85e65c
2 changed files with 2 additions and 2 deletions
|
@ -1514,7 +1514,7 @@ function _split_polygon_at_y(poly, y) =
|
||||||
|
|
||||||
function _split_polygon_at_z(poly, z) =
|
function _split_polygon_at_z(poly, z) =
|
||||||
let(
|
let(
|
||||||
zs = subindex(poly,1)
|
zs = subindex(poly,2)
|
||||||
) (min(zs) >= z || max(zs) <= z)? [poly] :
|
) (min(zs) >= z || max(zs) <= z)? [poly] :
|
||||||
let(
|
let(
|
||||||
poly2 = [
|
poly2 = [
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
BOSL_VERSION = [2,0,304];
|
BOSL_VERSION = [2,0,305];
|
||||||
|
|
||||||
|
|
||||||
// Section: BOSL Library Version Functions
|
// Section: BOSL Library Version Functions
|
||||||
|
|
Loading…
Reference in a new issue