Difference between revisions of "PythonOCC/fr"

From FreeCAD Documentation
Jump to navigation Jump to search
(Updating to match new version of source page)
(Created page with "[http://www.pythonocc.org/ PythonOCC] est un projet assez jeune et actit, qui vise à lier l'ensemble des fonctions '''OpenCascade''' dans un module '''Python'''. C'est une ap...")
Line 1: Line 1:
[http://www.pythonocc.org/ PythonOCC] is a pretty young and active project that aims at binding the whole range of OpenCasCADe functions into a python module. This is a very different approach than FreeCAD, where only certain components of OpenCasCade are used, resulting in a much simpler structure.
+
[http://www.pythonocc.org/ PythonOCC] est un projet assez jeune et actit, qui vise à lier l'ensemble des fonctions '''OpenCascade''' dans un module '''Python'''. C'est une approche très différente de celle FreeCAD, où, seuls certains composants d''''OpenCascade''' sont utilisés, résultant en une structure beaucoup plus simple.
  
 
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.
 
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.

Revision as of 19:53, 18 May 2014

PythonOCC est un projet assez jeune et actit, qui vise à lier l'ensemble des fonctions OpenCascade dans un module Python. C'est une approche très différente de celle FreeCAD, où, seuls certains composants d'OpenCascade sont utilisés, résultant en une structure beaucoup plus simple.

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.

Other languages:
Deutsch • ‎English • ‎Türkçe • ‎español • ‎français • ‎italiano • ‎polski • ‎română • ‎svenska • ‎čeština • ‎русский