Skip to content

IfcExtrudedAreaSolid.Position reuses the element's IfcAxis2Placement3D, so consumers composing placement x position apply the element translation twice #232

Closed

Description

@DrunkOnJava

Found in #231 (pre-existing on every release, every emitted element): the writer emits the element's own IfcAxis2Placement3D both as the IfcLocalPlacement's RelativePlacement and as IfcExtrudedAreaSolid.Position. A conforming consumer composes ObjectPlacement x Position, so the element translation is applied twice; viewers that ignore Position mask it. Fix: Position should be identity (or the profile's own frame) with the placement carried once; verify against IfcOpenShell's geometry iterator (world-space vertex positions must match the export's) and add an arity-style gate that composes both and compares one known vertex. Nothing regressed in #231 — the profile uses the same element-local frame the rectangle always did.

Metadata

Metadata

Assignees

Labels

type:bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions