Skip to content

Entity references inside multi-dimensional aggregates not offset when appending with STEPfile::AppendExchangeFile (...) #331

@pcjc2

Description

@pcjc2

I have been making AP214 assemblies from individual model files, and found a number of models from the wild which do not read in properly.

I'm reading in with STEPfile::AppendExchangeFile (...), which results in entity names being offset numerically from that in original file.

The entity references that are affected seem to be only those referred to from within a complex containing a B_SPLINE_SURFACE:

The full complex in question:

(
BOUNDED_SURFACE()
B_SPLINE_SURFACE (x, y, ( (#bad_ent, #bad_ent, #bad_ent), .... ), ...)
B_SPLINE_SURFACE_WITH_KNOTS (...)
GEOMETRIC_REPRESENTATION_ITEM ( )
RATIONAL_B_SPLINE_SURFACE (...)
REPRESENTATION_ITEM ( '' )
SURFACE ( )
)

The entities themselves (CARTESIAN_POINT), are successfully offset when read in, but those particular references are not offset.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions