Skip to content

Examples

Peter Hofmann edited this page Aug 6, 2017 · 4 revisions

A command prompt is required for the following examples.

Shipyard core anchor

If you have problems finding the core anchor of your huge shipyard, why not moving the station indicator directly on top of it? The id of the shipyard core anchor is 679.

With the python script:

python smbedit.py directory/my_blueprint -m 679 -o directory/new_blueprint

or if installed with pip:

smbedit directory/my_blueprint -m 679 -o directory/new_blueprint

or if an executable was made:

smbedit.exe directory/my_blueprint -m 679 -o directory/new_blueprint

Smooth edges:

Make sure that the hull has no holes, or the inside will be miss-interpreted as outside.

python smbedit.py directory/original_blueprint -o directory/smooth_blueprint -aw -at -ah

Move center

To move the center/core the location of the new center was marked with a 'Building block'

python smbedit.py directory/my_station_blueprint -o directory/new_ship_blueprint -m 123

This will
'-m 123' Move the center/core of a blueprint to the first "Build Block" it finds.
'-o' The modified blueprint is saved at 'directory/new_ship_blueprint'.

Transform station to ship

python smbedit.py directory/my_station_blueprint -o directory/new_ship_blueprint -et 0 -m 94

This will
'-m 94' Move the center of the station blueprint to its "Undeathinator" block.
'-et 0' Change blueprint to a ship, all station blocks will be removed. The "Undeathinator" block is replaced with a core.
'-o' The modified blueprint is saved at 'directory/new_ship_blueprint'.

Clone this wiki locally