Skip to content

Examples

Generated from docs/site/reference/source/examples.json.

Rendered previews

Author a path rendered preview
Author a pathCreate a fluent L1 design and emit motion G-code.
Lower to the Dry IR rendered preview
Lower to the Dry IRResolve an authored design into Dry's structured L2 toolpath IR.
Simulate rendered preview
SimulateCompute toolpath metrics such as time, distances, material, and peak flow.
Verify rendered preview
VerifyCheck a resolved design against machine-safety contracts and inspect findings.
Optimize rendered preview
OptimizeResolve through the optimization pipeline and inspect optimized IR.
Generative rendered preview
GenerativeGenerate TPMS-style infill paths from structured options.

Example matrix

ExampleGuideLanguagesSourcesOutputsConcepts
Author a path/authortypescript, pythontypescript: docs/site/examples/author.ts
python: docs/site/examples/author.py
gcodeDesign, geometry, extruder, point, gcode
Lower to the Dry IR/lowertypescript, pythontypescript: docs/site/examples/lower.ts
python: docs/site/examples/lower.py
irDesign, ir, segments, toolpath
Simulate/simulatetypescript, pythontypescript: docs/site/examples/simulate.ts
python: docs/site/examples/simulate.py
metricsDesign, simulate, metrics
Verify/verifytypescript, pythontypescript: docs/site/examples/verify.ts
python: docs/site/examples/verify.py
verifyDesign, verify, Report, Finding, Severity
Optimize/optimizetypescript, pythontypescript: docs/site/examples/optimize.ts
python: docs/site/examples/optimize.py
irDesign, optimizedIr, balancedIr, toolpath
Generative/generativetypescript, pythontypescript: docs/site/examples/generative.ts
python: docs/site/examples/generative.py
gcode, irTPMS, tpms, tpmsOps, tpms_gcode

Interactive example runs

Author a path: Create a fluent L1 design and emit motion G-code.

Run this example from /guide/author

Lower to the Dry IR: Resolve an authored design into Dry's structured L2 toolpath IR.

Run this example from /guide/lower

Simulate: Compute toolpath metrics such as time, distances, material, and peak flow.

Run this example from /guide/simulate

Verify: Check a resolved design against machine-safety contracts and inspect findings.

Run this example from /guide/verify

Optimize: Resolve through the optimization pipeline and inspect optimized IR.

Run this example from /guide/optimize

Generative: Generate TPMS-style infill paths from structured options.

Run this example from /guide/generative