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.