notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details
pythonocc-core 3D modeling based on the OpenCascade Technology modeling kernel
8.0.0.a_1 cad on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: philippehay71@gmail.com search for ports maintained by this maintainer
Port Added: 2026-08-15 13:36:17
Last Update: 2026-08-31 15:16:35
Commit Hash: e1e0157
Also Listed In: python
License: LGPL3
WWW:
https://github.com/tpaviot/pythonocc-core
Description:
pythonocc provides 3D modeling and dataexchange features. It is intended to CAD/PDM/PLM/BIM development. The module is based on the OpenCascade Technology modeling kernel. Features -------- pythonocc provides the following features: * a full access from Python to almost all af the thousand OpenCascade C++ classes. Classes and methods/functions share the same names, and, as possible as it can be, the same signature * 3D visualization from the most famous Python Gui (tkinter, pyQt5 and 6, PySide2 and 6, wxPython) * 3D visualization in a web browser using threejs or x3dom frameworks * 3D visualization and work within a jupyter notebook * data exchange using most famous formats IGES/STEP/STL/PLY/OBJ/GLTF * Utility Python classes/methods for Topology operations, inertia computations and more.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}pythonocc-core>0:cad/pythonocc-core@${PY_FLAVOR}
To install the port:
cd /usr/ports/cad/pythonocc-core/ && make install clean
To add the package, run one of these commands:
  • pkg install cad/pythonocc-core
  • pkg install py312-pythonocc-core
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py312-pythonocc-core listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-pythonocc-core
Package flavors (<flavor>: <package>)
  • py312: py312-pythonocc-core
distinfo:
TIMESTAMP = 1785766941 SHA256 (tpaviot-pythonocc-core-8.0.0.a-fe54be6549db400da0d59caeed7af1d04e92a9ab_GH0.tar.gz) = c5e32990e2bfd70c4985442aab00aa47c38f2cb42eac7894cf1484d716cb8f8a SIZE (tpaviot-pythonocc-core-8.0.0.a-fe54be6549db400da0d59caeed7af1d04e92a9ab_GH0.tar.gz) = 5931962

Packages (timestamps in pop-ups are UTC):
py312-pythonocc-core
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--n/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/a
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest-8.0.0.a_1n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py312-numpy>=1.17 : math/py-numpy@py312
  2. reader.h : devel/rapidjson
  3. swig : devel/swig
  4. py312-qt5-pyqt>0 : devel/py-qt5-pyqt@py312
  5. cmake : devel/cmake-core
  6. ninja : devel/ninja
  7. py312-cython>=3.2.4 : lang/cython@py312
  8. python3.12 : lang/python312
Test dependencies:
  1. py312-black>0 : devel/py-black@py312
  2. py312-twisted>0 : devel/py-twisted@py312
  3. py312-pytest>=0 : devel/py-pytest@py312
  4. python3.12 : lang/python312
Runtime dependencies:
  1. py312-numpy>=1.17 : math/py-numpy@py312
  2. py312-svgwrite>0 : graphics/py-svgwrite@py312
  3. py312-numpy_stl>0 : math/py-numpy-stl@py312
  4. py312-matplotlib>0 : math/py-matplotlib@py312
  5. py312-qt5-pyqt>0 : devel/py-qt5-pyqt@py312
  6. python3.12 : lang/python312
Library dependencies:
  1. libTKernel.so : cad/opencascade
  2. libOpenGL.so : graphics/libglvnd
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
cad_pythonocc-core
USES:
cmake compiler:c++17-lang gl pytest python
pkg-message:
For install:
You can install and use different backend for the visualisation: - "tk" x11-toolkits/py-tkinter - "pyqt5" devel/py-qt5-pyqt - "pyqt6" devel/py-qt6-pyqt - "pyside6" devel/pyside6 - "wx": x11-toolkits/py-wxpython
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/tpaviot/pythonocc-core/tar.gz/fe54be6549db400da0d59caeed7af1d04e92a9ab?dummy=/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
8.0.0.a_1
31 Aug 2026 15:16:35
commit hash: e1e0157eb0ab9ccdd376cf04233d0a8f886d5a21commit hash: e1e0157eb0ab9ccdd376cf04233d0a8f886d5a21commit hash: e1e0157eb0ab9ccdd376cf04233d0a8f886d5a21commit hash: e1e0157eb0ab9ccdd376cf04233d0a8f886d5a21 files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
Author: Philippe Hay
cad/pythonocc-core: fix build with py-numpy-stl 4.0.0

Other modifications:
-added PORTREVISION to 1
-adapted package name "numpy_stl"
-added python flavors
-disable PORTSCOUT (see also
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297592)
-added pkg-message (install)
-added missing patches from 1 upstream PR:
https://github.com/tpaviot/pythonocc-core/pull/1493/changes/eb52a64e7d82db2ea195b7842c4e5a76cac3c663
(Fix invalid OCCT 8.0.0 .pyi type stubs so mypy passes)

PR:		298034
8.0.0.a
15 Aug 2026 13:34:26
commit hash: 4271b76acc5d1ff350d56b896d532d22524cc4a1commit hash: 4271b76acc5d1ff350d56b896d532d22524cc4a1commit hash: 4271b76acc5d1ff350d56b896d532d22524cc4a1commit hash: 4271b76acc5d1ff350d56b896d532d22524cc4a1 files touched by this commit
Thierry Thomas (thierry) search for other commits by this committer
Author: Philippe Hay
cad/pythonocc-core: new port, 3D modeling based on the OpenCascade Technology

pythonocc provides 3D modeling and dataexchange features.
It is intended to CAD/PDM/PLM/BIM development.
The module is based on the OpenCascade Technology modeling kernel.

PR:		290214
Reported by:	Philippe Hay

Number of commits found: 2