Skip to content

PyExtrusion 0.19.0

Deterministic engineering calculations for aluminium extrusion

PyExtrusion brings production planning, bounded analytical engineering models and deterministic production economics together in one Python package.

Version 0.19.0 — 2026-10-03

This release corrects multibillet trim topology and introduces canonical total trim per incoming billet. Read trim topology and migration before updating existing inputs.

pip install pyextrusion==0.19.0

See the PyPI project page or source repository.

Production input and result contract

Use trim_total_per_billet_m for the total rejection reserve of one incoming billet. Sequential pulls share that total; it is not front-only scrap, trim per pull or predicted charge-weld extent.

Commercial cuts are distinct from final-saw, internal-transition, puller-saw and billet-saw counters. Actual billet contributions govern a partial last pull. A zero kerf removes length/mass loss, not event topology. Start with Profile & Process and trim topology & migration.

Three working areas

  • Production & Planning


    Billet sizing, extrusion geometry, productivity, multi-billet processes, operational planning, production sequences and multi-press comparison.

    Start with the User Guide

  • Engineering


    Source-traced AA6063 and AA6060 constitutive models, modified Feltham mean strain rate, Zener-Hollomon, steady-state flow stress, Sheppard axisymmetric pressure and bounded mechanical and thermal analytical tools.

    Explore Engineering

  • Economics


    Deterministic production cost, material and scrap economics, tooling/development costs and sales-margin calculations from explicit caller-supplied assumptions.

    Calculate basic economics

Model boundaries matter

Since 0.18.0, butt_mm is physical residual thickness in the container. Butt mass uses the container section and is converted once to incoming-billet equivalent length. Existing physical values and the measured incoming-billet coefficient remain supported. See physical butt geometry.

The Engineering pressure/force result is an equivalent-axisymmetric mechanical screening baseline, not the final load prediction for a shaped, bridge or porthole die. F_reserve = F_press - F_baseline is only a screening difference, not available hydraulic capacity. Thermal functions are bounded analytical estimates and local source terms; PyExtrusion does not currently provide a production-grade exit-temperature predictor.

Read the model boundaries before using these results in an industrial decision.

Documentation routes

  • User Guide — install the package and complete practical workflows.
  • Engineering — understand the public models and their limits.
  • Technical Reference — review production formulas, units and semantics.
  • API Reference — integrate public Python, JSON and CLI interfaces.
  • Examples — use complete practical patterns.

PyExtrusion supports engineering judgement. It does not replace press, die, alloy or plant-specific expertise.