@SketchUp Team. Please do not triangulate Geometry after IFC-Import.
Modell triangulated by hidden lines. IFC Export → IFC Import = ~3x More Faces
Yes, I notice there is no Options sub-dialog available from the Import filepicker dialog.
This is faster.
class Cleaner
@toErase = []
def initialize
@toErase = []
end
def clear(entities)
collectedges(entities)
Sketchup.active_model.entities.erase_entities @toErase
@toErase.clear
end
def collectedges(entities)
entities.each { | entity|
if entity.is_a? Sketchup::Edge and !entity.visible?
@toErase << entity
end
if entity.is_a? Sketchup::ComponentInstance
collectedges(entity.definition.entities)
end
}
end
end