Repository navigation
3D: lumps, mirrors, objects in space, 3D transforms (NURBS writer diagnosed in handoff) - #23
Merged
Merged
Conversation
- ACIS reader: bodies with several lumps and mirrored bodies (negative determinant transforms) read as AutoCAD draws them. - 3D view draws lines, polylines, 3D faces, meshes and extruded objects at their heights; LINE takes points in space (typed x,y,z or JSON). - New commands 3DMOVE, 3DROTATE, ROTATE3D, 3DSCALE, MIRROR3D, 3DALIGN, 3DARRAY (EntityKind::transform3 + Mat4 helpers), with ribbon icons and it/zh labels. - handoff.md: the NURBS writer failure and the DWG 2000 transparency diagnosed against AutoCAD, with the remaining work for the next round. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s, SAB versions) Drawings saved by AutoCAD 2027 for the 3D checks in handoff.md, with their ATTRIBUTION rows and README-finish.md describing each one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # CHANGELOG.md
withshalom
pushed a commit
that referenced
this pull request
Nov 18, 2026
…(3D transforms, lumps, mirrors)" The 3D branch gets main after PR #26 with the 3D work put back, so that later merges of main into 3D keep it. This reverts commit ee098cc. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F67RssNr67uM2HRS3vdet4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
3D: lumps, mirrors, objects drawn in space, 3D transforms, and AutoCAD's verdict on the NURBS writer
The next stretch of the 3D work, after PR 22. The rest goes on from
handoff.md, which is updated: section 1 lists what this PR adds, and section 3, item A1, holds AutoCAD's verdict on the NURBS writer with the diagnosis and the fix.What's new
crates/render/src/wire3d.rs).x,y,zor@dx,dy,dz, or given as JSON[x,y,z].solids: 3DMOVE (3M), 3DROTATE (3R), ROTATE3D, 3DSCALE, MIRROR3D, 3DALIGN (3AL) and 3DARRAY (3A).EntityKind::transform3. Kinds that can't leave the XY plane yet are left as they were, and the command says how many.Checked in AutoCAD 2027 (43 files, DWG and DXF 2000/2010/2013/2018)
Pass: DraftCraft's solids and regions; their properties (colour, lineweight, linetype scale, transparency); AutoCAD's own solids saved back unedited.
Fail: NURBS faces written by DraftCraft. AutoCAD's LOFT and SWEEP moved in DraftCraft and saved don't load in any version (
Error Code Number is 75004). The cause is inhandoff.mdA1:The fix is planned there, starting with keeping AutoCAD's ACIS under a body transform for moved solids.
Fail: transparency is lost in DWG 2000 (
handoff.mdA1b).Tests
cargo xtask ciandcargo xtask ci --solidspass, apart from the known macOS-only failures.transform3(doc);modify3d(engine: JSON forms, prompts, hostile sizes);wire3d(render);objects_off_the_xy_plane_are_drawn_where_they_are;a_solid_of_separate_pieces_reads_as_one_body;line_takes_points_in_space.The new AutoCAD test drawings (lumps, mirror, procsurf, regions-ucs, surfaces, mesh, history, facecolor, legacy3d, sab-2004/2007/2010) and their ATTRIBUTION rows come in a separate commit on this branch.
🤖 Generated with Claude Code