Modern filament winding planner, simulator, and G-code toolkit.
Project description
FiberPath is a next-generation system for planning, simulating, and executing filament-winding jobs on cylindrical mandrels to produce high-quality, repeatable composite parts. The repository contains four coordinated components:
- Core Engine (
fiberpath/) – deterministic planning pipelines, geometry utilities, and G-code emission. - CLI (
fiberpath_cli/) – Typer-based command-line interface offeringplan,plot,simulate, andstream. - API (
fiberpath_api/) – FastAPI service exposing planning and simulation routes. - Desktop GUI (
fiberpath_gui/) – Tauri + React application that wraps the CLI for a unified user experience.
Download
📦 Latest Release: v0.4.0
- Desktop GUI – Windows (.msi/.exe), macOS (.dmg), Linux (.deb/.AppImage)
- Python CLI/API –
pip install fiberpathoruv pip install fiberpath
📚 Documentation: cameronbrooks11.github.io/fiberpath
Local Development
uv pip install .[dev,cli,api]
python -m fiberpath_cli.main --help
pytest
See uv docs for installation instructions or replace
uvwithpipif you prefer the standard installer.
Plotting Quick Preview
fiberpath plan examples/simple_cylinder/input.wind -o simple.gcode
fiberpath plot simple.gcode --output simple.png --scale 0.8
The plot command unwraps mandrel coordinates into a PNG so you can visually inspect a toolpath before streaming it to hardware. Plotting extracts mandrel/tow settings from the ; Parameters ... header emitted by plan. See docs/assets/simple-cylinder.png for a sample.
Axis Format Selection
FiberPath supports configurable axis mapping to work with different machine configurations:
-
XAB (Standard Rotational) - Default format using true rotational axes:
X= Carriage (linear, mm)A= Mandrel rotation (rotational, degrees)B= Delivery head rotation (rotational, degrees)
-
XYZ (Legacy) - Compatibility format for systems where rotational axes are configured as linear:
X= Carriage (linear, mm)Y= Mandrel rotation (treated as linear, degrees)Z= Delivery head rotation (treated as linear, degrees)
Use --axis-format xab (default) for new projects. The legacy format is retained for backward compatibility with existing systems like Cyclone.
# Generate G-code with standard XAB axes (default)
fiberpath plan input.wind -o output.gcode
# Generate G-code with legacy XYZ axes
fiberpath plan input.wind -o output.gcode --axis-format xyz
Desktop GUI Companion
A cross-platform Tauri + React front end is provided to plan, plot, simulate, and (dry-run) stream from a single interface.
Prerequisites: Node.js 18+, Rust toolchain, and fiberpath available on PATH (uv pip install -e .[cli] or equivalent).
cd fiberpath_gui
npm install
npm run tauri dev
The GUI panels call the same Typer commands used in the CLI. Plot previews are rendered to temporary PNGs, and the stream panel defaults to --dry-run until a serial port is supplied.
Hardware Smoke Test Checklist
When validating real hardware:
- Use
fiberpath planto generate G-code, then dry-runfiberpath stream ... --dry-runto confirm the queue. - Run
fiberpath simulate(CLI or GUI) to verify motion/time estimates. - Connect the mandrel controller, then either:
fiberpath stream simple.gcode --port <PORT> --baud-rate 250000, or- open the GUI, disable “Dry-run mode,” and enter the port before streaming.
- Keep a console tailing
fiberpath_clilogs for full verbosity during troubleshooting. - After a live run, archive the emitted JSON summaries (CLI
--jsonor GUIResultcards) to correlate telemetry with planner parameters.
Streaming to Marlin
fiberpath stream simple.gcode --port COM5 --baud-rate 250000
FiberPath automatically waits for Marlin's startup sequence to complete before streaming commands. This handles the ~10-20 line configuration banner that Marlin outputs on connection (typically ending with settings like M92, M203, M206, etc.).
Use --dry-run to preview streaming without opening a serial port. --verbose prints each dequeued G-code command and Marlin's startup messages. The run operation streams one command at a time, waits for ok, and lets you pause with Ctrl+C (FiberPath issues M0 and resumes via M108).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fiberpath-0.4.0.tar.gz.
File metadata
- Download URL: fiberpath-0.4.0.tar.gz
- Upload date:
- Size: 1.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74ee870913388f862eb7bae52d2e1f840ffb0a048db1632522d94b3a16e537b4
|
|
| MD5 |
8ddcd4f28f3df64c26ec5704977d2cc8
|
|
| BLAKE2b-256 |
26a5be4859cb4dcd0072e37c67fbcb1bbba741f133e72054b5fb266287d2f1a7
|
Provenance
The following attestation bundles were made for fiberpath-0.4.0.tar.gz:
Publisher:
release.yml on CameronBrooks11/fiberpath
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fiberpath-0.4.0.tar.gz -
Subject digest:
74ee870913388f862eb7bae52d2e1f840ffb0a048db1632522d94b3a16e537b4 - Sigstore transparency entry: 808977242
- Sigstore integration time:
-
Permalink:
CameronBrooks11/fiberpath@b4893f89790a2113df6f59158bf31926f444d4b1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/CameronBrooks11
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b4893f89790a2113df6f59158bf31926f444d4b1 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file fiberpath-0.4.0-py3-none-any.whl.
File metadata
- Download URL: fiberpath-0.4.0-py3-none-any.whl
- Upload date:
- Size: 65.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eaab4731ed66b854a1b98f9a613809733f196a69d50750a799aae88f5ffeb34e
|
|
| MD5 |
0f214623b0bd18d4206b175161e0d450
|
|
| BLAKE2b-256 |
af02a2eebb3bb0799d22d1d651f7e6f06961f55832ff4a6b76f1fa49c2f5657a
|
Provenance
The following attestation bundles were made for fiberpath-0.4.0-py3-none-any.whl:
Publisher:
release.yml on CameronBrooks11/fiberpath
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fiberpath-0.4.0-py3-none-any.whl -
Subject digest:
eaab4731ed66b854a1b98f9a613809733f196a69d50750a799aae88f5ffeb34e - Sigstore transparency entry: 808977246
- Sigstore integration time:
-
Permalink:
CameronBrooks11/fiberpath@b4893f89790a2113df6f59158bf31926f444d4b1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/CameronBrooks11
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@b4893f89790a2113df6f59158bf31926f444d4b1 -
Trigger Event:
workflow_dispatch
-
Statement type: