John Griessen wrote: > I decided to delete everything in the build dir and repeat with build -f. > > So now what I did is: > > from /pythonocc-read-only$ svn info > Path: . > URL: http://pythonocc.googlecode.com/svn/trunk > Repository Root: http://pythonocc.googlecode.com/svn > Repository UUID: 3e04dc38-2002-11df-b3bf-63d83f449e3e > Revision: 1031 > > export CSF_GraphicShr=/usr/lib/libTKOpenGl.so > > cd src/contrib/SMESH/ > # install libGEOM.so and libSMESH.so into /usr/local/lib; if installed > # into another place, LD_LIBRARY_PATH has to be modified > cmake -DOCC_INCLUDE_PATH:PATH=/usr/include/opencascade \ > -DOCC_LIB_PATH:PATH=/usr/lib . > make > sudo make install > cd ../GEOM > cmake -DOCC_INCLUDE_PATH:PATH=/usr/include/opencascade \ > -DOCC_LIB_PATH:PATH=/usr/lib . > make > sudo make install > cd ../.. > # build > python2.6 setup.py \ > --with-geom-lib=/usr/local/lib \ > --with-smesh-lib=/usr/local/lib \ > --with-occ-include=/usr/include/opencascade \ > --with-occ-lib=/usr/lib build -f > # install into /usr/local/lib/python2.6/dist-packages > sudo python2.6 setup.py install
That worked! ipython SMESH/volumic_mesh.py and ipython SMESH/test_smesh.py both give 3D objects, no errors, on to PAF. ipython paf_smesh.py churning, generating parameters...R1 2 minutes...R1=6.4 3 minutes R1 value: 6.6 p.Z2 and p.Y2 from 22 to 23 4minutes R1 value: 6.8 R1 value: 7.2 5 mins R1 value: 7.4, p.Z2 and p.Y2 from 26 to 27 increasing arithmetically.... forever? kill it. ipython -wthread test_box.py Display3d class initialization starting ... Graphic device created. Xw_Window created. more increasing arithmetically... p.Z2 from 19 to 20 [PAF] Parameter Z2 created [PAF] parameter: _commit value: False changed parameter p.Z2 from 20 to 21 [PAF] Parameter Z2 created [PAF] parameter: _commit value: False changed parameter p.Z2 from 21 to 22 [PAF] Parameter Z2 created kill it. ipython -wthread test_gears_sympy.py object name: Gear2 R2 value: 13.333333333 X2 value: 40.0001 R2 value: 14.3333333333 R2 value: 15.333333333 X2 value: 46.0001 more increasing arithmetically.. Something seems wrong... ipython OCAFBrowser/ocaf_browser.py ImportError: No module named enthought.traits.ui.api /Level2$ ipython Display/display_quality.py shows a 3D cyl. $ ipython occ_unittest.py Ran 0 tests in 0.000s unittest$ ipython paf_unittest.py Ran 0 tests in 0.000s OK John _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users