Error when surface vertices define a line

Issue #18 new
Matthew Larson created an issue

The below error pops up in Euclid when opening an IDF that has a surface with the four vertices defining a straight line. In the attachment, the surface 'Perimeter_ZN_1_wall_south_door' has equivalent first and second vertices and equivalent third and fourth vertices, defining a straight line.

Sorry...the Euclid extension has encountered an error. This error may cause unpredictable behavior in the extension--continue this session with caution! It would probably be a good idea to exit SketchUp and start again.

For help, please email us at <info@bigladdersoftware.com>.

When reporting a problem, please copy the information below into your email (scroll down):

ERROR:
TypeError
wrong argument type Geom::Point3d (expected Array)

BACKTRACE:
C:/Users/Matthew Larson/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/euclid/lib/legacy_openstudio/sketchup/Geom.rb:334:in `fit_plane_to_points'
C:/Users/Matthew Larson/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/euclid/lib/legacy_openstudio/sketchup/Geom.rb:334:in `plane'
C:/Users/Matthew Larson/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/euclid/lib/legacy_openstudio/sketchup/Geom.rb:300:in `normal'
C:/Users/Matthew Larson/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/euclid/lib/legacy_openstudio/sketchup/Geom.rb:452:in `normal'
C:/Users/Matthew Larson/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/interfaces/SubSurface.rb:96:in `check_input_object'
C:/Users/Matthew Larson/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/interfaces/DrawingInterface.rb:74:in `draw_entity'
C:/Users/Matthew Larson/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/interfaces/ModelInterface.rb:204:in `block in update_model'
C:/Users/Matthew Larson/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/interfaces/ModelInterface.rb:200:in `each'
C:/Users/Matthew Larson/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/interfaces/ModelInterface.rb:200:in `each_with_index'
C:/Users/Matthew Larson/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/interfaces/ModelInterface.rb:200:in `update_model'
C:/Users/Matthew Larson/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/interfaces/ModelInterface.rb:117:in `draw_model'
C:/Users/Matthew Larson/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/ModelManager.rb:182:in `open_input_file'
C:/Users/Matthew Larson/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/CommandManager.rb:70:in `open_input_file'
C:/Users/Matthew Larson/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/euclid/lib/legacy_openstudio/lib/MenuManager.rb:76:in `block in create_commands'
SketchUp:1:in `call'

CONFIGURATION:
Euclid 0.9.3
SketchUp 17.2.2555 64-bit
Ruby 2.2.4 x64-mingw32

Comments (4)

  1. Log in to comment