mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 23:36:20 +00:00
Minor fix
This commit is contained in:
@@ -1683,7 +1683,7 @@ class IfcExporter():
|
|||||||
|
|
||||||
def create_surface_style_rendering(self, styled_item):
|
def create_surface_style_rendering(self, styled_item):
|
||||||
surface_colour = self.create_colour_rgb(styled_item['raw'].diffuse_color)
|
surface_colour = self.create_colour_rgb(styled_item['raw'].diffuse_color)
|
||||||
rendering_attributes = {'SurfaceColour': surface_colour}
|
rendering_attributes = {'SurfaceColour': surface_colour, 'ReflectanceMethod': 'NOTDEFINED'}
|
||||||
rendering_attributes.update(self.get_rendering_attributes(styled_item['raw']))
|
rendering_attributes.update(self.get_rendering_attributes(styled_item['raw']))
|
||||||
return self.file.create_entity('IfcSurfaceStyleRendering', **rendering_attributes)
|
return self.file.create_entity('IfcSurfaceStyleRendering', **rendering_attributes)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user