← 输入框|github.com|刷新
Skip to content

STEP export: Fix schema, required attributes and bound orientation - #1816

Merged
ruevs merged 1 commit into
solvespace:masterfrom
ruevs:StepExport
Nov 9, 2026
Merged

ruevs merged 1 commit into
solvespace:masterfrom
ruevs:StepExport

Conversation

@ruevs

@ruevs ruevs commented Nov 9, 2026

Copy link
Copy Markdown
Member

Declare AP214 for the existing colour/transparency output and use compatible product context entities. Supply empty name and description strings on solid and wireframe representation relationships.

Translate native material-on-right UV loops to STEP by reversing the face-bound sense for both outer and inner bounds. Keep the spline geometry and representation structure unchanged.

Discovered while working on STEP linking/import using STEPcode with a strict parser that does not accept deviations from the spec. Exported STEP files still open correctly with Open Cascade OCCT based software as well as Kisters 3DViewStation (the only ones I currently have available) - but they opened the old ones as well - presumably they are more tolerant to invalid STEP files.

Declare AP214 for the existing colour/transparency output and use compatible product context entities. Supply empty name and description strings on solid and wireframe representation relationships.

Translate native material-on-right UV loops to STEP by reversing the face-bound sense for both outer and inner bounds. Keep the spline geometry and representation structure unchanged.
@ruevs ruevs added the STEP Issues relating to STEP file read/write label Nov 9, 2026
@ruevs
ruevs requested a review from phkahler November 9, 2026 17:18
Comment thread src/exportstep.cpp

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look simple enough, and you tried it with existing software. Looks good to me.

@ruevs
ruevs merged commit b34d744 into solvespace:master Nov 9, 2026
4 checks passed
@ruevs
ruevs deleted the StepExport branch November 9, 2026 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

STEP Issues relating to STEP file read/write

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants