PythonOCC/pl: Difference between revisions

From FreeCAD Documentation
(Created page with "PythonOCC/pl")
 
(Created page with "PythonOCC jest projektem, który ma na celu połączyć cały zakres funkcji OpenCASCADE Technology ''(OCCT)'' w jeden moduł Środowisko Python...")
Line 1: Line 1:
<languages/>
<languages/>
[[PythonOCC|PythonOCC]] is a project that aims at binding the whole range of OpenCASCADE Technology (OCCT) functions into a [[Python|Python]] module. This is a different approach than FreeCAD, where only certain components of OCCT are used, resulting in a much simpler structure. The project page is [http://www.pythonocc.org/ pythonocc.org].
[[PythonOCC/pl|PythonOCC]] jest projektem, który ma na celu połączyć cały zakres funkcji OpenCASCADE Technology ''(OCCT)'' w jeden moduł [[Python/pl|Środowisko Python]]. Jest to inne podejście niż w FreeCAD, gdzie używane tylko niektóre komponenty OCCT, co skutkuje znacznie prostszą strukturą. Strona projektu to [http://www.pythonocc.org/ pythonocc.org].


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 OCCT functionality in your Python scripts, it's time to load {{incode|pythonOCC}}.
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 OCCT functionality in your Python scripts, it's time to load {{incode|pythonOCC}}.

Revision as of 18:04, 15 July 2020

PythonOCC jest projektem, który ma na celu połączyć cały zakres funkcji OpenCASCADE Technology (OCCT) w jeden moduł Środowisko Python. Jest to inne podejście niż w FreeCAD, gdzie używane są tylko niektóre komponenty OCCT, co skutkuje znacznie prostszą strukturą. Strona projektu to pythonocc.org.

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 OCCT 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 (Part TopoShape) entities to and from pythonOCC. This allows us to use the full power of OCCT in Python and then put the resulting shapes back to FreeCAD.