mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 10:33:20 +00:00
finish mapping Qto_FootingBaseQuantities
This commit is contained in:
committed by
Dion Moult
parent
31cf1127a6
commit
3687e4ed91
@@ -283,14 +283,14 @@ mapper = {
|
||||
'NumberOfCircuits' : None,
|
||||
},
|
||||
'Qto_FootingBaseQuantities' : {
|
||||
'Length' : None,
|
||||
'Width' : None,
|
||||
'Height' : None,
|
||||
'CrossSectionArea' : None,
|
||||
'OuterSurfaceArea' : None,
|
||||
'GrossSurfaceArea' : None,
|
||||
'GrossVolume' : None,
|
||||
'NetVolume' : None,
|
||||
'Length' : "get_length",
|
||||
'Width' : "get_width",
|
||||
'Height' : "get_height",
|
||||
'CrossSectionArea' : "get_cross_section_area",
|
||||
'OuterSurfaceArea' : "get_outer_surface_area",
|
||||
'GrossSurfaceArea' : "get_gross_surface_area",
|
||||
'GrossVolume' : "get_gross_volume",
|
||||
'NetVolume' : "get_net_volume",
|
||||
'GrossWeight' : None,
|
||||
'NetWeight' : None,
|
||||
},
|
||||
|
||||
@@ -413,6 +413,7 @@ class QtoCalculator:
|
||||
if not self.has_openings(o):
|
||||
return self.get_net_surface_area(o)
|
||||
|
||||
element = tool.Ifc.get_entity(o)
|
||||
mesh = self.get_gross_element_mesh(element)
|
||||
area = self.get_mesh_area(mesh)
|
||||
bpy.data.meshes.remove(mesh)
|
||||
|
||||
Reference in New Issue
Block a user