Opened 4 years ago

Last modified 3 years ago

#972 new bug

Geometry Index out of bounds

Reported by: shorowit Owned by: shorowit
Priority: normal Component: Interface - Geometry Input Screen
Version: 3.0.0.0 Keywords:
Cc:

Description

Geometry screenshot attached.
Index was outside the bounds of the array.

Stack Trace:

at NREL.BEopt.ObjLibVB.MathRoutines.MATH_ReversePolygon(Vertex[]&

Vertices)

at

NREL.BEopt.ObjLibVB.DrawingGeometry.!RenderObject_AddFloorSurface(Vertex[]&

FloorVertices, Single& LevelBottom, Int32& SpaceAboveNum, Int32& SpaceBelowNum, Int32 FloorNumGridCells, SurfaceTypeEnum& FloorType, Cell[]& FloorGridCells, Int32& LevelNum)

at

NREL.BEopt.ObjLibVB.DrawingGeometry.!RenderObject_GetSurfacesFloors(Byte[,,]&

GridSpaceNum, SurfaceTypeEnum& FloorType)

at NREL.BEopt.ObjLibVB.DrawingGeometry.!RenderObject_Create(Byte[,,]

GridSpaceNum, Boolean RenderObject, Boolean UpdateVisibleCategories)

at NREL.BEopt.BEoptUIVB.Drawing.Draw()

at NREL.BEopt.BEoptUIVB.Drawing.OnMouseUp(MouseEventArgs e)

Attachments (3)

J0XJqxd.png (184.8 KB) - added by shorowit 4 years ago.
Coopers House.BEopt (2.9 MB) - added by shorowit 4 years ago.
geometry_error_screenshot.png (4.2 KB) - added by shorowit 4 years ago.

Change History (10)

Changed 4 years ago by shorowit

Changed 4 years ago by shorowit

comment:1 Changed 4 years ago by shorowit

Convert garage roof to flat deck in attached project file to reproduce.

comment:2 Changed 4 years ago by shorowit

  • Priority changed from low to high

Easier situation to reproduce this:

Draw Living space and garage in multifamily mode as shown in attached screenshot. Change flat roof above garage to garage roof.

Changed 4 years ago by shorowit

comment:3 Changed 3 years ago by shorowit

  • Priority changed from high to normal

r5479 fixes the easier situation and prevents the geometry index out of bounds error. However, the Coopers House geometry is still not rendered correctly.

comment:4 Changed 3 years ago by shorowit

  • Version changed from 2.4.0.2 Final to 2.4.0.1 Beta2

comment:5 Changed 3 years ago by shorowit

  • Version changed from 2.4.0.1 Beta2 to 2.5.0.0

comment:6 Changed 3 years ago by shorowit

  • Version changed from 2.6.0.0 to 2.5.0.0

comment:7 Changed 3 years ago by shorowit

  • Version changed from 2.5.0.0 to 2.6.0.0
Note: See TracTickets for help on using tickets.