You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't believe it....! Geom::Point2d#offset does not accept an offset of zero.
Try this code in the Ruby console:
origin=Geom::Point2d.new0,0=>Point2d(0,0)vec=Geom::Vector2d.new1,0=>Vector2d(1,0)pt=origin.offset(vec,1)=>Point2d(1,0)pt=origin.offset(vec,0)Error: #<ArgumentError: Zero distance is not allowed>(eval):1:in`offset'(eval):1:in `<main>'SketchUp:in `eval'=>nil
The text was updated successfully, but these errors were encountered:
I can't believe it....!
Geom::Point2d#offset
does not accept an offset of zero.Try this code in the Ruby console:
The text was updated successfully, but these errors were encountered: