MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / get_coordinates

Method get_coordinates

src/bonsai/scripts/obj2ifc-meshlab.py:99–102  ·  view source on GitHub ↗
(self, coordinates)

Source from the content-addressed store, hash-verified

97 self.file.write(self.outfile)
98
99 def get_coordinates(self, coordinates):
100 if self.format == "obj":
101 # OBJ swaps Y and Z axis
102 return [coordinates[0], -coordinates[2], coordinates[1]]
103
104 def create_ifc_file(self, version):
105 self.file = ifcopenshell.api.project.create_file(version=version)

Callers 1

_executeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected