=Hub ul pentru utilizatorii avansați=
Acesta este locul unde veți veni dacă doriți să aveți o viziune mai profundă în FreeCAD. Aici puteți afla despre personalizarea programului FreeCAD pentru nevoile dvs.
Aceste pagini sunt în stadiu incipient de dezvoltare. Dacă nu găsiți informațiile pe care le căutați sau ați găsit informații utile undeva la care nu ne-am conectat, vă rugăm să lăsați un comentariu cu privire la forum, sau, de ce nu? Add some more content here yourself!
Una dintre cele mai interesante posibilități ale FreeCad este să puteți crea scripturi de programare foarte complexe fără a trebui să compilați nimic sau să trebuiască să atingeți codul sursă. Toate scripturile sunt făcute în limbajul Python, care este un limbaj de scriere simplu și foarte puternic. Folosind comenzi simple aveți acces complet la toate părțile FreeCad. Puteți, de exemplu:
* Create and modify geometry: există un obiect care nu este disponibil în biblioteca originală FreeCad? Puteți crea acest nou obiect de la zero sau puteți adapta un șablon existent după cum este necesar.
- Create custom tools and commands: În prezent, FreeCad are multe caracteristici, dar există încă o mulțime de instrumente și controale care sunt utile pentru utilizatorul final. Puteți crea cu ușurință propriile instrumente sau comenzi.
- Modify the interface: Interfața FreeCad este în prezent foarte simplă. În acest scop, FreeCad vă permite să vă modificați aspectul și să îl adaptați la nevoile dvs. De exemplu, puteți să creați bara de instrumente și să inserați instrumentele.
- Modify the scene representation: FreeCad are procese separate pentru construirea și calcularea formelor geometrice și afișarea figurilor pe ecran. Aveți control complet asupra modului în care este afișată geometria pe ecran, puteți schimba reprezentarea, puteți interacționa cu aceasta sau puteți adăuga tot felul de comportamente personalizate și widget-uri de pe ecran, cum ar fi informații, trasaje, ancore sau entități temporare.
personalizare FreeCAD
- Interface Customization: Pornind de la început: Bare de instrumente și comenzi rapide
- Working with Macros: Înregistrați cu ușurință sarcini repetate adesea sau cod Python
- Macros recipes
- Customize Toolbars
- Installing more workbenches
- Plugin Loader
- Addons installer.FCMacro
Scripting in FreeCAD
General
- Introduction to Python - See also other Python tutorials at the bottom of this page
- FreeCAD scripting tutorial - A general look at python scripting in FreeCAD
- FreeCAD Scripting Basics: Well, the basics...
- Gui Command : Adding custom commands to the GUI
- Using mixed Units in FreeCAD
Module
As the functionality of FreeCAD is separated in Modules which deal with special data types and applications. FreeCAD has built-in modules and Extension Modules (plug-ins). Once plugin modules are installed, they become availible to you as easily as the built-in modules. The modules described below are the default modules, includeed in every FreeCAD installation.
- The Builtin modules are the principal FreeCAD modules. They contain tools for manipulating general FreeCAD configurations, documents and their contents.
- Workbench creation shows you how to create your own workbench
Working with Meshes
- Mesh Scripting: How to interact with the Mesh Module
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
- PySide: 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 documentation of FreeCAD is located at http://www.freecadweb.org/api/ . It contains both C++ and Python APIs, and is not totally well formatted yet, which can be confusing when looking for python-only code. An easier to browse version can be found here. Note that it can be incomplete, since it is updated manually. For more accurate information, browse the modules directly from FreeCAD's Python console.
Advanced modification
- Start up and Configuration: Opțiunile de pornire și linia de comandă pentru FreeCad
- Install on Windows: instalarea sub Windows
- Compiling FreeCAD on Windows and Compiling FreeCAD on Unix
- Branding: Modificări simple pe care le puteți face la codul sursă pentru a schimba unele aspecte ale FreeCAD
- Extra python modules : Extindeți interpretorul Python FreeCAD cu aceste module puternice!
Python tutorials
Acestea sunt tutoriale generice bune, nu specifice aplicației FreeCAD, care ar putea fi interesante pentru dvs. dacă sunteți complet nou în Python.
Python
- Official python tutorial - Un tutorial foarte simplu pentru a descoperi python
- Non-programmer tutorial for python - un excelent wikibook
- Python for newbies - un tutorial extraordinar care acoperă principiile de bază
PySide - How to create and manage FreeCAD's Qt UI interface from python
- PySide tutorial : A platform-agnostic tutorial showing the usage of PySide with examples
- PySide/PyQt tutorial : A easy to read tutorial that covers PySide and PyQt with examples
- PySide documentation : from the Qt Project (the people who wrote it all)
- Using QtCreator in PySide : also from the Qt Project
- PySide reference : endless detail on the minutiae of PySide and Qt, a reliable reference source
- PySide code snippets : a searchable database of PySide code snippets
The following two references are PyQt specific (not PySide) but may offer some information of use:
- Basic PyQt tutorial : A simple and short linux-based tutorial that will explain how to work with PyQt and Qt Designer
- 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 from 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
Pe pagina Community portal, puteți căuta alte proiecte bazate pe FreeCad gestionate de comunitate. Dacă ați început un nou proiect FreeCad, asigurați-vă că îl veți informa despre portalul comunitar. Dacă doriți să participați la dezvoltarea programului FreeCAD, puteți vizita această pagină și puteți vedea ce puteți faceHelp FreeCAD.