download_part
Retrieves a remote part's script, exports, renders, and reference models as one signed-link zip or SSH pull, so its files land on your machine in the standard parts// layout.
Instructions
Bring a whole part home from a remote server, in the same layout a local install writes:
parts//.py, parts//out/ (exports, renders, sections) and parts//ref/
(reference models). Over HTTP: ONE signed link (no token needed, expires) to a zip of all of
it; run curl -fLo <name>.zip '<link>' and unzip it in the project folder, then check the
files are there. Over SSH: the b123d-print pull command that writes the same files. Locally
(stdio): says where the files already are. variant: only that variant's out/ files ('standard'
= ''); formats: only those out/ files (step, stl, 3mf, png, glb, print, hardware, bom, bom_csv); the script and ref/ always come.
Over HTTP it also gives the 3D view links of the views export wrote (in a browser, no token).
embed=True also puts the zip (up to 8 MB) into the result (over HTTP and SSH), for clients
whose shell has no network (Antigravity/agy) or that can neither fetch URLs nor read
resources: unzip it from where the client saved it. Call it as the last step of remote work,
before reporting: a part is not done until its files are on the user's machine.
Remote server (HTTP/SSH): the files stay on the server, as a temporary working copy deleted
when unused; bring the part home with download_part (one zip in the parts// layout).
Never use ssh, scp or a shell on the server: there is none.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| embed | No | ||
| formats | No | ||
| variant | No |