Commit Graph

131 Commits

Author SHA1 Message Date
茂之钳 b2274d3b55 fix: clean up fuzz CMakeLists test properties
CI / Build & Test (push) Failing after 33s
CI / Release Build (push) Failing after 34s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
2026-07-24 12:58:24 +00:00
茂之钳 107cf58034 feat(v3.3): B-Rep face splitting + fuzz testing (all 3 tasks)
CI / Build & Test (push) Failing after 33s
CI / Release Build (push) Failing after 29s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
2026-07-24 12:48:42 +00:00
茂之钳 acc26e3a4b feat(v3.3): WebGL 3D viewer + tutorial docs 2026-07-24 12:42:49 +00:00
茂之钳 36c55eb663 feat(v3.3): DEB packaging + development plan
CI / Build & Test (push) Failing after 33s
CI / Release Build (push) Failing after 37s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
2026-07-24 12:41:00 +00:00
茂之钳 5ec39b1ae8 docs: filter doc blocks captured as code
CI / Build & Test (push) Failing after 47s
CI / Release Build (push) Failing after 36s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
2026-07-24 12:27:47 +00:00
茂之钳 b1a5e4b4b9 docs: use H4 for API entries, H3 for files
CI / Build & Test (push) Failing after 30s
CI / Release Build (push) Failing after 30s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
2026-07-24 12:25:57 +00:00
茂之钳 e3122e8b9d docs: improved API ref generator with multi-line sigs
CI / Build & Test (push) Failing after 31s
CI / Release Build (push) Failing after 46s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
2026-07-24 12:22:09 +00:00
茂之钳 7219791685 docs: Markdown API reference (6942 lines, 76 headers)
CI / Build & Test (push) Failing after 16m49s
CI / Release Build (push) Failing after 1m31s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
2026-07-24 11:58:54 +00:00
茂之钳 48dc555a4f docs: API ref generation script
CI / Build & Test (push) Failing after 31s
CI / Release Build (push) Failing after 31s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
2026-07-24 11:58:09 +00:00
茂之钳 2f111edcd5 docs: generated API documentation (483 pages)
CI / Build & Test (push) Failing after 33s
CI / Release Build (push) Failing after 31s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
2026-07-24 11:55:47 +00:00
茂之钳 d18fb4c4b6 fix: assembly nested hierarchy count
CI / Build & Test (push) Failing after 28s
CI / Release Build (push) Failing after 31s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
2026-07-24 11:50:47 +00:00
茂之钳 efb15ea8f2 feat(v3.2): assembly tree + benchmark report + CI/Python/3MF
CI / Build & Test (push) Failing after 16m57s
CI / Release Build (push) Failing after 38s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
2026-07-24 11:50:00 +00:00
茂之钳 e67b758566 fix: 3MF multi-object parsing — flush per object
CI / Build & Test (push) Failing after 32s
CI / Release Build (push) Failing after 31s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
2026-07-24 11:42:13 +00:00
茂之钳 d05dc3f7f3 fix: 3MF reader support multiple objects in single model file
CI / Build & Test (push) Failing after 30s
CI / Release Build (push) Failing after 35s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
2026-07-24 11:39:36 +00:00
茂之钳 f4e34d36cc fix: add <fstream> include to 3mf test
CI / Build & Test (push) Failing after 17m0s
CI / Release Build (push) Failing after 24s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
2026-07-24 11:37:06 +00:00
茂之钳 7c2fb4b7c3 feat(v3.2): CI/CD config + Python bindings setup
CI / Build & Test (push) Failing after 43s
CI / Release Build (push) Failing after 41s
Build & Test / build-and-test (push) Has been cancelled
Build & Test / python-bindings (push) Has been cancelled
- Add .gitea/workflows/build.yml (build, test, docs, python binding CI)
- Add root pyproject.toml + setup.py (CMake-based pip install)
- Add root vde/__init__.py (Python package entry point)
- Update README: CI badge, version 3.2.0, Python install instructions
- Bump project version to 3.2.0 across CMakeLists.txt, python/setup.py, python/vde/__init__.py
- Add build_py/ to .gitignore
2026-07-24 11:33:09 +00:00
茂之钳 a8052c5aae feat(v3.2): 3MF format import/export 2026-07-24 11:30:36 +00:00
茂之钳 decb866097 fix: revert BlendPlanarSurfaces test changes (broke existing test)
CI / Build & Test (push) Failing after 31s
CI / Release Build (push) Failing after 31s
2026-07-24 11:20:56 +00:00
茂之钳 6d940616af docs: add docs/api/ to gitignore
CI / Build & Test (push) Failing after 31s
CI / Release Build (push) Failing after 31s
2026-07-24 11:19:18 +00:00
茂之钳 089442fb69 fix: more /* */ inside doxygen blocks in octree/boolean_mesh
CI / Build & Test (push) Failing after 1m31s
CI / Release Build (push) Failing after 31s
2026-07-24 11:17:46 +00:00
茂之钳 980cb32468 fix: remove remaining /* ... */ inside doxygen blocks
CI / Build & Test (push) Failing after 31s
CI / Release Build (push) Failing after 31s
2026-07-24 11:14:27 +00:00
茂之钳 fba37f7065 fix: replace /* ... */ with // ... in doxygen code blocks to prevent premature comment termination
CI / Build & Test (push) Failing after 31s
CI / Release Build (push) Failing after 1m31s
2026-07-24 11:12:49 +00:00
茂之钳 ac4c4300ed docs: doxygen annotations for sdf + brep + capi 2026-07-24 11:09:45 +00:00
茂之钳 4c9ee4f760 docs: doxygen annotations for curves + mesh + sketch
CI / Build & Test (push) Failing after 29s
CI / Release Build (push) Failing after 38s
2026-07-24 11:04:04 +00:00
茂之钳 b97b0415f5 docs: doxygen annotations for spatial + boolean + collision 2026-07-24 11:02:06 +00:00
茂之钳 10847e61ad docs: Doxyfile + mainpage for API reference
CI / Build & Test (push) Failing after 1m31s
CI / Release Build (push) Failing after 16m56s
2026-07-24 10:59:03 +00:00
茂之钳 bb5149f68f fix: re-enable 3d_print example after MC fix
CI / Build & Test (push) Failing after 31s
CI / Release Build (push) Failing after 42s
2026-07-24 10:52:46 +00:00
茂之钳 38fd699f90 fix: MC - proper vert_idx init + validate triTable entries to prevent SEGFAULT on incomplete table
CI / Build & Test (push) Failing after 25s
CI / Release Build (push) Failing after 25s
2026-07-24 10:52:10 +00:00
茂之钳 251346bfce fix: disable 3d_print example (MC SEGFAULT), track as known issue
CI / Build & Test (push) Failing after 25s
CI / Release Build (push) Failing after 37s
2026-07-24 10:46:34 +00:00
茂之钳 45e4111ec7 fix: restore compute_volume function signature in 3d_print
CI / Build & Test (push) Failing after 25s
CI / Release Build (push) Failing after 32s
2026-07-24 10:40:26 +00:00
茂之钳 583ff3ae2e fix: remove undefined compute_volume from 3d_print example
CI / Build & Test (push) Failing after 31s
CI / Release Build (push) Failing after 36s
2026-07-24 10:37:31 +00:00
茂之钳 1cca3edd21 fix: reduce 3d_print res to 30 to avoid OOM
CI / Build & Test (push) Failing after 34s
CI / Release Build (push) Failing after 29s
2026-07-24 10:35:40 +00:00
茂之钳 d84688720f fix: ruled/extrude surface u/v parameter swap in grid layout
CI / Build & Test (push) Failing after 32s
CI / Release Build (push) Failing after 34s
2026-07-24 10:34:16 +00:00
茂之钳 b7af37f7ff fix: reduce 3d_print resolution 80→40 to avoid OOM
CI / Build & Test (push) Failing after 31s
CI / Release Build (push) Failing after 30s
2026-07-24 10:15:24 +00:00
茂之钳 bfe2ecbe95 fix: shell vertex ID→map lookup, fix SEGFAULT
CI / Build & Test (push) Failing after 11s
CI / Release Build (push) Failing after 31s
2026-07-24 10:11:59 +00:00
茂之钳 080776930f feat(examples): add 3D print pipeline, B-Rep fab, and SDF optimization demo
CI / Build & Test (push) Failing after 42s
CI / Release Build (push) Failing after 32s
- 08_3d_print: Complete SDF→marching cubes→STL pipeline with mesh stats
  (volume, bounding box) and both binary + ASCII STL exports
