millisketch

Skills and pictures

Make a flat charm

make_charm

Makes a keychain to print from the trace, as a preview to add.

EditorTools tabAgentMCP
Needs
Nothing to pick: it works on the whole document.
In the editor
Review, after a picture is traced: every setting as a control, the ring dragged into place, then Add to document.
Tools tab
Picture to keychain… starts the editor's own control.
Agent and MCP
The chat's agent and MCP clients call make_charm, each call one step to undo. Over MCP it also takes project, editor and request_id.

What it does

A flat charm from the trace, as a preview, in one piece with a ring hole in a tab of its own. Keeping the colours, the ink is a black body through the whole thickness and each area it encloses a body in its own colour, with a frame in the paper's colour when the plate reaches past the drawing; monochrome, a plate with the drawing's lines raised on it or engraved into it.

It adds nothing to the document until Add to document; Update in document replaces what an earlier Add put there. Loose pieces are joined by bridges, or refused with bridges off, and what looks fragile is said with the change that would help.

Inputs

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

InputTypeWhat it is
colorsone of "keep", "mono"The drawing's colours kept, a body per area, or the whole in paper and ink.
thicknessnumberThe charm's thickness, with engraved lines cut into it, in mm.
bordernumberThe plate around the drawing, with plate "outline", in mm.
plateone of "outline", "rounded", "oval", "none"The drawing's outline grown by the border, a rounded rectangle or an oval holding it, or the drawing alone.
linesone of "raised", "engraved", "none"The drawing's lines on the plate.
line_heightnumberHow high raised lines stand, or how deep engraved ones are cut, in mm.
smoothingnumberHow far the outlines are smoothed, 0 to 0.5: corners sharper than this round off, in mm.
ringsee the descriptionWhere the ring hole goes: one of "top", "top-left", "top-right", "left", "right", "bottom", "none", or {x, y} in mm from the drawing's middle.Not in the Tools tab's form.
ring_diameternumberThe ring hole's diameter, in mm.
ring_rimnumberThe material around the ring hole, in mm.
bridgesbooleanJoin loose pieces to the plate with bridges, rather than refusing them.
namestringThe bodies' name, such as "Dragon keychain".

Limits

  • It never says a part prints: check it in a slicer. Over 60 bodies is refused: the drawing wants cleaning, or monochrome.
  • A charm is flat: no sculpted figure, and colours beyond its bodies' are the slicer's to assign.

Examples

A keychain in the drawing's colours

After a trace, keep the colours, leave the ring on its side, and press Add to document.

Then: The ink in black and one body per coloured area beside what is there, one step to undo; File, Export writes them as a 3MF with their colours.