Settings

Theme

Ask HN: Book about understanding mathematics behind CNC

2 points by tbt43p 4 years ago · 2 comments · 1 min read


Can you suggest a book about the mathematics behind CNC toolpath generation by a computer? What algorithms are involved in outputting gcode starting with a CAD file as input? I always saw this as black magic, and I would like to read more about.

How is the sequence of work operations decided?

abe_m 4 years ago

The sequence of work operations is (as far as I've seen) always done by the "programmer", as in the person using CAM or text editor to write the g-code program the CNC machine executes.

I've looked around, and haven't come across much for books. There are a few open source attempts at path generation, and that's what I'd suggest for reference. FreeCAD's path workbench can generate a number of paths.

The other thing to look at is most (all?) pro-level CAM software write the tool paths to an intermediate format that is the "post-processed" into the final output format for a specific machine. The intermediate format is called APT. There isn't much on the web about it, but there is an open source project on sourceforge called aptos that has an implementation of APT.

mardiyah 4 years ago

CNC Trade Secrets by James Harvey

CNC Programming Handbook by Peter Smid

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection