Skip to content
프로젝트

소개

3D 지오메트리와 CAD/BIM/CAM을 위한 Python 패키지

과학 및 공학

이 수치를 측정하는 방법

What you can do

  • Full access from Python to almost all of 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

측정된 스타 증가

in 24h
0
in 7 days
+5
in 15 days
+8
in 1 month
+14

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Code style: black Azure Build Status Downloads Badge Codacy Badge Binder DOI

pythonocc-core

About

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

Latest release

pythonocc-core 8.0.1.2 (2026-10-14) is a release built on OpenCascade 8.0.1 and SWIG 4.5.1. It wraps more OCCT 8 modules: grid evaluation of curves and surfaces (GeomGridEval, Geom2dGridEval), helices (HelixGeom, HelixBRep), preview boxes (BRepPreviewAPI) and the data exchange providers (DESTEP, DEIGES, DEGLTF, DESTL, ...), whose parameters can be set from python. The new TopologyTesselator keeps the topology of the mesh, the BSpline curves and discretize_edge are evaluated faster, the sequences are iterable, and objects returned by reference keep their owner alive. See the NEWS file for the full list of changes.

Features

pythonocc provides the following features:

  • Full access from Python to almost all of 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

Try online at mybinder

Click Binder to open a jupyter notebook running the latest pythonocc-core 8.0.1.2.

Install with conda

pythonocc provides precompiled conda packages (they depend on third part libraries made available from the conda-forge channel) for python 3.10, 3.11, 3.12, 3.13 and 3.14. This will get you up and running in minutes whether you run win32/win64/linux64/osx64. Here is an example for python 3.12:

# first create an environment
conda create --name=pyoccenv python=3.12
conda activate pyoccenv
conda install -c conda-forge pythonocc-core=8.0.1.2

Other conda channels may provide pythonocc-core packages, check search Anaconda

Build from source

Read the INSTALL.md instructions where you find compilation instructions for all platforms.

Use cases

pythonocc is widely used in industrial and academic communities, with over 400 scientific citations covering a broad range of domains Google Scholar pythonocc page

Many pythonocc-related projects are available as github repositories

Cite as

pythonocc is registered as a Zenodo open access software and should be cited as:

Paviot, T. (2022). "pythonocc". Zenodo. https://doi.org/10.5281/zenodo.3605364

Other pythonocc related resources

License

pythonocc-core is licensed under the GNU Lesser General Public License version 3 as published by the Free Software Foundation. You can redistribute and/or modify it under the terms of this license.

관련 프로젝트 살펴보기

불러오는 중…