Allow import of invalid grids coming from Revit. See #911.

This commit is contained in:
Dion Moult
2020-07-10 10:18:33 +10:00
parent c7211ed171
commit a27b00e616
@@ -600,6 +600,8 @@ class IfcImporter():
self.create_grid_axes(grid.VAxes, collection, element_matrix)
def create_grid_axes(self, axes, grid, matrix_world):
if not axes:
return
for axis in axes:
shape = ifcopenshell.geom.create_shape(self.settings_2d, axis.AxisCurve)
mesh = self.create_mesh(axis, shape)