Skip to content

[Spike] B-rep preview export - #1492

Draft
Irev-Dev wants to merge 14 commits into
mainfrom
kurt/native-brep-preview-api
Draft

Irev-Dev wants to merge 14 commits into
mainfrom
kurt/native-brep-preview-api

Conversation

@Irev-Dev

@Irev-Dev Irev-Dev commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

This adds native_brep as an export format and defines its data contract in format/native_brep.rs. Defining the geometry here is unusual for our export formats, but this one is consumed by both Engine and the browser mesher, so it needs a shared home without making the browser depend on the private format repo. Capture, encoding and meshing stays in the other repos.

format/native_brep.rs This is the main contract between the engine and the browser.

@codecov

codecov Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@f1f6c5f). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1492   +/-   ##
=======================================
  Coverage        ?   38.90%           
=======================================
  Files           ?       34           
  Lines           ?     1874           
  Branches        ?        0           
=======================================
  Hits            ?      729           
  Misses          ?     1145           
  Partials        ?        0           
Flag Coverage Δ
unittests 38.90% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@alteous

alteous commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

What is the motivation here? I'm quite skeptical of the need for this.

@Irev-Dev

Copy link
Copy Markdown
Contributor Author

@Irev-Dev Irev-Dev changed the title B-rep preview export [Spike] B-rep preview export Nov 17, 2026
@alteous

alteous commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

I’m wondering why it is necessary to reinvent the B-rep extension that already exists. Wouldn’t it be better to export glTF without the meshes?

…iew-api

# Conflicts:
#	modeling-cmds/openapi/api.json
#	modeling-cmds/src/format/mod.rs
#	modeling-cmds/src/shared.rs
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