Nieuws:

We zijn er weer.

Na lange tijd van afwezigheid zijn we er weer  :laugh:
We hebben alle wachtwoorden gereset, je oude wachtwoord werkt niet meer.Je moet via het "wachtwoord vergeten"-linkje je wachtwoord resetten. Je krijgt hiervoor een mailtje op het adres dat je bij ons geregistreerd hebt.

De komende tijd zijn we nog druk bezig om de rest van de site op te bouwen, dus het kan zijn dat sommige onderdelen (tijdelijk) niet werken.

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: GraphiteOne 3D  (gelezen 2547 keer)

cybervinni

  • Gast
GraphiteOne 3D
« Gepost op: 2007/11/02, 16:52:16 »
Installed GraphiteOne on Ubuntu the following way:


Step 1:Download Graphite One libraries and 3D modeling packages from http://www.graphiteone-cad.com/en/index.htm. (you can optionally download the KDE integration package if you have Kubuntu installed)

Step 2:Install alien from the repositories:
sudo apt-get install alien Select yes when it asks to install all packages

Step 3:Use alien to convert the rpms into debs:
sudo alien -c -d graphiteone-3d-design-1.3-1-free.rpm
sudo alien -c -d graphiteone-libs-1.3-1-suse93.rpm
Optionally:
sudo alien -c -d graphiteone-kde-1.3-1-suse93.rpm

Step 4:Install the packages using dpkg in the following order:
sudo dpkg -i graphiteone-libs_1.3-2_i386.deb
sudo dpkg -i graphiteone-3d-design_1.3-2_i386.deb
Optionally:
sudo dpkg -i graphiteone-kde-1.3-2_i386.deb

Step 5:You need to change the permissions on the files in the lib directory to be writable. First change directories:
cd /opt/GraphiteOne/lib then change permissions:
sudo chmod +w *

Step 6:You need to edit two files to change the encoding. Make the following line:
# coding=utf-8 the first line of the two files opened with the following commands:
sudo gedit graphiteoneutils.py
sudo gedit graphiteonedxfreader.py make sure to save the files, then exit gedit.

Step 7:Create a launcher for the program that will show up under graphics in the main menu. To do this utilize the following commands:
sudo gedit /usr/share/applications/GraphiteOne.desktop Once that is open copy the following into the new file:
[Desktop Entry]
Version=1.3
Encoding=UTF-8
Type=Application
Name=Graphite One
Comment=Model 3D objects
Exec=bash /opt/GraphiteOne/bin/graphiteone --ogl=yes
Icon=/opt/GraphiteOne/data/hi48-app-graphiteone.png
Categories=Graphics;3DGraphics;CAD; Save the file and exit gedit. You should now have a launcher under the Graphics section of the Applications menu.

When starting the software i receive the following error:

$$$@medion:~$ graphiteone
/usr/bin/graphiteone: 19: function: not found
usage : graphiteone [options]
Options:
   --ogl=[yes|no]               Enable/Disable OpenGL display driver (default is no).
   --fsaa-mode=[0..5]           Enable FSAA mode for nVidia graphic cards (experimental!).
   --python=[python executable] The python executable to use (default is python).
   --paths=[path:...]           More entries for PYTHONPATH.
christophe@medion:~$


How can I fix the problem?



After this, installed GraphiteOne on a system with Fedora 7.
Here, i get the following errors:

[vincent@localhost ~]$ graphiteone
Traceback (most recent call last):
  File "/opt/GraphiteOne/lib/graphiteone.py", line 17, in
    from graphiteoneapplication import GOneApplication
  File "/opt/GraphiteOne/lib/graphiteoneapplication.py", line 13, in
    import HPY
  File "/opt/GraphiteOne/lib/HPY.py", line 2, in
    import HPYc
ImportError: /opt/GraphiteOne/lib/libhoops1100.so: cannot restore segment prot after reloc: Permission denied
[vincent@localhost ~]$ /opt/GraphiteOne/lib/qt.py:46: RuntimeWarning: Python C API version mismatch for module libsip: This Python has API version 1013, module libsip has version 1012.
  import libsip
/opt/GraphiteOne/lib/qt.py:50: RuntimeWarning: Python C API version mismatch for module libqtc: This Python has API version 1013, module libqtc has version 1012.
  import libqtc
[vincent@localhost ~]$


Is there something wrong with the software or what?
How can i fix the problems?

Tnx for your reply.