Notifications
Clear all
[Closed] Polyop.slice issue with the direction of slice
Jan 28, 2019 7:49 am
Hi!
I have tested polyop.slice several times and every time the new edge that “slice” a face is in wrong direction.
This is the code:
(
p0 = $Point001.pos
p1 = $Point002.pos
-- polyop.slice $Box001 3 (ray p0 (normalize (p1 - p0)))
polyop.slice $Box001 3 (ray p0 z_axis)
)
Box primitive converted to editable poly and two points placed on one of the faces.
In this gif image you can see what happens:
https://drive.google.com/open?id=1vWYSmU-RKqeeGxpdNvFk3N_CmYrjsQt5
The new edge(that represents the slice) is always perpendicular to the direction vector.
2 Replies
Jan 28, 2019 7:49 am
The ray direction defines the slice plane normal, not the angle of the slice.