glider workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Veteran
- Posts: 7790
- Joined: Tue Jan 07, 2014 11:10 am
- Contact:
Re: glider workbench
Hi looo,
what a nice workbench. Please can you explain me how to install it on Ubuntu.
Better to place your workbench into the addon-manager, if possible.
Thank you so much and best regards
Wilfried
what a nice workbench. Please can you explain me how to install it on Ubuntu.
Better to place your workbench into the addon-manager, if possible.
Thank you so much and best regards
Wilfried
Re: glider workbench
no, it's not yet possible to install this workbench easily. This is mostly because of difficult dependencies. We are working towards an easy install with pip. Ideally installing the whole set of packages necessary for the workbench will look like this:
Currently we are using conda to install all the libraries. Conda is similar to pip but allows to install more difficult libraries (eg.: FreeCAD and occt) As packaging is really a time-intensive work, we are concentrating on conda and pip. All other solutions like (apt, yum...) are not suited for such a small projects.
I always said that the add-on-manager of freecad is a solution for a solved problem. But the problem why freecad couldn't use the standard python package-manager was a bad design of the workbenches. This should be solved with the new-style modules, and therefor the standard python package manager (pip) can be used. Hopefully we can integrate pip into the addon-manager for the 0.18 version.
Code: Select all
pip install freecad-glider
I always said that the add-on-manager of freecad is a solution for a solved problem. But the problem why freecad couldn't use the standard python package-manager was a bad design of the workbenches. This should be solved with the new-style modules, and therefor the standard python package manager (pip) can be used. Hopefully we can integrate pip into the addon-manager for the 0.18 version.
-
- Posts: 2
- Joined: Mon Dec 18, 2017 9:35 am
Re: glider workbench
Hi Looo! I could not install the glider filebench. It would be good to see a youtube video about its installation. Thanks, Robi
Re: glider workbench
Please always post your version data in the manner explain in the forum rules link above the help forum.kerekesrobert wrote: ↑Tue Dec 19, 2017 6:39 pm Hi Looo! I could not install the glider filebench. It would be good to see a youtube video about its installation. Thanks, Robi
I deleted your duplicate post. Please post again if I missed something.
Re: glider workbench
I recently learned that pip can install from github. So this will simplify the installation a bit. this should work:
meshpy will be compiled, so this will take some minutes...
Code: Select all
pip install https://github.com/booya-at/OpenGlider/archive/singleskin.zip
pip install https://github.com/booya-at/freecad-glider/archive/singleskin.zip
-
- Veteran
- Posts: 7790
- Joined: Tue Jan 07, 2014 11:10 am
- Contact:
Re: glider workbench
Error message on Xubuntu 16.04:
Code: Select all
pip install https://github.com/booya-at/freecad-glider/archive/singleskin.zip
Collecting https://github.com/booya-at/freecad-glider/archive/singleskin.zip
HTTP error 404 while getting https://github.com/booya-at/freecad-glider/archive/singleskin.zip
Could not install requirement https://github.com/booya-at/freecad-glider/archive/singleskin.zip because of error 404 Client Error: Not Found for url: https://github.com/booya-at/freecad-glider/archive/singleskin.zip
Could not install requirement https://github.com/booya-at/freecad-glider/archive/singleskin.zip because of HTTP error 404 Client Error: Not Found for url: https://github.com/booya-at/freecad-glider/archive/singleskin.zip for URL https://github.com/booya-at/freecad-glider/archive/singleskin.zip
-
- Posts: 2
- Joined: Mon Dec 18, 2017 9:35 am
Re: glider workbench
https://github.com/booya-at/freecad-gli ... leskin.zip Page not found GitHub.
Re: glider workbench
sorry. I think there was a typo:
Code: Select all
pip install https://github.com/booya-at/OpenGlider/archive/singleskin.zip
pip install https://github.com/booya-at/freecad_glider/archive/singleskin.zip
-
- Veteran
- Posts: 7790
- Joined: Tue Jan 07, 2014 11:10 am
- Contact:
Re: glider workbench
I tried to install and received an error at the end of the procedure:
I tried to install with sudo because of permission problem and received this error message:
Code: Select all
pip install https://github.com/booya-at/freecad_glider/archive/singleskin.zip
Collecting https://github.com/booya-at/freecad_glider/archive/singleskin.zip
Downloading https://github.com/booya-at/freecad_glider/archive/singleskin.zip
\ 1.1MB 1.0MB/s
Requirement already satisfied: openglider in ./.local/lib/python2.7/site-packages (from freecad-glider==0.1.2)
Requirement already satisfied: ezodf in ./.local/lib/python2.7/site-packages (from openglider->freecad-glider==0.1.2)
Requirement already satisfied: pyexcel in ./.local/lib/python2.7/site-packages (from openglider->freecad-glider==0.1.2)
Requirement already satisfied: pyexcel-ods in ./.local/lib/python2.7/site-packages (from openglider->freecad-glider==0.1.2)
Requirement already satisfied: svgwrite in ./.local/lib/python2.7/site-packages (from openglider->freecad-glider==0.1.2)
Requirement already satisfied: numpy in ./.local/lib/python2.7/site-packages (from openglider->freecad-glider==0.1.2)
Requirement already satisfied: ezdxf in ./.local/lib/python2.7/site-packages (from openglider->freecad-glider==0.1.2)
Requirement already satisfied: meshpy in ./.local/lib/python2.7/site-packages (from openglider->freecad-glider==0.1.2)
Requirement already satisfied: pyexcel-io>=0.5.3 in ./.local/lib/python2.7/site-packages (from pyexcel->openglider->freecad-glider==0.1.2)
Requirement already satisfied: lml==0.0.1 in ./.local/lib/python2.7/site-packages (from pyexcel->openglider->freecad-glider==0.1.2)
Requirement already satisfied: texttable>=0.8.2 in ./.local/lib/python2.7/site-packages (from pyexcel->openglider->freecad-glider==0.1.2)
Requirement already satisfied: odfpy>=1.3.3 in ./.local/lib/python2.7/site-packages (from pyexcel-ods->openglider->freecad-glider==0.1.2)
Requirement already satisfied: pyparsing>=2.0.1 in ./.local/lib/python2.7/site-packages (from svgwrite->openglider->freecad-glider==0.1.2)
Requirement already satisfied: pytools>=2011.2 in ./.local/lib/python2.7/site-packages (from meshpy->openglider->freecad-glider==0.1.2)
Requirement already satisfied: six in ./.local/lib/python2.7/site-packages (from meshpy->openglider->freecad-glider==0.1.2)
Requirement already satisfied: pytest>=2 in ./.local/lib/python2.7/site-packages (from meshpy->openglider->freecad-glider==0.1.2)
Requirement already satisfied: appdirs>=1.4.0 in ./.local/lib/python2.7/site-packages (from pytools>=2011.2->meshpy->openglider->freecad-glider==0.1.2)
Requirement already satisfied: decorator>=3.2.0 in ./.local/lib/python2.7/site-packages (from pytools>=2011.2->meshpy->openglider->freecad-glider==0.1.2)
Requirement already satisfied: attrs>=17.2.0 in ./.local/lib/python2.7/site-packages (from pytest>=2->meshpy->openglider->freecad-glider==0.1.2)
Requirement already satisfied: pluggy<0.7,>=0.5 in ./.local/lib/python2.7/site-packages (from pytest>=2->meshpy->openglider->freecad-glider==0.1.2)
Requirement already satisfied: funcsigs; python_version < "3.0" in ./.local/lib/python2.7/site-packages (from pytest>=2->meshpy->openglider->freecad-glider==0.1.2)
Requirement already satisfied: setuptools in ./.local/lib/python2.7/site-packages (from pytest>=2->meshpy->openglider->freecad-glider==0.1.2)
Requirement already satisfied: py>=1.5.0 in ./.local/lib/python2.7/site-packages (from pytest>=2->meshpy->openglider->freecad-glider==0.1.2)
Installing collected packages: freecad-glider
Running setup.py install for freecad-glider ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-srIlq5-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-ChhKYf-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/freecad
copying freecad/__init__.py -> build/lib.linux-x86_64-2.7/freecad
creating build/lib.linux-x86_64-2.7/freecad/freecad_glider
copying freecad/freecad_glider/init_gui.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider
copying freecad/freecad_glider/__init__.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider
copying freecad/freecad_glider/profiling.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider
copying freecad/freecad_glider/glider_commands.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider
copying freecad/freecad_glider/init.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider
copying freecad/freecad_glider/glider_metadata.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider
creating build/lib.linux-x86_64-2.7/freecad/freecad_glider/tools
copying freecad/freecad_glider/tools/_tools.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider/tools
copying freecad/freecad_glider/tools/merge_tool.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider/tools
copying freecad/freecad_glider/tools/airfoil_tool.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider/tools
copying freecad/freecad_glider/tools/panel_method.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider/tools
copying freecad/freecad_glider/tools/color_tool.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider/tools
copying freecad/freecad_glider/tools/aoa_tool.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider/tools
copying freecad/freecad_glider/tools/_glider.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider/tools
copying freecad/freecad_glider/tools/features.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider/tools
copying freecad/freecad_glider/tools/arc_tool.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider/tools
copying freecad/freecad_glider/tools/table.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider/tools
copying freecad/freecad_glider/tools/pivy_primitives.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider/tools
copying freecad/freecad_glider/tools/line_tool.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider/tools
copying freecad/freecad_glider/tools/pivy_primitives_new_new.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider/tools
copying freecad/freecad_glider/tools/shape_tool.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider/tools
copying freecad/freecad_glider/tools/__init__.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider/tools
copying freecad/freecad_glider/tools/design_tool.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider/tools
copying freecad/freecad_glider/tools/ballooning_tool.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider/tools
copying freecad/freecad_glider/tools/cell_tool.py -> build/lib.linux-x86_64-2.7/freecad/freecad_glider/tools
running egg_info
creating freecad_glider.egg-info
writing requirements to freecad_glider.egg-info/requires.txt
writing freecad_glider.egg-info/PKG-INFO
writing top-level names to freecad_glider.egg-info/top_level.txt
writing dependency_links to freecad_glider.egg-info/dependency_links.txt
writing manifest file 'freecad_glider.egg-info/SOURCES.txt'
reading manifest file 'freecad_glider.egg-info/SOURCES.txt'
writing manifest file 'freecad_glider.egg-info/SOURCES.txt'
running install_lib
creating /usr/local/lib/python2.7/dist-packages/freecad
error: could not create '/usr/local/lib/python2.7/dist-packages/freecad': Permission denied
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-srIlq5-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-ChhKYf-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-srIlq5-build/
Code: Select all
The directory '/home/blabla/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/blabla/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Re: glider workbench
thanks for testing. I have updated freecad_glider. pip has a --upgrade option, but this will pull all the dependencies from pip. This is not good, as it will replace system version which are shipped with the distro. Better simple uninstall and install the package:
Code: Select all
pip uninstall freecad_glider
pip install https://github.com/booya-at/freecad_glider/archive/singleskin.zip