---
title: "Examples"
description: "Complete scripts built on the Formlabs Python SDK, each with a walkthrough and a download."
url: https://developer.formlabs.com/examples/
---

# Examples

Examples are provided for common use cases of the Formlabs Python SDK. Such as creating a report from a finished build to post-processing and billing or packing SLS jobs from a browser application.

## Example code

Scripts that do one task from the command line and write a file you can use.

**[Quickstart](https://developer.formlabs.com/getting-started/quickstart.md)**

Prepare an STL file in PreForm, then queue it on a printer or save it as a
`.form` file. A great starting point for scripting with `formlabs-sdk`.

**[Printability Report](https://developer.formlabs.com/examples/printability-report.md)**

Grade a folder of STL files PASS, WARN, or FAIL for printing, with the checks
behind each grade and a picture of each part that didn't pass.

**[Instant quote](https://developer.formlabs.com/examples/instant-quote.md)**

Quote a price for a part in each material on a price list, with the print time
and the resin including supports.

**[Print setting rollout](https://developer.formlabs.com/examples/print-setting-rollout.md)**

Move a queue of `.form` files to a new print setting, and preview the layer counts and
print times before anything is saved.

**[Part labels](https://developer.formlabs.com/examples/part-labels.md)**

Turn a finished build into a report for sorting and billing: every part matched
to its customer order, the material it used, and a bag label with its picture.

**[Serial numbers](https://developer.formlabs.com/examples/serial-numbers.md)**

Label every part in a build with a serial number, placed in the model's own
coordinates so the part's orientation doesn't matter.

**[Layout modes](https://developer.formlabs.com/examples/layout-modes.md)**

Lay out the same cubes with each auto-layout option, from spacing and locked
rotation to bounds and a fixed seed, and compare the builds.

**[Pack modes](https://developer.formlabs.com/examples/pack-modes.md)**

Pack the same boats with each per-part model lock, from free to upright, and
compare the builds.

**[Layout across builds](https://developer.formlabs.com/examples/layout-across-builds.md)**

Lay out more dental arches than fit on one build platform, ejecting the newest
onto the next build so the oldest print first.

**[Pack across builds](https://developer.formlabs.com/examples/pack-across-builds.md)**

Pack more parts than fit in one SLS build volume, carrying the parts that
don't fit to the next build.

## Example applications

Complete applications with a user interface, with PreForm Server behind them.

**[Web SLS Packer](https://developer.formlabs.com/examples/web-sls-packer.md)**

A web app that packs STL parts into Fuse 1+ and Fuse X1 builds from a browser, and sends each build to a printer.

## What's next

- [Part labels](https://developer.formlabs.com/examples/part-labels.md)
- [Web SLS Packer](https://developer.formlabs.com/examples/web-sls-packer.md)
- [Create your first script](https://developer.formlabs.com/getting-started/quickstart.md)
