mirror of
https://github.com/flash555588/ai-model-workbench.git
synced 2026-07-22 06:56:38 +00:00
2.4 KiB
2.4 KiB
AI Model Workbench 0.7.5
0.7.5 delivers a coordinated Slice and measurement interaction update for
Babylon.js compatibility previews and the opt-in Three.js routes.
Changes
- Defines Slice
0°as the world-horizontal XZ plane and resets it through the placed model's world-bounds center at50%. - Adds editable Slice position (
0–100%) and X/Y/Z rotation (-180°–180°) fields synchronized with the cutting board, ruler, move handle, and rotation rings. - Keeps the visible cutting board larger than every projected model corner at any supported angle or offset.
- Stabilizes Slice rotation around the cutting-board center with a fixed gesture frame, Babylon camera-inertia isolation, screen-space fallback, snapping hysteresis, and animation-frame-coalesced pointer updates.
- Updates clipping planes in place during movement to avoid model flicker and material recompilation churn.
- Makes measurement target the entire model by default; an explicitly focused component is required to narrow measurement to a part.
- Coordinates focus, disassembly, measurement, and Slice as linked exclusive modes while preserving camera orbit and view overlays.
- Improves measurement snapping, drafting-style dimension callouts, calibration, render-scale feedback, conversion diagnostics, and restored direct-view load safety included in the accumulated release changes.
Behavior
- Babylon.js compatibility mode remains the default single-model route.
- Three.js remains an explicit opt-in route and follows the same Slice reset, numeric-control, measurement-scope, and mode-linking contract.
- Converted GLB Three fast path remains configurable with silent Babylon.js fallback.
- STEP/STP and other conversion-backed direct views continue to require an explicit Load model action when restored, reducing vault startup lockups.
- No GPL source from BambuStudio is copied; the interaction design was used only as behavioral reference under the repository's upstream-guidance rules.
Verification
npm run lintnpm run typechecknpm testnpm run verify:previewnpm run verify:preview -- --rollout three-direct-glb --expect-backend threenpm run verify:preview:successnpm run verify:settingsnpm run verify:knowledge-indexnpm run verify:remote-draftnpm run verify:diagnosticsnpm run buildnpm run verify:releasenpm run verify:obsidian -- --clean