Commit graph grid-apps-cmms/src/kiri/mode/cam/slice.js
Author SHA1 Message Date
Stewart Allen
87e4a32092 add global slicePre similar to sliceAll (which should be renamed slicePost)
add shared cam operational state so index+stock can run once for all instances
2026-01-03 11:42:37 -05:00
Stewart Allen
0bdadd7294 fix op loop expansion, rendering 2026-01-02 22:49:36 -05:00
Stewart Allen
f25e75f557 stub in loop operation 2026-01-02 21:25:56 -05:00
Stewart Allen
07da144aee apply axis rotations to trace lines in op area 2025-12-29 17:53:17 -05:00
Stewart Allen
d73f72586a add codec factory option, improve geo vertex caching, fix surface find in indexed mode 2025-12-28 19:55:44 -05:00
Stewart Allen
c279e1140b clip-to stock only for non-gpu topo3 contouring 2025-12-27 00:16:39 -05:00
Stewart Allen
bcd2449b89 fold tiny util into api, clean up modal corner cases, add more jsdoc 2025-12-25 16:17:44 -05:00
Stewart Allen
d957c4ce7f remove FloatPacker and cutPolys 2025-12-23 21:43:09 -05:00
bakedpotatolord
bcf05782d2 comment out debug logs 2025-12-20 15:46:21 -07:00
Stewart Allen
24af93550d add index angle to slices and pass to client 2025-12-14 23:00:10 -05:00
Stewart Allen
7199550958 fix erroneous z bottom > z top error 2025-12-14 13:12:43 -05:00
Stewart Allen
161cd06daa comment out zThru and rework zBottom 2025-12-14 00:42:23 -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
167b58a7b6 fix stock bounds when rotate in indexed mode with fixed vs offset stock 2025-12-13 11:56:08 -05:00
Stewart Allen
367bf32b0a add roughing flat passes option 2025-12-12 18:10:06 -05:00
Stewart Allen
cca1ecd148 warn when z bottom is below z thru 2025-12-11 22:53:20 -05:00
Stewart Allen
0df0e14f32 merge overlapping tabs 2025-12-11 22:47:24 -05:00
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