Code: Select all
import openglider
import os
dir = os.path.dirname(openglider.__file__)
os.listdir(dir)
Code: Select all
import openglider
import os
dir = os.path.dirname(openglider.__file__)
os.listdir(dir)
Code: Select all
pip install https://github.com/booya-at/OpenGlider/archive/develop.tar.gz
Code: Select all
creating build/temp.linux-x86_64-2.7/src/cpp
x86_64-linux-gnu-gcc -pthread -fwrapv -Wall -O1 -DNDEBUG -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-l1RrwO/python2.7-2.7.14=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DEXTERNAL_TEST=1 -DANSI_DECLARATORS=1 -DTRILIBRARY=1 -Isrc/cpp -I/usr/include/python2.7 -c src/cpp/wrap_triangle.cpp -o build/temp.linux-x86_64-2.7/src/cpp/wrap_triangle.o
src/cpp/wrap_triangle.cpp:2:10: fatal error: boost/python.hpp: Aucun fichier ou dossier de ce type
#include <boost/python.hpp>
^~~~~~~~~~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for meshpy
Running setup.py clean for meshpy
Failed to build meshpy
Code: Select all
sudo apt-get install boost-python
Code: Select all
cannot import name ParametricGlider
Traceback (most recent call last):
File "/home/max/.local/lib/python2.7/site-packages/freecad/freecad_glider/init_gui.py", line 77, in Initialize
from . import tools
File "/home/max/.local/lib/python2.7/site-packages/freecad/freecad_glider/tools/__init__.py", line 13, in <module>
from . import _glider as glider
File "/home/max/.local/lib/python2.7/site-packages/freecad/freecad_glider/tools/_glider.py", line 9, in <module>
from openglider.glider import ParametricGlider
Code: Select all
super(type, obj): obj must be an instance or subtype of typeRunning the Python command 'ShapeCommand' failed:
Traceback (most recent call last):
File "/usr/lib/freecad-daily/Mod/freecad/freecad_glider/tools/__init__.py", line 50, in Activated
Gui.Control.showDialog(self.tool(self.glider_obj))
File "/usr/lib/freecad-daily/Mod/freecad/freecad_glider/tools/__init__.py", line 200, in tool
return shape_tool.ShapeTool(obj)
File "/usr/lib/freecad-daily/Mod/freecad/freecad_glider/tools/shape_tool.py", line 30, in __init__
self.front_cpc = ControlPointContainer(points, self.view)
File "/usr/lib/freecad-daily/Mod/freecad/freecad_glider/tools/pivy_primitives.py", line 84, in __init__
super(ControlPointContainer, self).__init__()
super(type, obj): obj must be an instance or subtype of type