millisketch

Add

Add a clock face

add_clock_face

Builds a wall clock face with a shaft hole, a back recess if asked, and hour markers, every size a parameter.

EditorTools tabAgentMCP
Needs
Nothing to pick: it works on the whole document.
Tools tab
A form of its inputs, filled from what is picked; Run makes the change, one step to undo.
Agent and MCP
The chat's agent and MCP clients call add_clock_face, each call one step to undo. Over MCP it also takes project, editor and request_id.

What it does

A wall clock to print: the face, a disc lying flat with the shaft hole through its middle and, with a recess diameter and depth, a round recess in its back for the movement, as one revolved body whose dimensions can be retyped; and the hour markers standing on its top, one every 30° with 12 towards +Y, each a box of its own named after the clock.

Sizes left out follow the diameter (40 to 600 mm): the face 8 mm thick, an 8 mm shaft hole, markers 6 % of the diameter long, 1.5 % wide and 2 mm high, the quarters half as long again.

Inputs

As the agent and MCP clients send them. One left out takes the default its description gives.

InputTypeWhat it is
diameterneedednumberThe face's diameter in mm, 40 to 600.
thicknessnumberThe face's thickness in mm, 2 to 60; 8 when left out.
shaft_holenumberThe through hole's diameter in mm, for the movement's shaft; 8 when left out, 0 for none.
recess_diameternumberA round recess in the back for the movement's body, its diameter in mm; none when left out.
recess_depthnumberHow deep the recess goes, in mm, leaving 1 mm of face at least; goes with recess_diameter.
markersone of 12, 4, 012 hour markers, the 4 quarters alone, or none; 12 when left out.
marker_lengthnumberA marker's radial length in mm; 6 % of the diameter when left out.
marker_widthnumberA marker's width in mm; 1.5 % of the diameter when left out.
marker_heightnumberHow high a marker stands on the face, in mm; 2 when left out.
quarters_longerbooleanThe 12, 3, 6 and 9 markers half as long again; true when left out.
position[x, y, z][x, y, z] in mm: where the middle of the body's underside goes, so z 0 stands it on the ground.
colorstring or null"#rrggbb"; null gives the default colour back.
marker_colorstring"#rrggbb" for the markers; dark grey when left out.

Limits

  • No movement's dimensions are known: the shaft hole and the recess are what is asked, to be checked against the mechanism before printing.
  • The recess leaves at least 1 mm of face. No hands are made.

Examples

A 200 mm clock with a recess for its movement

Given: An empty document.

add_clock_face { "diameter": 200, "recess_diameter": 56, "recess_depth": 5 }

Then: A 200 × 8 mm face with an 8 mm shaft hole and a 56 mm recess 5 mm deep in its back, and twelve markers standing on it.