Skip to content

Installation

Peter Hofmann edited this page Aug 18, 2017 · 8 revisions

Python

Unix users have python by default.
Windows users have to install:

SMBEdit

If you are fine with using a command prompt installing SMBEdit requires nothing special.

Install with zip file

Download the zip file on release page and extract SMBEdit anywhere you want. That's it, you can now use SMBEdit to modify your blueprint using a command prompt.
The script has to be called with:

python ./smbedit.py -h

SMBEdit GUI using pip

The graphical user interface version of SMBEdit has a few more features, but also requires more packages to install.
The best way is to use pip to install SMBEdit directly from source.
Windows users should have pip included in the python installation.

But since some libraries are installed from github, git may have to be installed.

Git for Ubuntu

sudo apt-get install git

Git for Windows / OSX

https://git-scm.com/download/

Install using pip

There is no need to download the source code, pip will do it all for you.

Open a command prompt and type:

pip install "git+https://github.com/p-hofmann/SMBEdit.git"

This is enough for the command prompt version.
SMBEdit can now be called from anywhere as:

smbedit -h

SMBEdit GUI

There is no need to download the source code, pip will do it all for you.

Using pip is required as is python3.6.
Open a command prompt and type:

pip3.6 install numpy
pip3.6 install "git+https://github.com/p-hofmann/MeshReader.git"
pip3.6 install "git+https://github.com/p-hofmann/PyVoxelizer.git"
pip3.6 install pyqt5
pip3.6 install "git+https://github.com/p-hofmann/SMBEdit.git"

If the Ubuntu installation of PyQt5 fails, try:

sudo apt-get install python3-pyqt5

SMBEdit GUI can now be called from anywhere in a command prompt as:

smbeditGUI

Better: Create a shortcut and use 'smbeditGUI' as location and not be bothered by a command prompt again.

Clone this wiki locally