How to use this low-level feature ?
Are there some application examples ?
The FreeCAD wiki page about PythonOCC doesn't say anything.
For example, if I wanted to make an extrusion from a wire (result of a sketch): what would be the syntax ?
If I wanted to fuse 2 solids, what would be the syntax ?
I think that the reason is explained in the wiki page itself.
PythonOCC is "a different way" of doing things, but is used by the IFCOpenShell "importer" so it is here to permit some interoperability between FreeCAD and PythonOCC.
Having tryed to use PythonOCC some times ago it is not so bad, but IMHO I think that FreeCAD is better.
So having it is handy, eventually the links at the bottom of the page will address to the proper documentation.
I think that the choice to focus on "documenting FreeCAD" is more correct than focusing on "document other softwares" that are not part of the "core part" of FreeCAD and are ancillary to some other part.
Good, bad, seeing what is happening around as opensource is heavily used by commercial softwares barely citing the use, (Most of the "tehc giants" rely on Opensource, and probably don't repay enough the community from the "hard work" spent in developing opensource software, and they are "making money" using opensource software)
my two cents
Best Regards
Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
To my knowledge pythonocc is a 1:1 wrapper of the opencascade API in python. So you can usually use the c++ documentation, which is somewhat extensive for occ, and figure the python API from it.
How to use this low-level feature ?
Are there some application examples ?
The FreeCAD wiki page about PythonOCC doesn't say anything.
For example, if I wanted to make an extrusion from a wire (result of a sketch): what would be the syntax ?
If I wanted to fuse 2 solids, what would be the syntax ?
Thanx
I recently used it here [1]. Use it only if freecad has no python wrapper available.