PythonOCC/de: Difference between revisions

From FreeCAD Documentation
(Created page with "[http://www.pythonocc.org/ PythonOCC] ist ein Projekt, das darauf abzielt, den gesamten Funktionsumfang von OpenCasCADe in ein Python Modul zu integrieren. Dies ist ein andere...")
 
(Created page with "PythonOCC hingegen ist sehr komplex, aber auch sehr leistungsfähig, da es Dir Zugriff auf alle OCC Klassen und -Funktionen bietet. Es ist daher eine sehr gute Ergänzung zu F...")
Line 2: Line 2:
[http://www.pythonocc.org/ PythonOCC] ist ein Projekt, das darauf abzielt, den gesamten Funktionsumfang von OpenCasCADe in ein Python Modul zu integrieren. Dies ist ein anderer Ansatz als FreeCAD, bei dem nur bestimmte Komponenten von OpenCasCade verwendet werden, was zu einer wesentlich einfacheren Struktur führt.
[http://www.pythonocc.org/ PythonOCC] ist ein Projekt, das darauf abzielt, den gesamten Funktionsumfang von OpenCasCADe in ein Python Modul zu integrieren. Dies ist ein anderer Ansatz als FreeCAD, bei dem nur bestimmte Komponenten von OpenCasCade verwendet werden, was zu einer wesentlich einfacheren Struktur führt.


PythonOCC hingegen ist sehr komplex, aber auch sehr leistungsfähig, da es Dir Zugriff auf alle OCC Klassen und -Funktionen bietet. Es ist daher eine sehr gute Ergänzung zu FreeCAD. Wenn Du durch die verfügbare OCC Funktionalität von FreeCAD in Deinen Python Skripten eingeschränkt bist, ist es an der Zeit, pythonOCC zu laden.
PythonOCC, on the other hand, since it provides you access to all of OCC classes and functions, is very complex, but also very powerful. It is therefore a very fine addition to FreeCAD. When you are limited by FreeCAD's available OCC functionality in your python scripts, it's time to load pythonOCC.


Currently in the Part module we have the methods: '''Part.__toPythonOCC__()''' and '''Part.__fromPythonOCC__()''' to exchange TopoDS_Shape entities to/from pythonOCC. This allows to use the full power of OCC in python (using pythonocc) and then put the resulting shapes back to FreeCAD.
Currently in the Part module we have the methods: '''Part.__toPythonOCC__()''' and '''Part.__fromPythonOCC__()''' to exchange TopoDS_Shape entities to/from pythonOCC. This allows to use the full power of OCC in python (using pythonocc) and then put the resulting shapes back to FreeCAD.

Revision as of 17:53, 26 November 2019

PythonOCC ist ein Projekt, das darauf abzielt, den gesamten Funktionsumfang von OpenCasCADe in ein Python Modul zu integrieren. Dies ist ein anderer Ansatz als FreeCAD, bei dem nur bestimmte Komponenten von OpenCasCade verwendet werden, was zu einer wesentlich einfacheren Struktur führt.

PythonOCC hingegen ist sehr komplex, aber auch sehr leistungsfähig, da es Dir Zugriff auf alle OCC Klassen und -Funktionen bietet. Es ist daher eine sehr gute Ergänzung zu FreeCAD. Wenn Du durch die verfügbare OCC Funktionalität von FreeCAD in Deinen Python Skripten eingeschränkt bist, ist es an der Zeit, pythonOCC zu laden.

Currently in the Part module we have the methods: Part.__toPythonOCC__() and Part.__fromPythonOCC__() to exchange TopoDS_Shape entities to/from pythonOCC. This allows to use the full power of OCC in python (using pythonocc) and then put the resulting shapes back to FreeCAD.