Hi,

The s/Stretch/stretch fixed the example.

I still have some troubles with the test.
I moved the unittest library, but it didn't help.

One of the tests that give problems is:
topology_building_unittest.py

I tried pocking around in the test. After math is imported i tried printing
the path, and then again after all of the other modules where loaded.

import math
print 'HERE', math.__file__
import sys
import unittest

from OCC.gp import *
from OCC.BRepBuilderAPI import *
from OCC.GeomAPI import *
from OCC.Geom import *
from OCC.GeomAbs import *
from OCC.TColgp import *
from OCC.Geom2d import *
from OCC.TColgp import *
from OCC.BRepOffsetAPI import *
from OCC.GeomAbs import *
from OCC.BRepPrimAPI import *
from OCC.Utils.Topology import Topo
from OCC.BRep import *
from OCC.Precision import *
from OCC.BRepLib import *

print 'HERE', math.__file__

With grep
python topology_building_unittest.py|grep HERE

HERE /opt/anaconda/lib/python2.7/lib-dynload/math.so
HERE /opt/anaconda/lib/python2.7/site-packages/OCC/math.pyc

I tried importing the OCC.math library and it does not look like the
original math, does not have the pi or radians functions etc.

What do you guys think?

OCC from here:
https://github.com/tpaviot/oce/releases/tag/OCE-0.12

pythonocc form here:
https://github.com/tpaviot/pythonocc/archive/master.zip

added this to cmake:
cmake28 -DPYTHON_LIBRARY=/opt/anaconda/lib/libpython2.7.so ..

To find the right python  libraries other than that, I didn't alter
anything.

Sincerely
Michael




On Thu, Dec 19, 2013 at 9:49 AM, jelle feringa <jelleferi...@gmail.com>wrote:

> I've corrected it through the github editor, its fixed.
>
> -jelle
>
>
> There's actually some ongoing refactoring work, the 'Stretch' issue is a
> regression. The fix is in a branch that is not merged yet.
>
>
>
> _______________________________________________
> Pythonocc-users mailing list
> Pythonocc-users@gna.org
> https://mail.gna.org/listinfo/pythonocc-users
>
>
_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to