Commit graph grid-apps-cmms/src/kiri/mode/cam/op-area.js
Author SHA1 Message Date
Stewart Allen
d40f19fe50 add area trace thru for better outline / rough behavior 2025-12-14 10:23:35 -05:00
Stewart Allen
ca1ff1dddb fix trace tool shadow clone, zbottom vs area minz for lerp 2025-12-14 01:27:08 -05:00
Stewart Allen
14a80b7377 fix clamp min/max swap 2025-12-14 00:56:38 -05:00
Stewart Allen
161cd06daa comment out zThru and rework zBottom 2025-12-14 00:42:23 -05:00
Stewart Allen
dca7c03bd7 fix arc output, add rounded corners expert option 2025-12-14 00:18:34 -05:00
Stewart Allen
43fab60fd5 remove bottom_cut (obsolete) and error when z bottom > z top 2025-12-13 23:44:50 -05:00
Stewart Allen
81430b74b1 Merge branch 'rel-4.5' of github.com:GridSpace/grid-apps into rel-4.5 2025-12-13 21:15:24 -05:00
Stewart Allen
1824fc4522 fix open polys with area trace 2025-12-13 21:15:00 -05:00
Stewart Allen
b08d0381de skip raster when no paths produced 2025-12-13 18:09:11 -05:00
Stewart Allen
9da67ea66d fix surface slice visualization 2025-12-13 16:30:34 -05:00
Stewart Allen
d5b6d4c080 for area offsets, disable wasm (lacks features) and use round joins for offsets (better tool paths for cnc) 2025-12-13 15:48:30 -05:00
Stewart Allen
d5cda790c0 fix ball taper render in indexed mode 2025-12-12 22:26:58 -05:00
Stewart Allen
917a798474 fix ?? 2025-12-12 21:12:46 -05:00
Stewart Allen
367bf32b0a add roughing flat passes option 2025-12-12 18:10:06 -05:00
Stewart Allen
a1880f7dc3 add milling direction per op 2025-12-12 12:46:43 -05:00
Stewart Allen
0df0e14f32 merge overlapping tabs 2025-12-11 22:47:24 -05:00
Stewart Allen
dd88f38e39 add tabs to travel boundaries, ensure ease-down does not go thru tab 2025-12-11 21:14:45 -05:00
Stewart Allen
df2014d297 fix roughing leave_xy 2025-12-11 20:29:20 -05:00
Stewart Allen
7b3f9b5581 add outside travel safeties to tool_shadow, disable depth-first pocket with drape (incompatible since no nesting), filter empty slices (also a drape artifact) 2025-12-11 17:14:59 -05:00
Stewart Allen
8fcfdd7499 limit return to non-empty slices 2025-12-11 08:29:21 -05:00
Stewart Allen
adbf4f61d7 fix area trace early termination conflict with drape 2025-12-11 08:26:57 -05:00
Stewart Allen
cc8dbbc908 move axis reset macro to device 2025-12-10 20:08:57 -05:00
Stewart Allen
f49a84b1f5 fix deep travel between small polys that tool_shadow elides 2025-12-10 14:04:30 -05:00
Stewart Allen
88d5a2b2a9 resolve merge 2025-12-10 13:55:00 -05:00
Stewart Allen
af65701ace fix roughing leave z 2025-12-10 11:03:34 -05:00
Stewart Allen
1773430679 add outline wide cutout 2025-12-10 00:22:21 -05:00
Stewart Allen
adfede4960 add functionality needed to complete outline 2025-12-09 22:57:26 -05:00
Stewart Allen
2097f8d6e2 start to add back outline features 2025-12-09 21:35:45 -05:00
Stewart Allen
463fc48472 enable inside/outside trace for open polylines 2025-12-09 08:16:17 -05:00
Stewart Allen
cd7c0f7597 fix shadow coplanar with bottom z 2025-12-08 17:35:21 -05:00
Stewart Allen
8fb0574894 fix zThru for area based ops 2025-12-08 10:35:16 -05:00
Stewart Allen
8bca0a949a clamp single trace to z top/bottom 2025-12-07 22:11:04 -05:00
Stewart Allen
f59a2ea021 add area to travel bounds, pump shadow for annealing, add input select post to allow name updates 2025-12-07 21:37:34 -05:00
Stewart Allen
1e69db16f8 move healPolys into polygons util class and rename as 'reconnect' 2025-12-06 14:23:56 -05:00
Stewart Allen
a4ab9288ac fix colors and layer first shadow 2025-12-06 00:26:57 -05:00
Stewart Allen
e0b1c4e31f CAM routing refactor, area operation, and taper ball tool implementation
Major routing improvements:
- Refactor depth-first routing algorithm for better path optimization
- Reimplemented outline, roughing, pocket, and trace as area operation wrappers
- Add pocket shadow travel routing with optimized descent using travel bounds
- Improve contour routing with arc detection and polyEmit arc strategy
- Add area smoothing and ease-down options
- Fix outline handling with thru holes and surface reversal on tip2tip
- Move widget shadow methods into widget class for faster hole detection
- Better camInnerFirst support and proper feed/plunge defaults

Tool system improvements:
- Implement taper ball tool type with full support
- Add renderTool2() for profile-based visualization
- Convert tool menu to init code with bound vars
- Fix auto tool and auto spindle for prep operations
- Update tool profile generation for taperball geometry
- Add calcTaperBallExtent() for proper ball tangency calculations

Code cleanup:
- Remove duplicated slicer code from specialized slicers
- Asyncify shadowAt operations
- Deprecate pocket engrave operation
- Simplify upNover implementation
- Fix animation with new tool+settings requirements
2025-12-06 00:09:17 -05:00
Stewart Allen
22b99ed033 fix DEG2RAD typo 2025-11-30 02:09:15 -05:00
Stewart Allen
ce2d9b38a8 add todo notes 2025-11-30 01:38:28 -05:00
Stewart Allen
8c4f4198be add surface output 2025-11-30 01:27:49 -05:00
Stewart Allen
7c99dfc5fc implement most of op.area surface linear 2025-11-29 23:27:39 -05:00
Stewart Allen
68db33df3f add surface linear constraint and angle. rename fields 2025-11-29 18:17:27 -05:00
Stewart Allen
e9c5cf8712 stub in area surface menu 2025-11-29 18:00:26 -05:00
Stewart Allen
af400267c0 fix area outline 2025-11-29 16:38:50 -05:00
Stewart Allen
45af1866fe add tab support for area clear/trace 2025-11-29 16:21:10 -05:00
Stewart Allen
a02e4867c6 start implementing area trace 2025-11-29 16:08:46 -05:00
Stewart Allen
b9ee9308e9 add area prepare 2025-11-29 14:16:35 -05:00
Stewart Allen
b0f3965a35 use exact step over for taper tools 2025-11-29 13:03:51 -05:00
Stewart Allen
4a082965b8 area: cleanup invalid polys, add progress reporting 2025-11-29 12:52:53 -05:00
Stewart Allen
f8c53dfee9 first order clear for area op 2025-11-29 12:38:57 -05:00
Stewart Allen
1ae3750b34 reintroduce minz in pocket poly unions 2025-11-29 10:20:49 -05:00