ifctester.facet#

Module Contents#

class ifctester.facet.Attribute(name='Name', value=None, minOccurs=None, maxOccurs=None, instructions=None)#

Bases: Facet

__call__(self, inst, logger=None)#
filter(self, ifc_file: ifcopenshell.file, elements: Union[ifcopenshell.entity_instance, None]) List[ifcopenshell.entity_instance]#
class ifctester.facet.AttributeResult(is_pass, reason=None)#

Bases: Result

to_string(self)#
class ifctester.facet.Classification(value=None, system=None, uri=None, minOccurs=None, maxOccurs='unbounded', instructions=None)#

Bases: Facet

__call__(self, inst, logger=None)#
filter(self, ifc_file: ifcopenshell.file, elements: Union[ifcopenshell.entity_instance, None]) List[ifcopenshell.entity_instance]#
class ifctester.facet.ClassificationResult(is_pass, reason=None)#

Bases: Result

to_string(self)#
class ifctester.facet.Entity(name='IFCWALL', predefinedType=None, instructions=None)#

Bases: Facet

__call__(self, inst, logger=None)#
filter(self, ifc_file, elements)#
class ifctester.facet.EntityResult(is_pass, reason=None)#

Bases: Result

to_string(self)#
class ifctester.facet.Facet(*parameters)#
asdict(self, clause_type)#
filter(self, ifc_file: ifcopenshell.file, elements: List[ifcopenshell.entity_instance]) List[ifcopenshell.entity_instance]#
get_usage(self)#
parse(self, xml)#
to_ids_value(self, parameter)#
to_string(self, clause_type, specification=None, requirement=None)#
class ifctester.facet.Material(value=None, uri=None, minOccurs=None, maxOccurs='unbounded', instructions=None)#

Bases: Facet

__call__(self, inst, logger=None)#
filter(self, ifc_file: ifcopenshell.file, elements: Union[ifcopenshell.entity_instance, None]) List[ifcopenshell.entity_instance]#
class ifctester.facet.MaterialResult(is_pass, reason=None)#

Bases: Result

to_string(self)#
class ifctester.facet.PartOf(name='IFCWALL', predefinedType=None, relation=None, minOccurs=None, maxOccurs='unbounded', instructions=None)#

Bases: Facet

__call__(self, inst, logger=None)#
asdict(self, clause_type)#
filter(self, ifc_file: ifcopenshell.file, elements: Union[ifcopenshell.entity_instance, None]) List[ifcopenshell.entity_instance]#
get_filled_opening(self, element)#
get_nested_whole(self, element)#
get_parent(self, element)#
get_voided_element(self, element)#
parse(self, xml)#
class ifctester.facet.PartOfResult(is_pass, reason=None)#

Bases: Result

to_string(self)#
class ifctester.facet.Property(propertySet='Property_Set', name='PropertyName', value=None, datatype=None, uri=None, minOccurs=None, maxOccurs='unbounded', instructions=None)#

Bases: Facet

__call__(self, inst, logger=None)#
filter(self, ifc_file: ifcopenshell.file, elements: Union[ifcopenshell.entity_instance, None]) List[ifcopenshell.entity_instance]#
get_properties(self, pset)#
class ifctester.facet.PropertyResult(is_pass, reason=None)#

Bases: Result

to_string(self)#
class ifctester.facet.Restriction(options=None, base='string')#
__eq__(self, other)#

Return self==value.

__str__(self)#

Return str(self).

asdict(self)#
parse(self, ids_dict)#
class ifctester.facet.Result(is_pass, reason=None)#
__bool__(self)#
__str__(self)#

Return str(self).

to_string(self)#
ifctester.facet.cast_to_value(from_value, to_value)#
ifctester.facet.get_pset(element, pset)#
ifctester.facet.get_psets(element)#