factorio-draftsman
A complete, well-tested, and up-to-date module to manipulate Factorio blueprint strings. Compatible with mods. (by redruin1)
factorio_annealer
Program to generate a layout of factory cells in Factorio using simulated annealing (by elswindle)
factorio-draftsman | factorio_annealer | |
---|---|---|
5 | 2 | |
88 | 3 | |
- | - | |
6.3 | 10.0 | |
13 days ago | over 1 year ago | |
Python | Python | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
factorio-draftsman
Posts with mentions or reviews of factorio-draftsman.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-20.
-
Blueprint JSON schema?
I made a library in Python called factorio-draftsman that works with blueprint strings which is pretty much entirely up to date and has all the data encoded in it, though quite not in a user-friendly JSON dump. I did end up manually making type-hinted dumps for all the Blueprintable types (Blueprint, BlueprintBook, UpgradePlanner, DeconstructionPlanner) though; so if that's sufficient you should be able to reliably use those. If you're looking for entity-specific schemas though, I haven't got around to doing all of them yet. Most of them are pretty straightforward however; position, orientation, filters, etc. The only complications you get into are stuff like control_behavior which has many different unique keys for many different entity types (you can take a look at the signatures.py file in draftsman's source for an impression). I can go more into that if you want, but I agree that this should really be documented/updated.
- Question for a blueprint generator
-
Generating an optimized layout of train based blocks using simulated annealing
Finally, once the layout is generated, a blueprint string is created using u/redruin0001's Factorio Draftsman program. If you missed the Alt-F4 about this back in May 2022, I highly recommend checking it out. Factorio Draftsman is an extremely powerful tool for programmatically generating blueprint strings. In this instance, it is used to stitch together tens to hundreds of factory block blueprints together into a single one. This final blueprint can then be imported and placed in Factorio.
-
Alt-F4 #61 - Draftsman: A Python module for creating blueprints
This was something I made on a whim. It uses the Pillow image library to load an image, and converts it to a blueprint intended to be visible from the map view, all in less than 150 lines of code:
factorio_annealer
Posts with mentions or reviews of factorio_annealer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-20.
-
Generating an optimized layout of train based blocks using simulated annealing
If you want to see better examples of the effect of the annealing process with different settings, I'd look here. The first example doesn't partition anything, so you get to see how the annealing process brings together the different items. For example, electronic circuits get sandwiched between copper and iron plates and so on.
What are some alternatives?
When comparing factorio-draftsman and factorio_annealer you can also consider the following projects:
factorio-blueprint - Import and Export blueprint strings automagically with this handy dandy blueprint API
factorio-data - Tracks changes of the lua prototype definitions in factorio inbetween releases.
Artorio - Artorio - convert image to factorio blueprint format
factorio-movie-maker - Fork of the original factorio-movie-maker, updated to version 1.1.57
factoriogen - Generate Factorio combinators from code
10-Books-Full-of-Rails - Factorio Prints Link:
factorio-computer
factorio-blueprint-decoder - Decode Factorio's binary `blueprint-storage.dat` file into JSON for backup, downgrading or further manipulation.
factorio-draftsman vs factorio-blueprint
factorio-draftsman vs factorio-data
factorio-draftsman vs Artorio
factorio-draftsman vs factorio-movie-maker
factorio-draftsman vs factoriogen
factorio-draftsman vs 10-Books-Full-of-Rails
factorio-draftsman vs factorio-computer
factorio-draftsman vs factorio-blueprint-decoder