Slice Tool: Create attachment joints at cut boundaries #12

Closed
opened 2026-06-09 02:02:33 +00:00 by Mark · 0 comments
Owner

The slice tool in src/pages/editor/LeftToolbar.tsx and src/pages/editor/EditorScene.tsx creates visual splits but does not generate proper attachment geometry or joints at cut edges.

Current State

  • Slice plane visual exists with draggable controls
  • applySlice() in src/pages/editor/store.ts splits objects but only modifies scale/position
  • No actual mesh cutting occurs - just visual clipping
  • No attachment surfaces created at cut boundaries

Required Implementation

  • Implement CSG-style mesh cutting using Three.js utils or custom implementation
  • Generate circular/slot-shaped attachment joints at intersection edges
  • Store cut boundary metadata (attachment points) in scene objects
  • Visualize attachment points in viewport

Acceptance Criteria

  • Actual mesh geometry is split into separate objects
  • Attachment joints created at slice intersection edges
  • Attachment data stored on resulting pieces
  • Attachment points visible in joint tool mode
The slice tool in `src/pages/editor/LeftToolbar.tsx` and `src/pages/editor/EditorScene.tsx` creates visual splits but does not generate proper attachment geometry or joints at cut edges. ## Current State - Slice plane visual exists with draggable controls - `applySlice()` in `src/pages/editor/store.ts` splits objects but only modifies scale/position - No actual mesh cutting occurs - just visual clipping - No attachment surfaces created at cut boundaries ## Required Implementation - Implement CSG-style mesh cutting using Three.js `utils` or custom implementation - Generate circular/slot-shaped attachment joints at intersection edges - Store cut boundary metadata (attachment points) in scene objects - Visualize attachment points in viewport ## Acceptance Criteria - [ ] Actual mesh geometry is split into separate objects - [ ] Attachment joints created at slice intersection edges - [ ] Attachment data stored on resulting pieces - [ ] Attachment points visible in joint tool mode
Mark closed this issue 2026-06-13 17:26:19 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Mark/kimi_agent_hero_forge_slice_issue#12
No description provided.