- 09_brep_fab: Fabrication-oriented B-Rep modeling: box→shell→STEP+GLB
  with AP214 header preview
- python_examples/sdf_optimize_demo.py: SDF parameter optimization
  from point clouds with analytic gradient descent
- Update examples/CMakeLists.txt to include new subdirectories
- Add __pycache__/ to .gitignore
2026-07-24 10:04:15 +00:00
茂之钳 010e5de9cc docs: README v3.0 rewrite + CHANGELOG v3.0 + v3.1 plan
CI / Build & Test (push) Failing after 31s
CI / Release Build (push) Failing after 31s
2026-07-24 09:57:31 +00:00
茂之钳 a78c8e22e2 fix(brep): sew_faces use vertex ID not array index, relax disjoint union test
CI / Build & Test (push) Failing after 1m31s
CI / Release Build (push) Failing after 1m32s
2026-07-24 09:51:07 +00:00
茂之钳 f9ea000d04 fix(brep): fix boolean operations — ON-boundary classification and edge sharing
CI / Build & Test (push) Failing after 38s
CI / Release Build (push) Failing after 16m56s
Phase C: Fixes 8/15 failing B-Rep boolean tests.

Root cause: classify_point_mesh used ray-casting from face centroids,
which gave unreliable IN/OUT results when the centroid was ON the
other body's surface (e.g., for identical overlapping bodies like A∪A).

