Overview of factorio-draftsman
mainfactorio-draftsman
factorio-draftsman is a Python module designed for creating, manipulating, and exporting Factorio Blueprint strings. It provides a programmatic way to handle blueprint data without manual string manipulation.
Key Capabilities:
- Blueprint Manipulation: Import, modify, create, add, remove, and export blueprints and their contents.
- Entity Management: Use unique entity IDs and dynamic associations between entities.
- Advanced Querying: Search blueprint contents by area, name, type, and other criteria.
- Structural Organization: Group entities together to treat them as single units for reuse in design.
- Data Fidelity: Emulates the
Factorio data lifecycleby extracting data directly from Wube's public repository. This ensures compatibility with Factorio versions and provides built-in support for mods. - Error Handling: Provides verbose warnings for modifications on import that would normally be ignored by the game.
Compatibility:
- Python: Version 3.10 and higher.
- Factorio: Version 1.0 and up (functionality for older versions is not guaranteed).