Package Details: python-occ 7.4.0-1

Git Clone URL: (read-only, click to copy)
Package Base: python-occ
Description: A python library whose purpose is to provide 3D modeling features
Upstream URL:
Licenses: GPLv3
Submitter: greyltc
Maintainer: greyltc
Last Packager: greyltc
Votes: 2
Popularity: 0.058254
First Submitted: 2016-01-18 11:21
Last Updated: 2020-04-17 11:43

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

v.v commented on 2020-06-06 21:28

From release 7.4.0, pythonocc-core depends on the official OpenCascade-7.4.0 library, dependency from 'oce' should be replaced.

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/
 [100%] Built target _V3d
 [100%] Linking CXX shared module Unix/x86_64-Release-64/
 [100%] Built target _SelectMgr
 [100%] Linking CXX shared module Unix/x86_64-Release-64/
 [100%] Built target _TopOpeBRepDS
 [100%] Linking CXX shared module Unix/x86_64-Release-64/
 [100%] Built target _MeshVS
 ==> Starting check()...
 Traceback (most recent call last):
   File "", line 22, in <module>
     import core_wrapper_features_unittest
   File "/home/mfj/.cache/yay/python-occ/src/pythonocc-core-0.18.2     /test/", 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().
 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):



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/ 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()
143 win.canva.InitDriver()

/usr/lib/python3.5/site-packages/OCC/Display/ 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/ 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/ in __init__(self, parent)
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/ 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?