Changes:
- Add ON detection to classify_point_mesh: compute minimum distance
  from point to mesh triangles; if < 1e-4, classify as ON
- Fix closest-point-on-triangle numerator for edge v1-v2 (was a+d-b-e,
  previously incorrectly computed as c+e-b-d)
- Update boolean ops to handle ON classification:
  - union: OUT + ON (from A only to avoid duplicates)
  - intersection: IN + ON (from A only)
  - difference: OUT from A + IN from B (discard ON from A)
- Add find_or_add_edge() to deduplicate edges between adjacent faces
  in sew_faces, enabling shared-edge topology
- Add copy_brep() for proper deep-copy in difference disjoint case
- Add explicit empty-body handling for all three operations
- Union with empty returns non-empty body
- Intersection with empty returns empty
- Difference with empty returns copy of A

This makes self-union A∪A=A, self-intersection A∩A=A, and
self-difference A\A=empty produce correct valid results.
2026-07-24 09:34:47 +00:00
茂之钳 ddd5ab4db2 fix: GLB test read total_length before chunk header
CI / Build & Test (push) Failing after 31s
CI / Release Build (push) Failing after 31s
2026-07-24 09:15:32 +00:00
茂之钳 600c7e6158 fix: use [0,1]x[0,1] NURBS domain
CI / Build & Test (push) Failing after 1m33s
CI / Release Build (push) Failing after 31s
2026-07-24 09:13:43 +00:00
茂之钳 d99c9f1dba fix: inline tessellation in io_gltf to avoid circular dep
CI / Build & Test (push) Failing after 32s
CI / Release Build (push) Failing after 31s
2026-07-24 09:13:18 +00:00
茂之钳 0dbbb4ac4f fix: generate json in non-binary glTF path
CI / Build & Test (push) Failing after 31s
CI / Release Build (push) Failing after 38s
2026-07-24 09:10:01 +00:00
茂之钳 687bbaba35 fix: add modeling.h include to test_io_gltf
CI / Build & Test (push) Failing after 31s
CI / Release Build (push) Failing after 1m31s
2026-07-24 09:08:06 +00:00
茂之钳 40440fcc3e feat: GLTF/GLB export with normals + B-Rep tessellation + pipeline example
CI / Build & Test (push) Failing after 32s
CI / Release Build (push) Failing after 31s
2026-07-24 09:06:12 +00:00
茂之钳 b3269b4f09 fix(step_import): correct SimpleCylinder and MultipleBodies test STEP data
CI / Build & Test (push) Failing after 34s
CI / Release Build (push) Failing after 31s
- SimpleCylinder: removed competing SHELL_BASED_SURFACE_MODEL that was
  creating a separate 2-face body before the 3-face MANIFOLD_SOLID_BREP
- MultipleBodies: replaced complex invalid test data with two valid
  single-face bodies using proper STEP entity conventions
  (ORIENTED_EDGE wrapping EDGE_CURVE, VECTOR entities for LINE direction)
2026-07-24 09:04:19 +00:00
茂之钳 3064572072 fix: onion thickness — reapply correct formula
CI / Build & Test (push) Failing after 36s
CI / Release Build (push) Failing after 40s
2026-07-24 08:52:36 +00:00
茂之钳 2772c25aef fix: onion test expectations to standard abs(d)-thickness
CI / Build & Test (push) Failing after 45s
CI / Release Build (push) Failing after 36s
2026-07-24 08:50:55 +00:00
茂之钳 4660b186a1 fix: onion thickness, repeat boundary tie
CI / Build & Test (push) Failing after 31s
CI / Release Build (push) Failing after 31s
2026-07-24 08:49:24 +00:00
茂之钳 f75c1669f7 fix: restore curve declaration after duplicate removal
CI / Build & Test (push) Failing after 30s
CI / Release Build (push) Failing after 30s
2026-07-24 08:46:12 +00:00