Power users hub/fr: Difference between revisions
Renatorivo (talk | contribs) (Created page with "'''Général''' * Introduction à python: Allez voir aussi les autres tutoriels pour python les liens sont en bas de cette page * [[Python script...") |
Renatorivo (talk | contribs) (Created page with "'''Travailler avec les maillages "Mesh"''' * Scripts et maillage: Être interactif avec le module maillage") |
||
Line 29: | Line 29: | ||
* [[Units/fr|Unités]]: dans FreeCad |
* [[Units/fr|Unités]]: dans FreeCad |
||
'''Travailler avec les maillages "Mesh"''' |
|||
===Working with Meshes=== |
|||
* [[Mesh Scripting]]: |
* [[Mesh Scripting/fr|Scripts et maillage]]: Être interactif avec le [[Mesh Module/fr|module maillage]] |
||
===Working with Parts=== |
===Working with Parts=== |
Revision as of 21:23, 8 December 2013
Cet espace va vous permettre de mieux connaître et vous familiariser avec FreeCad. Vous pourrez ici apprendre à configurer FreeCad selon vos besoins et exigences.
Ces pages sont au début de leurs développements. Si vous ne trouvez pas l'information que vous recherchez, ou vous avez trouvé des informations utiles, et qui ne sont pas liées ici, alors s'il vous plaît laissez un commentaire sur la page de discussion du forum et quelqu'un s'en occupera, (ou, si vous vous sentez audacieux, ou que vous pensez que ce sera mieux fait par vous, pourquoi ne pas modifier vous même directement cette page, ou la documentation de FreeCAD !), demandez l'autorisation d'écriture sur le de discussion.
Une des plus intéressantes possibilités de FreeCad est d'avoir la possibilité de créer des scripts très complexes sans devoir compiler quoi que ce soit ni d'avoir à toucher au code source. Tous les scripts sont faits en langage Python, qui est un langage simple d'écriture et très puissant. Vous avez un accès total à tous les scripts de FreeCad.
Vous pouvez par exemple :
- Créer et modifier des éléments géométriques: Vous avez besoin d'une figure géométrique spéciale qui n'est pas présente dans la bibliothèque FreeCad d'origine ? Vous pouvez créer ce nouvel objet à partir de zéro ou adapter un modèle existant suivant vos besoins.
- Création d'outils et commandes personnalisées: Actuellement, FreeCad possède de nombreuses fonctionnalités mais, il manque encore beaucoup d'outils et de commandes utiles à l'utilisateur final. Vous pouvez créer très facilement vos propres outils ou commandes.
- Modification de l'interface: L'interface de FreeCad est actuellement très simple. Dans ce but FreeCad vous permet de modifier son apparence et de l'adapter à vos besoins. Vous pouvez par exemple créer votre barre d'outils et y insérer vos outils.
- Modifier la représentation de scènes: FreeCad a des processus séparés pour construire et calculer les formes géométriques et afficher les figures à l'écran. Vous avez le contrôle total sur la manière dont les géométries sont affichées à l'écran, vous pouvez modifier la représentation, être interactif avec le processus ou ajouter toutes sortes de comportements personnalisés comme par exemple l'affichage d'informations, traçage ou entités temporaires.
Personnaliser FreeCAD
- Personnaliser l'interface: Modifier barre d'outils et raccourcis.
- Travailler avec les macros: Enregistrez facilement des opérations que vous répétez souvent ou créez votre code en python
Scripts dans FreeCAD
Général
- Introduction à python: Allez voir aussi les autres tutoriels pour python les liens sont en bas de cette page
- FreeCAD scripting tutorial: Vue générale en scripts python dans FreeCad
- Scripts de base: Les bases des scripts en python...
- Interface et commandes: Ajouter des commandes dans l'interface de FreeCad
- Unités: dans FreeCad
Travailler avec les maillages "Mesh"
- Scripts et maillage: Être interactif avec le module maillage
Working with Parts
- The Part Module: How Open CASCADE Technology tools and structure is used in FreeCAD
- Topological data scripting: How to interact with the Part Module
- PythonOCC: How to unleash the whole Open CASCADE power
- Mesh to Part: Converting between object types
Accessing the Coin scenegraph
- The Coin/Inventor scenegraph: How the FreeCAD scene representation works
- Pivy: How to access and modify the scenegraph
Controlling the Qt interface
- PyQt: How to access the interface, and modify its contents
- Using the FreeCAD GUI in another Qt application with PyQt
Working with parametric objects
- Scripted objects: How to make 100% Python-scripted objects in FreeCAD
- Drawing Module: Automating the 3D-to-2D process
Examples
- Code snippets : A collection of pieces of FreeCAD Python code, to serve as ingredients in your scripts...
- Line drawing function: How to build a simple tool to draw lines
- Dialog creation: How to construct dialogs with Qt designer, and use them in FreeCAD
- Embedding FreeCAD: How to import FreeCAD as a Python module in other applications
- The Draft Module adds basic 2d drawing functions to freecad. It is written entirely in Python, so it can be a good example if you want to write your own modules.
- FreeCAD vector math library : A couple of handy functions to manipulate FreeCAD vectors. This library is also included in the Draft module.
API Functions
The complete API description can be found here. Note that it can be incomplete, since we still didn't find a way to include it automatically on this wiki. For more accurate information, browse the modules directly from FreeCAD.
Advanced modification
- Start up and Configuration: Startup and command line options
- Install on Windows: Using the windows installer
- Compiling FreeCAD on Windows and Compiling FreeCAD on Unix
- Branding: Simple modifications you can do to the source code to change some aspects of FreeCAD
- Extra python modules : Extend the FreeCAD python interpreter with these powerful modules!
Python tutorials
These are good generic tutorials, not specific to FreeCAD, that might interest you if you are totally new to python.
Python
- Official python tutorial - A very complete tutorial for discovering python
- Non-programmer tutorial for python - an excellent wikibook
- Python for newbies - one big tutorial covering all the basics
PyQt - How to create and manage FreeCAD's Qt UI interface from python
- Basic PyQt tutorial : A simple and short linux-based tutorial that will explain how to work with PyQt and Qt Designer
- First programs in PyQt4 : A platform-agnostic tutorial showing the interns of python + qt
- programming Qt applications in python : A more in-depth tutorial covering all the process of working with qt and python.
Pivy - How to interact with FreeCAD's 3D scenes
- Basic Pivy tutorial : A very simple tutorial form the official Pivy site
- Introducing Pivy into studierstube : A document that is not really a tutorial, but that illustrates well how Pivy works
Community projects
On the Community portal, you can find other FreeCAD-based projects run by the FreeCAD users community. If you are starting a new FreeCAD project, be sure to list it there! We also have a page with things you can do if you would like to Help FreeCAD.