mirror of
https://github.com/Theaninova/Bampy.git
synced 2025-12-11 03:56:17 +00:00
fix: routing
This commit is contained in:
@@ -170,7 +170,8 @@ function slice({
|
||||
if (
|
||||
hit &&
|
||||
hit1.point.z < hit2.point.z &&
|
||||
hit1.point.clone().sub(hit2.point).angleTo(bedNormal) > maxNonPlanarAngle
|
||||
Math.abs(Math.PI / 2 - hit1.point.clone().sub(hit2.point).angleTo(bedNormal)) >
|
||||
maxNonPlanarAngle
|
||||
) {
|
||||
withheld[activeIndex].push({ type: LayerType.Surface, id: [index, surface] });
|
||||
withheld[activeIndex].push({ type: LayerType.Line, geometry: [] });
|
||||
|
||||
Reference in New Issue
Block a user