diff --git a/WINDOWS_INSTALL.md b/WINDOWS_INSTALL.md new file mode 100644 index 00000000..e1035279 --- /dev/null +++ b/WINDOWS_INSTALL.md @@ -0,0 +1,48 @@ +# Get the code. + +1. First thing you will need is an editor for your source code, that's a personal choice, but we would like to recomend PyCharm community edition, a wonderful open source python editor + +[PyCharm Community edition](https://www.jetbrains.com/pycharm/download/download-thanks.html?platform=windows&code=PCC) + +2. Run the installer, and follow the instalation instructions for PyCharm, you may change a few options, but the default ones, should be fine. + +3. Open pycharm and click on **"Get from Version Control"**. + +![pycharm wellcome screen](./docs/img/img_0.png) + +4. Select Git as the version control and set the url to [libs repository](https://binarycat.org/git/Guille/libs.git) as shown in the picture. + + +![pycharm get from version control screen](./docs/img/img_1.png) + + +You may need to install git, by clicking at ***Download and install*** + +5. Click Clone to download CERC libs source code. + + +![pycharm project screen](./docs/img/img_2.png) +you will end with a project like this. + +# Start your own project. + +1. Click on file new project like in the image + +![pycharm new project screen](./docs/img/img_3.png) + +2. Go to project settings and add the libs project to your own as shown in the picture + +![pycharm new project screen](./docs/img/img_4.png) + +3. Add your first file to your project and click in install requirements to automatically download all the dependencies + +4. When all the dependencies are satistied, we are good to go to start importing our first model. + +by adding the following code to our main.py + +``` +from geometry.geometry_factory import GeometryFactory + +city = GeometryFactory('citygml', 'myfile.gml').city + +``` \ No newline at end of file diff --git a/docs/img/img_0.png b/docs/img/img_0.png new file mode 100644 index 00000000..0198feeb Binary files /dev/null and b/docs/img/img_0.png differ diff --git a/docs/img/img_1.png b/docs/img/img_1.png new file mode 100644 index 00000000..53aec930 Binary files /dev/null and b/docs/img/img_1.png differ diff --git a/docs/img/img_2.png b/docs/img/img_2.png new file mode 100644 index 00000000..532da5cc Binary files /dev/null and b/docs/img/img_2.png differ diff --git a/docs/img/img_3.png b/docs/img/img_3.png new file mode 100644 index 00000000..fc1bb934 Binary files /dev/null and b/docs/img/img_3.png differ diff --git a/docs/img/img_4.png b/docs/img/img_4.png new file mode 100644 index 00000000..f2d2586f Binary files /dev/null and b/docs/img/img_4.png differ