User Activity

  • Posted a comment on discussion Open Discussion on IfcOpenShell

    Excellent, many thanks Thomas!

  • Posted a comment on discussion Open Discussion on IfcOpenShell

    I am trying to write a BCF with IfcOpenShell. Is there some sample documentation / code snippet how to do this? On the https://docs.ifcopenshell.org/bcf.html there is only info about loading BCFs... Thanks for help!

  • Posted a comment on discussion Open Discussion on IfcOpenShell

    Looks like I tried to kill fly with a hammer, the solution was super easy - just use: import ifcopenshell.util.shape verts = shape.geometry.verts

  • Posted a comment on discussion Open Discussion on IfcOpenShell

    Hi, I am attempting to extract all vertices from an IFC file and quickly obtain the total volume of the building using SciPy. Unfortunately I am struggling to get all the verts. The issue is, I have to be able to work with all sorts of possible IFC files, some will contain composite parts, some will have profiles and so on. What I cannot manage is to get verts from Profiles. Below is my current code: import ifcopenshell import ifcopenshell.geom import numpy as np from OCC.Core.TopExp import TopExp_Explorer...

  • Modified a comment on discussion Open Discussion on IfcOpenShell

    Following further investigation the issue seems to be somewhat more complex. For some strange reason IfcWalls and IfcDoors (rotated from XY axes) are calculated correctly, whereas IfcSlabs, Beams etc. are calculated wrong when using exactly the same formula. Would be greatful for any hints! Below the code I am using: def get_bbox_local(file, entity): settings = ifcopenshell.geom.settings() elements = file.by_type(entity) for element in elements: shape = ifcopenshell.geom.create_shape(settings, element)...

  • Modified a comment on discussion Open Discussion on IfcOpenShell

    Following further investigation the issue seems to be somewhat more complex. For some strange reason IfcWalls and IfcDoors (rotated from XY axes) are calculated correctly, whereas IfcSlabs, Beams etc. are calculated wrong when using exactly the same formula. Would be greatful for any hints! Below the code I am using: def get_bbox_local(file, entity): settings = ifcopenshell.geom.settings() elements = file.by_type(entity) for element in elements: shape = ifcopenshell.geom.create_shape(settings, element)...

  • Modified a comment on discussion Open Discussion on IfcOpenShell

    Following further investigation the issue seems to be somewhat more complex. For some strange reason IfcWalls and IfcDoors (rotated from XY axes) are calculated correctly, whereas IfcSlabs, Beams etc. are calculated wrong when using exactly the same formula. Would be greatful for any hints! Below the code I am using: ~~~ def get_bbox_local(file, entity): settings = ifcopenshell.geom.settings() elements = file.by_type(entity) for element in elements: shape = ifcopenshell.geom.create_shape(settings,...

  • Modified a comment on discussion Open Discussion on IfcOpenShell

    Following further investigation the issue seems to be somewhat more complex. For some strange reason IfcWalls and IfcDoors (rotated from XY axes) are calculated correctly, whereas IfcSlabs, Beams etc. are calculated wrong when using exactly the same formula. Would be greatful for any hints! Below the code I am using: `def get_bbox_local(file, entity): settings = ifcopenshell.geom.settings() elements = file.by_type(entity) for element in elements: shape = ifcopenshell.geom.create_shape(settings, element)...

View All

Personal Data

Username:
peterpetersen
Joined:
2022-08-30 11:33:19.087000
Location:
Switzerland / CEST
Gender:
Male

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB