Skip to content

Manufacturing

Mehrdad Pajuhaan edited this page Nov 30, 2026 · 1 revision

Manufacturing

Robot Studio designs a robot so that it can be made: each made part says how it is made, its drawing is drawn from its solid, and the files each shop needs are written by process. The Build place collects all of it.

Status. Making data, drawings, exports by process, slicing and G-code simulation are built and tested in software. Nothing has been made from them yet: no part printed from the studio, no board ordered, no printer reached through a link. Read every output before you spend money on it.

How a made part is made

A part that is made, not bought, must say how a workshop makes it. An agent sets this with set_making:

  • Material as a real grade, for example "Aluminium 5052", not "metal".
  • Stock when the part is cut from something: a sheet of a given thickness, a rod, a bar or a block.
  • Route: the steps in order. The first step gives the part its shape (print, laser, mill, turn, saw). Later steps work on it: drill, ream, bore, thread, countersink, counterbore, bend, insert (a bearing, a nut or a heat-set insert pressed in), deburr, finish.

Tolerances are set with set_tolerances: a general tolerance class from ISO 2768-1 (f, m, c or v) for every made part, and an ISO 286 fit (such as H7 for a reamed bearing seat) or explicit limits for each hole or shaft that has to fit something. Threads are named the same way.

run_checks reports what a made part leaves unsaid or asks of its shop that the shop cannot do, for example make.no_material, make.no_route, make.print_face, make.print_thread (a thread tapped into a 3D print) or make.laser_hole (a hole smaller than the sheet is thick).

Process rules

get_process_guide gives the design rules of each shop: 3d-print, laser-cut, cnc-mill, cnc-turn and sheet-metal. They cover what the machine can and cannot make, how a thread goes into the part and what tolerance it holds. Examples from the guides:

  • A 3D-printed part takes no small thread. Below M6, use a brass heat-set insert, a nut in a pocket or a screw into a nut. Overhangs stay within 45°, walls 0.8 mm or more, and a print holds class c.
  • A laser-cut part is its outline through one sheet, with no hole smaller than the sheet is thick.
  • A milled part's inside corners carry the cutter's radius, and pockets are no deeper than four times their width.
  • Sheet metal bends with an inside radius of at least its thickness.

They are rules of thumb from named sources. Your own machines' limits and the datasheets of bought parts take precedence.

Drawings

Every made part gets a manufacturing drawing drawn from its solid. The agent supplies the tolerances; the studio measures every number on the sheet.

  • Views by projection (first angle by default, third angle if the project says so), a section through the most important hole and an isometric view, on the smallest ISO paper that holds them at a standard scale.
  • Dimensions as a workshop reads them: steps and holes as ordinates from a datum corner, alike holes called out once with their limits, or a hole table when there are many. The ISO 7200 title block is filled in.
  • get_drawing lists every view and dimension and a coverage list of faces it could not dimension. add_drawing_dimension completes them, measured on the solid.
  • The drawing opens in its own window, where you can dimension, annotate and move what reads badly, then print or export it. export_drawing writes PDF, SVG or DXF.

Files by process

What a part is handed over as follows from how it is made:

Process Files
3D printing STL and 3MF (laid on the face it prints on, in millimetres), STEP for editing, the drawing as PDF
Laser cutting The flat outline as DXF and SVG, with its drawing
Milling and turning STEP and the drawing as PDF and DXF
Circuit board Gerber RS-274X with Excellon drill files (one zip), ODB++, IPC-2581, IPC-D-356 test netlist, the parts list and positions for assembly, and the KiCad project

export_part writes step, stl or 3mf, and dxf or svg for a sheet part. export_board_files writes a board's files through KiCad's own outputs.

3D printing

The workshop. Your machines (3D printers, lasers, mills, lathes) are kept on your computer for every project: Build → Workshop in the window, or get_workshop and set_machine for an agent. A made part has to fit the machine its shop uses.

Print settings. Each printed part says how it is printed, as numbers: which face lies on the bed, layer height, walls, infill, supports and brim.

Calibration. A printer is calibrated per material: how its holes and outer sizes really come out. An agent can enter a first estimate. export_calibration_gauge writes a small test plate; you print it, measure it with a caliper and give the measured sizes, which replace the estimate. The calibration goes to the slicer as compensation; the model keeps its nominal sizes.

Slicing. The studio does not slice by itself. It runs a real slicer with the printer's own profiles:

  • PrusaSlicer 2.9.7, the app's own slicer. It is found where its installer puts it, or downloaded as the pinned official release after you agree.
  • OrcaSlicer 2.5.1, through the OrcaSlicer add-on, for printers PrusaSlicer has no profiles for (Bambu Lab's among some seventy makers). No file sliced with it has been printed yet.
  • A printer with no profile in any installed slicer is sliced with a generic profile made from its bed, height, nozzle and firmware dialect (Marlin, Klipper or RepRapFirmware).

slice_part returns the print time, the filament and the G-code file. simulate_gcode runs the G-code move by move as the machine will and reports whether anything leaves the bed or the machine's reach; with show: true you watch it play in the window.

Sending to the printer. A printer's link is a folder (an SD card or USB stick) or its web interface on your local network: PrusaLink, OctoPrint or Klipper's Moonraker. A Bambu Lab printer is reached through the Bambu Lab add-on. find_printers looks for printers that announce themselves on the local network. Links never point to an address on the internet. API keys and access codes are entered by you in Build → Workshop and are never shown to an agent. send_to_printer waits for your approval every time.

The printer links have been tested against stand-ins that answer as the printers' interfaces are documented to, never against a real printer, and no real printer has been found on a network by find_printers yet.

Circuit boards

  • export_board_files writes one board's files: gerber, odb, ipc2581, netlist, kicad or assembly.
  • export_kicad_fabrication runs KiCad's checks and fabrication outputs for one board and reports readiness. Files can be generated while checks fail, so read the readiness and findings, not only whether the job finished.
  • The result is never marked as validated on hardware. Confirm the fabricator's material and process, and perform the physical tests yourself.
  • No manufacturing order is placed by an export.

These outputs need KiCad. See External Programs and Add-ons.

The Build place and the build folder

The Build place shows, in order: Buy, Make, Program, Assemble and Apps & tools, each with what is still missing (see The Places). get_build_plan gives the same to an agent.

export_build writes one folder per step:

Folder Contents
1-buy The shopping list as PDF and CSV
2-make Each made part in its shop's folder, in the formats of its process, with its drawing; bench-work.txt; and boards/<board>/ with fabrication files (Gerbers and drill zip, ODB++, IPC-2581, test netlist), assembly files (parts list, positions and assembly-guide.html, a page that shows what goes where for hand soldering), the bring-up checklist and the KiCad board
3-program Each controller's sources, pin map, compiled program when built from its current code, and a HOW-TO
4-assemble assembly.txt: the written steps and the kit of every sub-assembly
5-apps The files of the apps made for the robot

It writes into a new folder and never into a folder that holds files it did not write. The project is not changed.

Purchase details (set_purchase_details) can record an exact supplier listing and a sourced, approximate price per item or per metre of wire, in the quoted currency. To show the total in one currency of your choice, the Buy step in the window reads exchange rates from a public rates service.

Clone this wiki locally