VisualAPTA LANGUAGE FOR MOTION

VisualAPT is a version of APT (AUTOMATICALLY PROGRAMMED TOOLS)

GEOMETRY · LANGUAGE · MOTION

Define geometry.
Express motion.

APT is Body-syntonic. Body-syntonic is a concept where a virtual object's position and pose are imagined as if it were a personified "ego" — or as the embodied programmer's/user's own body. Motion is described as one would move in that space. So, "Go Forward" and "Go Right" are used rather than say, Move +X, or Move -Y. It simplifies spatial programming tasks because the compiler/system keeps track of direction vectors, tangents and normals based on intent and world state.

Body Syntony /ˈbɑːdi ˈsɪntəni/ noun
How the physical body aligns, responds, and harmonizes with its movements or its environment.

01 THE APT LANGUAGE

MIT · 1956–1959

APT: geometry
and motion.

Imagine yourself as the cutting tool. Follow the geometry. Let the computer work out the motion.

Historic MIT numerically controlled milling machine
THE MIT NUMERICALLY CONTROLLED MILLING MACHINEArchive & image source
APT / GEOMETRY → MOTIONHISTORICAL LANGUAGE
$$ Contouring: surfaces already defined
$$ PS: supporting part surface
$$ DS: curved lateral drive surface
$$ CS: terminating check surface
$$ Cutter engaged; forward direction set
CUTTER / 10
PSIS / PS
TLAXIS / 0, 0, 1
TLRGT
GOFWD / DS, TO, CS
A relational contouring fragment: keep the cutter on the right of DS, its end against PS, and stop when its leading edge reaches CS. PS names the Part Surface; PSIS is the APT keyword that selects it. Geometry, initial engagement, and machine setup are omitted.
GOFWDGo forward
TANTOTangent to
TO / ON / PASTRelationships to a boundary
THREE SURFACES / ONE CONTINUOUS INTENTIONREADY
APT cutter constrained by part, drive, and check surfacesA cylindrical cutter follows an offset curved path on a planar part surface. Its side contacts the curved drive wall; its leading edge stops at the check plane.PS / PART SURFACEDS / DRIVE SURFACECS / CHECK SURFACE

PS · SupportThe cutter end remains on the part surface.

DS · GuideThe cutter flank follows the wall; the center path is offset by its radius.

CS · StopTO ends the move at first cutter contact with the check plane.

Original geometric illustration inspired by the supplied references. Scrub or play the path. This is a prescribed contour demonstration, not an APT interpreter or cutting simulation.

ESTABLISH THE BODY FRAME

Stand inside
the moving Body.

Your forward direction comes from the motion you are continuing. Your left and right are relative to that heading. In this upright example, up follows the Body axis; down opposes it.

Turn the heading: left and right turn with you. The drawing’s screen axes stay fixed. This is the body-syntonic insight—directions acquire meaning through the moving body.

Conceptual body-frame drawing. APT continuation words select a direction in the context of prior motion and the specified surfaces; these arrows are not six unconstrained machine-axis commands.

Body-relative up, down, left, right, forward and back

RELATIONSHIP TO A BOUNDARY

To. On. Past.

Follow the Drive Surface. Choose where the Body finishes relative to the Check Surface.

Normal to Part Surface

Body moving To, On or Past a Check SurfaceA curved drive guide and a part surface constrain the path. Pose Mode aligns the Body shank to the path tangent instead of the ground normal.DS / DRIVE SURFACEPS / PART SURFACECS / CHECK SURFACE

TO · leading edge reaches the Check Surface.

To: leading edge reaches CS. On: Body reference center reaches CS. Past: trailing edge clears CS. Pose Mode follows the local path tangent on DS. This is a geometric pose illustration.

APT’s development.

Douglas T. Ross led APT’s development at MIT with Air Force support and aircraft-industry collaboration. Automatically Programmed Tools turned descriptions of geometry and tool motion into paths for numerically controlled machines. NC hardware came first; APT made complex machining far more practical to program. [1]

Surface relationships.

APT can describe motion in relation to part, drive, and check surfaces. Its processor calculates cutter locations; a postprocessor translates them for a particular machine. The APT fragment describes three simultaneous relationships: the cutter end follows the part surface, its side follows the drive surface, and the check surface terminates the move. The illustrated part surface is planar; the curved drive surface determines the contour. The tool axis remains correctly oriented to the surfaces. That relational contouring language is the foundation for the BodySyntonic proposal.

1952

MIT demonstrates numerical control.

1956–59

Ross’s team develops APT with industry.

1974

First APT language standard: ANSI X3.37.

1970s–80

RAPT brings geometric relationships to robot assembly.

A foundational language for NC and CAM. The first APT ANSI language standard was published in June 1974. [3]

APT’s legacy remains at the heart of many modern CAM workflows—even when the programmer works through a graphical interface rather than writing APT code. APT source and APT-like cutter-location data still connect toolpath generation to postprocessing: CATIA supports APT output, and Siemens NX can supply APT-like CLS data to ICAM. The interface has changed, but this intermediate description of tool motion remains a practical bridge to machine-specific NC code. [6]

START A CONVERSATION

Try VisualAPT.

Are you writing AI Robotics applications? We'd love to hear from you.

Request access ↗

02 ROBOTICS RESEARCH

BODYSYNTONIC / RESEARCH

A modern language
for robotics.

Keep the relational idea. Extend it to bodies that reach, touch, balance, and move through the world.

BodySyntonic explores a modernized representation of intention inspired by APT: pose, guide surfaces, contact, tangents, normals, timing, and force constraints. Its proposed Bodysyntonic Robot Language (BRL) would make those relationships explicit, connecting human-readable intent with robot motion and learned world models.

This is a research direction: a way to describe what should hold during movement, while the controller or planner determines how to achieve it.

Explore BodySyntonic ↗

RELATED REPRESENTATIONS

APT

Tool ↔ part ↔ surfaces

BODYSYNTONIC

Body ↔ contact ↔ environment

From geometric relationships to physical intention.

03 CODE & COLLABORATION

GITHUB

Code & examples.

A home for the VisualAPT repository, examples, and development notes.

GitHub

04 ABOUT VISUALAPT

DEVELOPED BY TODD MUSCAT

About VisualAPT.

VisualAPT is Todd Muscat’s work with the APT language. This site brings the language’s history and geometric ideas into view.

Todd’s engineering work spans CAD/CAM, CNC motion, manufacturing software, simulation, AI and robotics (Physical AI).

Developer Todd Muscat ↗
Sources, history & image credits+