mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 10:06:47 +00:00
Texture support is now compatible with glTF texture maps
This commit is contained in:
@@ -28,7 +28,9 @@ class Usecase:
|
||||
|
||||
def execute(self):
|
||||
self.purge_styled_items(self.settings["style"])
|
||||
ifcopenshell.util.element.remove_deep(self.file, self.settings["style"])
|
||||
for style in self.settings["style"].Styles or []:
|
||||
ifcopenshell.api.run("style.remove_surface_style", self.file, style=style)
|
||||
self.file.remove(self.settings["style"])
|
||||
|
||||
def purge_styled_items(self, style):
|
||||
for inverse in self.file.get_inverse(style):
|
||||
|
||||
Reference in New Issue
Block a user