KIT | KIT-Bibliothek | Impressum | Datenschutz

Biomechanical optimization of printing paths in Fused Filament Fabrication

Schiele, Amelie 1; Greiner, Christian ORCID iD icon 1
1 Institut für Angewandte Materialien – Zuverlässigkeit und Mikrostruktur (IAM-ZM), Karlsruher Institut für Technologie (KIT)


Zugehörige Institution(en) am KIT Institut für Angewandte Materialien – Computational Materials Science (IAM-CMS)
Institut für Angewandte Materialien – Zuverlässigkeit und Mikrostruktur (IAM-ZM)
Publikationstyp Forschungsdaten
Publikationsdatum 31.07.2026
Erstellungsdatum 29.09.2025
Identifikator DOI: 10.35097/nwybaufe27fuzw07
KITopen-ID: 1000185212
Lizenz Creative Commons Namensnennung 4.0 International
Liesmich

Modules:
mygcodehelpers.py
Contains helper functions for creating G-code commands in the CAIO Optimized Specimen script.
These functions return strings with properly formatted G code instructions.

pathcreator.py
Contains functions for converting coordinates stored in .txt files into usable coordinates for G code creation.
Additionally, it can modify paths by applying operations such as mirroring and shortening to help generate coherent printpaths.

CAIO_optimized_specimen.py
Main script uses gcodehelpers.py and pathcreator.py to:

  • Read exported path coordinates from ANSYS (HS_line files)
  • Generate G code layer by layer, repeating paths as required
  • Adapt the extrusion value E for each command
  • Combine start sequences, optimized paths, contour G code and stop sequenze into a coherent skript

Usage Notes:
Printer Compatibility
The start and stop sequences must be adapted to match your specific printer.
Using incorrect values may damage your machine.

Required Input Files
ANSYS Export: Path coordinates stored in HS_line*.txt files.
Contour G-code: Must be generated separately using a slicer and saved as contour.txt.

Authors and acknowledgment:
This project has been written by Amelie Schiele.

License:
This project is licensed by Creative Commons Attribution 4.0.

Prerequirements:
Python 3.10.0

Install requirements:
pip install numpy pandas

Art der Forschungsdaten Software
KIT – Die Universität in der Helmholtz-Gemeinschaft
KITopen Landing Page