Classes | |
class ProjectImporter | |
Functions | |
def applyColorDict (doc, colordict=None) | |
def buildRelAdditions (ifcfile) | |
def buildRelColors (ifcfile, prodrepr) | |
def buildRelGroups (ifcfile) | |
def buildRelMaterialColors (ifcfile, prodrepr) | |
def buildRelMattable (ifcfile) | |
def buildRelProductColors (ifcfile, prodrepr) | |
def buildRelProductRepresentation (ifcfile) | |
def buildRelProductsAnnotations (ifcfile, root_element) | |
def buildRelProperties (ifcfile) | |
def buildRelSubtractions (ifcfile) | |
def createFromProperties (propsets, ifcfile, parametrics) | |
def dd2dms (dd) | |
def decode (filename, utf=False) | |
def dms2dd (degrees, minutes, seconds, milliseconds=0) | |
def get2DShape (representation, scaling=1000) | |
def getColorFromStyledItem (styled_item) | |
def getIfcProperties (ifcfile, pid, psets, d) | |
def getIfcPropertySets (ifcfile, pid) | |
def getPlacement (entity, scaling=1000) | |
def getProfileCenterPoint (sweptsolid) | |
def getRotation (entity) | |
def getScaling (ifcfile) | |
def getVector (entity, scaling=1000) | |
def isRectangle (verts) | |
Function Documentation
◆ applyColorDict()
def importIFCHelper.applyColorDict | ( | doc, | |
colordict = None |
|||
) |
◆ buildRelAdditions()
def importIFCHelper.buildRelAdditions | ( | ifcfile | ) |
Referenced by importIFC.insert().
◆ buildRelColors()
def importIFCHelper.buildRelColors | ( | ifcfile, | |
prodrepr | |||
) |
◆ buildRelGroups()
def importIFCHelper.buildRelGroups | ( | ifcfile | ) |
Referenced by importIFC.insert().
◆ buildRelMaterialColors()
def importIFCHelper.buildRelMaterialColors | ( | ifcfile, | |
prodrepr | |||
) |
◆ buildRelMattable()
def importIFCHelper.buildRelMattable | ( | ifcfile | ) |
Referenced by importIFC.insert().
◆ buildRelProductColors()
def importIFCHelper.buildRelProductColors | ( | ifcfile, | |
prodrepr | |||
) |
References getColorFromStyledItem().
Referenced by importIFC.insert().
◆ buildRelProductRepresentation()
def importIFCHelper.buildRelProductRepresentation | ( | ifcfile | ) |
Referenced by importIFC.insert().
◆ buildRelProductsAnnotations()
def importIFCHelper.buildRelProductsAnnotations | ( | ifcfile, | |
root_element | |||
) |
Referenced by importIFC.insert().
◆ buildRelProperties()
def importIFCHelper.buildRelProperties | ( | ifcfile | ) |
◆ buildRelSubtractions()
def importIFCHelper.buildRelSubtractions | ( | ifcfile | ) |
Referenced by importIFC.insert().
◆ createFromProperties()
def importIFCHelper.createFromProperties | ( | propsets, | |
ifcfile, | |||
parametrics | |||
) |
Referenced by importIFC.insert().
◆ dd2dms()
def importIFCHelper.dd2dms | ( | dd | ) |
◆ decode()
def importIFCHelper.decode | ( | filename, | |
utf = False |
|||
) |
Referenced by importIFC.insert(), importSHP.open(), and importIFC.open().
◆ dms2dd()
def importIFCHelper.dms2dd | ( | degrees, | |
minutes, | |||
seconds, | |||
milliseconds = 0 |
|||
) |
Referenced by importIFC.insert().
◆ get2DShape()
def importIFCHelper.get2DShape | ( | representation, | |
scaling = 1000 |
|||
) |
References DraftVecUtils.angle(), getPlacement(), getRotation(), and getVector().
Referenced by getProfileCenterPoint(), and importIFC.insert().
◆ getColorFromStyledItem()
def importIFCHelper.getColorFromStyledItem | ( | styled_item | ) |
Referenced by buildRelProductColors().
◆ getIfcProperties()
def importIFCHelper.getIfcProperties | ( | ifcfile, | |
pid, | |||
psets, | |||
d | |||
) |
Referenced by importIFC.insert().
◆ getIfcPropertySets()
def importIFCHelper.getIfcPropertySets | ( | ifcfile, | |
pid | |||
) |
Referenced by importIFC.insert().
◆ getPlacement()
def importIFCHelper.getPlacement | ( | entity, | |
scaling = 1000 |
|||
) |
References DraftVecUtils.getPlaneRotation(), and getVector().
Referenced by get2DShape(), getProfileCenterPoint(), and importIFC.insert().
◆ getProfileCenterPoint()
def importIFCHelper.getProfileCenterPoint | ( | sweptsolid | ) |
References get2DShape(), and getPlacement().
Referenced by importIFC.insert().
◆ getRotation()
def importIFCHelper.getRotation | ( | entity | ) |
References WorkingPlane.plane.
Referenced by get2DShape(), and importIFC.insert().
◆ getScaling()
def importIFCHelper.getScaling | ( | ifcfile | ) |
Referenced by importIFC.insert().
◆ getVector()
def importIFCHelper.getVector | ( | entity, | |
scaling = 1000 |
|||
) |
Referenced by get2DShape(), and getPlacement().
◆ isRectangle()
def importIFCHelper.isRectangle | ( | verts | ) |
Referenced by importIFC.insert().