User Activity

  • Modified a comment on discussion Open Discussion on IfcOpenShell

    Thanks. I was starting the code as follow: pyocc_viewer = ifcopenshell.geom.occ_utils.initialize_display() but I receive the following error: File "c:/Users/mlaur/Desktop/newcode/test.py", line 155, in <module> pyocc_viewer = ifcopenshell.geom.occ_utils.initialize_display() File "C:\Users\mlaur\anaconda3\envs\pyoccenv\lib\site-packages\ifcopenshell\geom\occ_utils.py", line 97, in initialize_display setup() Possible C/C++ prototypes are: V3d_DirectionalLight::V3d_DirectionalLight(V3d_TypeOfOrientation...

  • Posted a comment on discussion Open Discussion on IfcOpenShell

    Thanks. I was starting the code as follow: pyocc_viewer = ifcopenshell.geom.occ_utils.initialize_display() but I receive the following error: TKOpenGl.WinSystem | Type: Error | ID: 6 | Severity: High | Message: wglMakeCurrent() has failed. The handle is invalid. What can it be? I never work with handle..

  • Posted a comment on discussion Open Discussion on IfcOpenShell

    Hi, it is possible to export an ifc element (eg a wall) into an AIS_Colored shape? Because when I export it in TOPO.DS I lost the color that I have previously attributed. Thanks.

  • Modified a comment on discussion Open Discussion on IfcOpenShell

    Dear all, I was using this function in Python to assign a color to a wall. def execute(self): if not self.settings["styles"]: return [] self.results = [] for element in self.file.traverse(self.settings["shape_representation"]): if not element.is_a("IfcShapeRepresentation"): continue for item in element.Items: if not item.is_a("IfcGeometricRepresentationItem"): continue style = self.settings["styles"].pop(0) name = style.Name if self.file.schema == "IFC2X3" or self.settings["should_use_presentation_style_assignment"]:...

  • Posted a comment on discussion Open Discussion on IfcOpenShell

    Dear all, I was using this function in Python to assign a color to a wall. def execute(self): if not self.settings["styles"]: return [] self.results = [] for element in self.file.traverse(self.settings["shape_representation"]): if not element.is_a("IfcShapeRepresentation"): continue for item in element.Items: if not item.is_a("IfcGeometricRepresentationItem"): continue style = self.settings["styles"].pop(0) name = style.Name if self.file.schema == "IFC2X3" or self.settings["should_use_presentation_style_assignment"]:...

  • Modified a comment on discussion Help on IfcOpenShell

    Dear Thomas, I was trying to assign a color to a certain wall, but I receive this error. (see attachment) Could you please tell me what is my mistake? Thanks! :)

  • Posted a comment on discussion Help on IfcOpenShell

    Dear Thomas, I was trying to assign a color to a certain wall, but I receive this error. Could you please tell me what is my mistake? Thanks! :)

  • Posted a comment on discussion Help on IfcOpenShell

    Hi, how can I use this code with an already existing element? (without creating the geometry from scratch, but simply getting it from an element on ifc)

View All

Personal Data

Username:
mlauraleonardi
Joined:
2022-09-16 11:13:31.488000

Projects

  • No projects to display.

Personal Tools