Skip to content

fix: export only model space to OBJ and GLB from the CLI - #81

Merged
mahach666 merged 3 commits into
IOExtend:mainfrom
gryaznulka:fix/model-space-exchange
Dec 4, 2026
Merged

mahach666 merged 3 commits into
IOExtend:mainfrom
gryaznulka:fix/model-space-exchange

Conversation

@gryaznulka

Copy link
Copy Markdown
Contributor

What changes and why

Direct DWG-to-OBJ and DWG-to-GLB exports were including Paper Space geometry and clipped viewport copies alongside the original model geometry. Disable Paper Space only for these two CLI routes. HTML still includes and switches between sheets; the library defaults and scene JSON are unchanged.

Verification

  • A102 regression: both exported files contained two lines before the fix; after it they contain the single original model-space line with the expected endpoints.
  • Linux test suite: 307 passed and 3 skipped per target on .NET 8 and .NET 10.
  • Public AC1032 drawing via the CLI: GLB mesh nodes went from 176 to 167; HTML with --mode auto was byte-identical.
  • The PR branch matches the locally tested patch. No sample files or dependencies are added.

@mahach666
mahach666 merged commit 28335c6 into IOExtend:main Dec 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants