Skip to content

improved packaging, geometry export, and spline support#29

Merged
rdevaul merged 5 commits intomainfrom
updated-booleans-3d
Oct 30, 2025
Merged

improved packaging, geometry export, and spline support#29
rdevaul merged 5 commits intomainfrom
updated-booleans-3d

Conversation

@rdevaul
Copy link
Copy Markdown
Owner

@rdevaul rdevaul commented Oct 30, 2025

This pull merges in big improvements in yapCAD package functionality and geometry export, and extends extrusion support to include shapes defined by splines. There are enhancements to command line tools and significant documentation updates. An involute gear generation example was added based on the MIT-licensed figgear repo

Richard DeVaul added 5 commits October 23, 2025 13:57
…pers with a default field and - carry layer assignments through geometry JSON and package creation - add layer-aware toggles and scaled grid/labels in ycpkg viewer (3D & 2D) - annotate rocket/example8 packages with meaningful layers - document the new layer conventions and update layer-aware tests
   - ensure metadata roots default to a `layer` and add `set_layer` helper
   - propagate layer metadata through geometry JSON, packaging helpers, and examples
   - teach the viewer to group entities by layer with toggles and readable help overlays (H/F1)
   - fix scroll direction, overlay rendering (with depth-safe state push/pop), and DXF/package examples
   - document the layer field and update tests for layer serialization & package output
…export

- serialize sketch primitives (line, arc, circle, Catmull-Rom, NURBS, polyline) alongside sampled polylines so round-
  tripping retains parametric fidelity

- rehydrate those primitives in geometry_from_json and teach bbox utilities about them

- update DXF exporter to consume the stored primitives, emit native CIRCLE/ARC entities, and generate closed LWPOLYLINEs
  for closed splines

- add an end-to-end spline extrusion package test to validate viewing and DXF/STEP export

- document the new sketch primitives field in the package spec
  - Correct pole triangle winding in makeRevolutionSurface so end caps face outward
  - Add regression test ensuring revolved surfaces report proper cap normals
  - Rebuild maintained assets via pytest guard to catch regressions early
@rdevaul rdevaul merged commit 9313e8b into main Oct 30, 2025
6 checks passed
@rdevaul rdevaul deleted the updated-booleans-3d branch October 30, 2025 18:57
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.

1 participant