mirror of
https://github.com/Theaninova/Bampy.git
synced 2025-12-12 20:46:19 +00:00
fix: routing
This commit is contained in:
@@ -170,7 +170,8 @@ function slice({
|
|||||||
if (
|
if (
|
||||||
hit &&
|
hit &&
|
||||||
hit1.point.z < hit2.point.z &&
|
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.Surface, id: [index, surface] });
|
||||||
withheld[activeIndex].push({ type: LayerType.Line, geometry: [] });
|
withheld[activeIndex].push({ type: LayerType.Line, geometry: [] });
|
||||||
|
|||||||
Reference in New Issue
Block a user