Hi everyone,
seems like rs.MirrorObjects() in Rhino 8 is broken.
snippet for test:
import rhinoscriptsyntax as rs plane = rs.WorldXYPlane() square = rs.AddRectangle(plane, 300, 300) start_point = (0, 0, 0) end_point = (0, 1000, 0) rs.MirrorObjects(square, start_point, end_point, True)
In Rhino 7 this snippet works (or in IronPython 2.7)
Best regards,
D.
If i go inside the rs.MirrorObjects() and change this code:
vec = end_point-start_point
to
... vec = rhutil.coerce3dvector(end_point-start_point)
function starts working
Yes, right now any function that relies on subtracting two points to create a vector is going to fail, because the point subtraction method is currently broken in Python 3. It should still work in Python 2.