mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-16 21:58:27 +01:00
cleaving bug fix
This commit is contained in:
parent
670787fbb2
commit
67c0467871
2
vnf.scad
2
vnf.scad
@ -444,7 +444,7 @@ function _bridge(pt, outer,eps) =
|
|||||||
[for( i = idx(edges) )
|
[for( i = idx(edges) )
|
||||||
let( edge = edges[i] )
|
let( edge = edges[i] )
|
||||||
// consider just descending outer edges at right of pt crossing ordinate pt.y
|
// consider just descending outer edges at right of pt crossing ordinate pt.y
|
||||||
if( (edge[0].y > pt.y+eps)
|
if( (edge[0].y > pt.y) //+eps)
|
||||||
&& (edge[1].y <= pt.y)
|
&& (edge[1].y <= pt.y)
|
||||||
&& _is_at_left(pt, [edge[1], edge[0]], eps) )
|
&& _is_at_left(pt, [edge[1], edge[0]], eps) )
|
||||||
[ i,
|
[ i,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user