Package Details: python-occ 0.18.2-1

Git Clone URL: https://aur.archlinux.org/python-occ.git (read-only, click to copy)
Package Base: python-occ
Description: A python library whose purpose is to provide 3D modeling features
Upstream URL: https://github.com/tpaviot/pythonocc-core
Licenses: GPLv3
Submitter: greyltc
Maintainer: greyltc
Last Packager: greyltc
Votes: 1
Popularity: 0.000000
First Submitted: 2016-01-18 11:21
Last Updated: 2019-11-27 17:20

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

newsboost commented on 2019-12-10 10:04

I tried to install/upgrade this today through Arch Linux and yay, I get:

 [100%] Linking CXX shared module Unix/x86_64-Release-64/_V3d.so
 [100%] Built target _V3d
 [100%] Linking CXX shared module Unix/x86_64-Release-64/_SelectMgr.so
 [100%] Built target _SelectMgr
 [100%] Linking CXX shared module Unix/x86_64-Release-64/_TopOpeBRepDS.so
 [100%] Built target _TopOpeBRepDS
 [100%] Linking CXX shared module Unix/x86_64-Release-64/_MeshVS.so
 [100%] Built target _MeshVS
 ==> Starting check()...
 Traceback (most recent call last):
   File "run_tests.py", line 22, in <module>
     import core_wrapper_features_unittest
   File "/home/mfj/.cache/yay/python-occ/src/pythonocc-core-0.18.2     /test/core_wrapper_features_unittest.py", line 27, in <module>
     from OCC.Core.Standard import Standard_Transient,      Handle_Standard_Transient
 ModuleNotFoundError: No module named 'OCC'
 ==> ERROR: A failure occurred in check().
     Aborting...
 Error making: python-occ

mantielero commented on 2019-01-24 16:50

Could it be updated to v0.18.2?

tsokar commented on 2018-01-26 16:29

For those interested: If you want to make it work (today):

pkgver=0.18.1

md5sums=('2201367bee43b08bfd389c661e932eb9')

mriyah commented on 2017-03-23 12:34

python-occ 0.17 requires occ-0.17 which is not available.

puntaier_gtec commented on 2016-10-07 12:37

I got errors like StandardIOd.hxx no such file or directory. Is there a version issue between OCE and Python-OCC?

tapia commented on 2016-02-02 21:44

Hi, I built this package successfully but I get this error when I run the following example taken from the official site it gives an error:

>>from OCC.Display.SimpleGui import init_display
>>from OCC.BRepPrimAPI import BRepPrimAPI_MakeBox

>>display, start_display, add_menu, add_function_to_menu = init_display()

INFO:OCC.Display.backend:backend loaded: qt-pyqt5
INFO:OCC.Display.SimpleGui:GUI backend set to: qt-pyqt5
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
<ipython-input-3-7053f85cee0b> in <module>()
----> 1 display, start_display, add_menu, add_function_to_menu = init_display()

/usr/lib/python3.5/site-packages/OCC/Display/SimpleGui.py in init_display(backend_str, size)
139 if not app: # create QApplication if it doesnt exist
140 app = QtWidgets.QApplication(sys.argv)
--> 141 win = MainWindow()
142 win.show()
143 win.canva.InitDriver()

/usr/lib/python3.5/site-packages/OCC/Display/SimpleGui.py in __init__(self, *args)
93 def __init__(self, *args):
94 QtWidgets.QMainWindow.__init__(self, *args)
---> 95 self.canva = qtViewer3d(self)
96 self.setWindowTitle("pythonOCC-%s 3d viewer ('%s' backend)" % (VERSION, used_backend))
97 self.resize(size[0], size[1])

/usr/lib/python3.5/site-packages/OCC/Display/qtDisplay.py in __init__(self, *kargs)
108 class qtViewer3d(qtBaseViewer):
109 def __init__(self, *kargs):
--> 110 qtBaseViewer.__init__(self, *kargs)
111 self._drawbox = False
112 self._zoom_area = False

/usr/lib/python3.5/site-packages/OCC/Display/qtDisplay.py in __init__(self, parent)
68
69 self._have_pyside = have_pyside()
---> 70 self._have_pyqt4 = have_pyqt4()
71 self._have_pyqt5 = have_pyqt5()
72 self._have_backend = have_backend()

/usr/lib/python3.5/site-packages/OCC/Display/backend.py in have_pyqt4()
35 global HAVE_PYQT4, QtCore, QtGui, QtWidgets, QtOpenGL
36 try:
---> 37 from PyQt4 import QtCore, QtGui, QtOpenGL
38 QtWidgets = QtGui
39 HAVE_PYQT4 = True

RuntimeError: the PyQt4.QtCore and PyQt5.QtCore modules both wrap the QObject class

Could it be a problem with pyQt?