Skip to content

Separate group tags on converting ifc 2d representations to svg #3330

@Andrej730

Description

@Andrej730

In BlenderBIM when we convert ifc to svg to print the drawing there is a bit an of issue that all 2d representations of elements are presentes as bunch of paths inside single <g> tag with class="projection". So we can't specify any separate styles with css for all those representations - for example, we can't add some class to display this element demolished with red dashed line.

Ifc project example for tests - demolish.zip

In the printed svg walls, window without 2d representation have separate <g> tags.
Door and window with 2d representations (Plan/Body/PLAN_VIEW Curve2d) have all their paths under the same tag. Also some parts of the wall and the window without 2d repr is also under this tag.
image

Any way around it? Maybe I'm missing some feature we already have or some option in SvgSerializer?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions