Commit graph

13 commits

Author SHA1 Message Date
flash555588
69ac33d719 chore(P2): normalize line endings, add .editorconfig, run lint in CI, sync docs 2026-06-15 17:01:17 +08:00
flash555588
ee2c925b09 docs: replace preview image with local GIF 2026-06-08 13:21:37 +08:00
flash555588
b1cf45b11e feat: register cross-format model components 2026-06-06 20:36:51 +08:00
flash555588
e478b426d7 feat: register glb component parts 2026-06-06 19:27:28 +08:00
flash555588
fd491042c1 Release 0.4.3 2026-06-03 20:51:30 +08:00
flash555588
16a06bfb43 release: prepare 0.2.3 2026-05-29 16:33:42 +08:00
flash555588
c87d7ea5cd release: simplify model view and publish 0.2.1 2026-05-25 20:42:41 +08:00
flash555588
be3db73d9b feat: Three.js as primary renderer for all single-model formats and workbench
- Add renderer-agnostic preview abstraction layer (src/render/preview/)
- Add Three.js renderer with GLB/GLTF/STL/PLY/OBJ support (src/render/three/)
- Add Three.js disassembly, explode, focusWorldPoint, animation support
- Route workbench to Three.js for supported formats (allowEditModeOnThree)
- Fix htm multi-root template rendering with replaceWithHtml helper
- Fix profile null-safety with getProfileTags/getProfileAnnotations
- Fix AnalysisView double-mount with pre-cleanup in onOpen
- Move presets from babylon/presets/ to renderer-agnostic presets/
- Update routing matrix, README, i18n for expanded format support
2026-05-21 20:25:39 +08:00
flash555588
6c6c632493 feat: improve mobile support and cross-platform portability 2026-05-12 23:02:33 +08:00
Zyk
db5f5fa7de Fix dependency conflicts 2026-05-08 23:35:55 +08:00
flash555588
46ef05a560 feat: SLDPRT support, portability fixes, comprehensive QA audit, rewrite README
New features:
- Add SLDPRT (SolidWorks) converter via FreeCAD + OpenCASCADE pipeline
- Add IGES/IGS and BREP format support via format-aware Python scripts
- Add 3MF and DAE format support via trimesh/Assimp converter
- Add loading overlay component with progress bar and phase text
- Enable STP files by default in format registry

Portability:
- Remove all hardcoded user paths, use process.env.LOCALAPPDATA for discovery
- Fix .split("/") path separator issues (scene.ts, app.ts, helper-buttons.ts)
- Add macOS Apple Silicon Homebrew paths (/opt/homebrew/bin/)
- Fix escapePyStr + raw string double-escaping (pyPath normalizes to forward slashes)
- Add maxBuffer to all execFileAsync calls (50MB)

Bug fixes:
- Fix OBJ load errors silently swallowed (now re-throw after logging)
- Fix explode position drift on repeated set/reset cycles (store original center)
- Fix explode uses world-space position (switch to local position)
- Fix picking highlight material leak when mesh disposed externally
- Fix grid layerMask collision in compose presets (one cell = one bit)
- Fix renderScale/quality inconsistency (track currentQuality)
- Fix stale loading flag drops model path changes (pendingPath mechanism)
- Fix persist() unhandled rejection on save failure
- Fix Python injection via double-quote in paths (reject quotes in pyPath)
- Fix PLY face indices parsed as floats (Math.round)
- Fix PLY face indices no bounds checking (skip out-of-range)
- Fix ASCII STL produces confusing error (detect and warn)
- Fix WebGL engine leak on live-preview load error
- Fix DirectView race condition on rapid file loads (generation counter)
- Fix MutationObserver not disconnected on code-block load error
- Fix auto-save timer fires after plugin unload (add dispose)
- Fix duplicate conversions on concurrent requests (in-flight dedup)

Other:
- Rewrite README with comprehensive usage, third-party setup, and demo page
- Add docs/demo.md with 11 feature walkthrough sections
- Remove dead code (freecad-stub.ts)
2026-05-08 17:54:59 +08:00
Flash
d06a93c67a feat: add PLY format and mobile support
PLY loader (ASCII/binary, mesh + point cloud + vertex color),
mobile compatibility (hardware scaling), SPLAT summary fix.
2026-05-07 17:51:56 +08:00
flash555588
31c3837cfa feat: initial commit — Obsidian AI 3D Model Workbench plugin
Babylon.js-powered 3D viewer for Obsidian with support for
GLB, GLTF, STL, OBJ, and SPLAT formats. Features include
multi-model grid rendering, preset layouts, knowledge note
generation, and snapshot export.
2026-05-07 15:28:06 +08:00