Commit graph grid-apps-cmms/src/kiri/mode/cam/slice.js
Author SHA1 Message Date
Stewart Allen
ad86c38d97 fix lathe preview lerp, gpu lathe end point, and index issues 2025-12-09 00:21:26 -05:00
Stewart Allen
6ad3f7c94b a little tidying 2025-12-06 18:08:09 -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
b57e0e385c fix stock clear all 2025-12-06 00:21:31 -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
f46bcc06f1 first pass refactor of cnc path routing 2025-11-30 18:03:18 -05:00
Stewart Allen
f8c53dfee9 first order clear for area op 2025-11-29 12:38:57 -05:00
Stewart Allen
3ced33f11b start area op implementation 2025-11-28 21:09:09 -05:00
Stewart Allen
6c89d99bb8 fix tab re-create on slice after rotate 2025-11-27 23:28:59 -05:00
Stewart Allen
6af1bda1ab rework tab cutting to work with indexed rotations 2025-11-27 10:32:41 -05:00
Stewart Allen
b526791762 circularity needs dedup for high density faces 2025-11-26 13:09:00 -05:00
Stewart Allen
c20c3ae7e5 reformat helical 2025-11-26 12:58:46 -05:00
Stewart Allen
604af6ff1f change slice bounds errors into alerts 2025-11-22 11:21:32 -05:00
Stewart Allen
17d293a810 sort slice/prep function bundles 2025-11-18 00:41:10 -05:00
Stewart Allen
ce444c2b33 fix tab cuts and stock clip to in roughing 2025-11-16 13:11:39 -05:00
Stewart Allen
eee5dd85a0 implement tab hopping. toolpath goes up and over tab instead of interrupting cut.
fixes #207
2025-11-14 18:26:50 -05:00
Stewart Allen
04da5abccb add slice layer naming using op notes. fixes #447 2025-11-13 22:25:06 -05:00
Stewart Allen
052716ec6d use epsilon value for more accurate zflat calculation 2025-10-29 19:40:52 -04:00
Stewart Allen
9138e219ea fixes #429 outline refresh and stock size issues 2025-09-23 18:33:03 -04:00
Stewart Allen
d976461ed4 code formatting 2025-09-22 21:38:02 -04:00
Stewart Allen
35660d39cf relax drill circularity for lower poly. add ; bc no ts syntax 2025-08-31 22:13:42 -04:00
Stewart Allen
01b1349127 add cam inner first routing option. add engine sample persistence 2025-08-10 23:48:10 -04:00
Stewart Allen
0b0f24fb16 fix newSlopeFromAngle in cnc/slice 2025-08-04 19:32:23 -04:00
bakedpotatolord
45ba762d1e Merge branch 'rel-4.3' into helical-op 2025-07-17 13:50:34 -06:00
Stewart Allen
095a539efa fix slice state, drill zmax, contour tool diam, point.a clone in move 2025-07-16 01:44:22 -04:00
Stewart Allen
b2a7046160 improve true shadow performance for outline and rough 2025-07-15 00:24:09 -04:00
Stewart Allen
a8f15e174a fix webpack-zip, fix setAxisIndex when relative 2025-07-14 19:01:01 -04:00
Stewart Allen
41ecf2951f restore indexed output, fix ops weight in slicing progress 2025-07-12 18:51:26 -04:00
Stewart Allen
f10024c28d fix slice progress for topo 2025-07-12 16:08:34 -04:00
Stewart Allen
7d3b210ed9 fix nested trace elements when clearing (poly area bug), fix shadowZ poly union, fix hidden cam animate 2025-07-12 14:09:35 -04:00
bakedpotatolord
13ce7ac0fe finish port into 4.3 2025-07-11 22:22:48 -06:00
bakedpotatolord
88c6aba60c remove unnessecary code 2025-07-11 16:39:25 -06:00
bakedpotatolord
a5e0a0a48e fix imported function syntax 2025-07-11 15:45:42 -06:00
Stewart Allen
5532cf28e4 add cam origin selector. fix wasm newpoly 2025-07-10 16:54:02 -04:00
bakedpotatolord
dfc2cd7f17 Merge branch 'rel-4.3' into helical-op 2025-07-10 12:57:56 -06:00
Stewart Allen
43104fa5ac move src/kiri/* to src/kiri/core and src/kiri-*/ to src/kiri/* and updated all imports 2025-07-09 13:00:52 -04:00
Renamed from src/kiri-mode/cam/slice.js (Browse further)