surfacing.ts

cad/surfacing.ts
import type { CamJob, ToolpathSeg } from "./gcode";
// Wasteboard surfacing for the BobsCNC KL744: flatten the spoilboard with a
// large surfacing bit. NOT a cabinet — no parts, no 3D — just one G-code
// program in the dropdown.
//
// The whole point of the parameters: a 2" fly cutter hitting a high spot at
// full depth would stall or kick, so every pass is VERY shallow (0.02") and
// the feed stays moderate. Zero Z on the HIGHEST point of the wasteboard
// (find it with a straightedge), so the first pass skims and nothing slams.
export const SURF = {
bitDia: 2.0, // surfacing / fly cutter
area: [48, 48] as [number, number], // the KL744 work area to flatten
stepover: 1.5, // 75% of the bit — no ridges between lanes
passDepth: 0.02, // VERY shallow — gentle on any high spot
totalDepth: 0.04, // total material removed (2 passes); raise if it doesn't clean up
feed: 60, // in/min
plunge: 10, // in/min — big bit, gentle entry
safeZ: 0.75,

Showing the first 20 lines.

Get full code

Support

Talk to the developers of this project to learn more

We have been building professional websites for big clients for over 15 years. Gallop templates and blocks is our best foundation for SEO websites and web apps.

© 2026 Web Plant Media, LLC