feat: STL export (STLOUT / EXPORTSTL command)
Exports all tessellated 3D mesh models in the current drawing to a binary STL file via a save-file dialog. Normals are taken from the MeshModel where available, otherwise computed from triangle vertices. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
9ede70ef1c
commit
25b91bc09e
6 changed files with 145 additions and 1 deletions
|
|
@ -3185,6 +3185,11 @@ impl H7CAD {
|
|||
}
|
||||
}
|
||||
|
||||
// ── STL export ────────────────────────────────────────────────
|
||||
"STLOUT"|"EXPORTSTL" => {
|
||||
return Task::done(Message::StlExport);
|
||||
}
|
||||
|
||||
// ── Plot / Page Setup ──────────────────────────────────────────
|
||||
"PRINT"|"PLOT"|"EXPORT" => {
|
||||
return Task::done(Message::PlotExport);
|
||||
|
|
|
|||
Loading…
Reference in a new issue