ifcopenshell.api.geometry.add_railing_representation#

Module Contents#

class ifcopenshell.api.geometry.add_railing_representation.Usecase(file, **settings)#

units in settings expected to be in ifc project units

railing_path is a list of point coordinates for the railing path, coordinates are expected to be at the top of the railing, not at the center

railing_path is expected to be a list of Vector objects

convert_si_to_unit(self, value)#
execute(self)#
path_si_to_units(self, path)#

converts list of vectors from SI to ifc project units

ifcopenshell.api.geometry.add_railing_representation.mm(x)#

mm to meters shortcut for readability