Skip to content

compas_cnc.tools.Tool ¤

Tool(diameter, height, cone_height=0.0, sides=24, name='tool')

A milling tool drawn as a solid of revolution: a cylinder of diameter and height, with an optional sharp conical tip of cone_height (the cone is cut into the bottom of the cylinder, so the total length stays height).

The tool TIP sits at the local origin and the body rises +Z, so dropping the tip onto a tool-path point seats the cutter on the cut.

radius property writable ¤

radius

Tool radius -- half the diameter. Setting it scales diameter to match.

at ¤

at(path, t=0.0)

Tool mesh placed at arc-length parameter t (0..1) along path.

solid ¤

solid(tip=(0.0, 0.0, 0.0))

Tool :class:compas.datastructures.Mesh with its tip at tip, body rising +Z.