Macros recipes/it: Difference between revisions

From FreeCAD Documentation
No edit summary
(Updating to match new version of source page)
 
(308 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<languages/>
{{TutorialInfo/it
{{TOCright}}
|Topic=Macro
|Level=Base
|Time=
|Author=
|FCVersion=
|Files=
}}


Questa pagina lista [[macros/it|macro]] che possono aggiungere delle funzionalità alla propria installazione di FreeCAD.


Se avete scritto una macro e volete includerla in una delle categorie su questa pagina, allora consultate '''[[macro documentation/it|Documentazione delle macro]]''' per saperne di più su come documentarla correttamente.
Questa pagina contiene un elenco di macro con cui aggiungere delle funzionalità alla propria installazione di FreeCAD.


<span id="Categories"></span>
== Macro ==
== Macros ==


<div class="toccolours mw-collapsible mw-collapsed">
=== Creare oggetti ===


<span id="32px_3D_View_operations"></span>
* {{MacroLink/it|Macro_makeCube|Macro Make Cube|Macro Crea Cubo}}: Crea un [http://en.wikipedia.org/wiki/Cuboid parallelepipedo] utilizzando 4 punti
===[[File:Part_CheckGeometry.svg|32px]] Operazioni di visualizzazione 3D===
* {{MacroLink/it|Text-x-python|Macro Solid Sweep|Macro Sweep solido}}: Crea un solido estrudendo un profilo 2D lungo una traiettoria selezionata precedentemente nella vista 3D. Gli elementi 2D si creano attraverso i normali strumenti GUI di FreeCAD.
* {{MacroLink/it|Text-x-python|Macro Rectellipse|Macro Rectellipse}}: crea un contorno a forma di rectellipse, ellisse rettangolare o rettangolo arrotondato, parametrico.
* {{MacroLink/it|Macro_Draft_Circle_3_Points|Macro Make Circle 3 Points|Macro Cerchio da 3 punti}}: crea un cerchio su 3 punti selezionati, i punti possono anche essere oggetti (questa macro unisce le due macro riportate in seguito), tutti i parametri si impostano in modo semplice tramite una finestra grafica.
* {{MacroLink/it|Macro_Draft_Circle_3_Points|Macro Draft Circle 3 Points|Macro Cerchio da 3 punti 2D}}: crea un cerchio passante per 3 punti selezionati in un piano 2D, i punti possono anche essere degli oggetti.
* {{MacroLink/it|Macro_Draft_Circle_3_Points|Macro Draft Circle 3 Points 3D|Macro Cerchio da 3 punti 3D}}: crea un cerchio passante per 3 punti selezionati nello spazio 3D.
* {{MacroLink/it|Macro Make Arc 3 Points|Macro Make Arc 3 Points|Macro Arco da 3 punti}}: crea un arco da 3 punti selezionati.
* {{MacroLink/it|Text-x-python|Macro screw maker1_2|Macro screw maker1_2}}: Questa macro crea viti e bulloni, con o senza la filettatura, secondo le norme ISO ([http://forum.freecadweb.org/viewtopic.php?f=22&t=6088#p48519 screw_maker1_6.py.zip with Pyside support]). [http://forum.freecadweb.org/viewtopic.php?f=22&t=6558&start=30#p95929 (Screw Maker 2.0 - nuova versione!)]
* {{MacroLink/it|Text-x-python|Macro Geodesic Dome|Macro Cupola geodetica}}: Questa macro crea il guscio di una cupola geodetica
* {{MacroLink/it|Macro_BOLTS|Macro BOLTS|Macro BOLTS}}: L'obiettivo di BOLTS è quello di costruire una libreria gratuita e open-source di parti standard per le applicazioni CAD.
* {{MacroLink/it|Text-x-python|Macro Ellipse-Center+2Points|Macro Ellisse da centro e 2 punti}}: Costruisce un ellisse selezionando tre punti nell'ordine: centro, raggio maggiore e raggio minore
* {{MacroLink/it|Text-x-python|Macro Airfoil Import & Scale|Macro Airfoil Import & Scale}}: Importa e scala un profilo alare .dat alla lunghezza di corda desiderata.
* {{MacroLink/it|Text-x-python|Macro Line Length|Macro Linea}}: Crea una linea nel piano XY da coordinate XYZ, lunghezza e angolo
* {{MacroLink/it|Text-x-python|Macro cutLine|Macro Taglia linea}}: Taglia una linea e crea tanti punti quanti ne sono richiesti, opzionalmente crea segmenti e/o punti, monocolore o bicolore.
* {{MacroLink/it|Text-x-python|Macro circle|Macro Cerchio}}: Crea un cerchio o arco dal raggio, diametro, circonferenza, area, startAngle, endAngle, arco, anglecenter, corda, freccia, centro a scelta.
* {{MacroLink/it|Text-x-python|Macro cutCircle|Macro Taglia cerchio}}: Taglia un cerchio o un arco e crea tanti archi quanti ne sono richiesti.
* {{MacroLink/it|Macro_FCConvertLines|Macro FCConvertLines|Macro Converti Linee}}: questa macro converte la linea dell'oggetto, da continua a tratteggiata, a tratto e punto, o tratto punto punto, assegnandole le dimensioni indicate.
* {{MacroLink/it|Text-x-python|Macro triangleAH|Macro Triangolo AH}}: Questa macro crea un triangolo isoscele dati l'angolo e l'altezza (il vertice è posizionato nel punto 0,0,0)
* {{MacroLink/it|FCTexture|Macro FCTexture|Macro Texture}}:Crea un disegno estratto da un'immagine bmp per produrre facilmente una texture
* {{MacroLink/it|FCCreaLoft|Macro FCCreaLoft|Macro Loft}}: Crea un loft con una lista di contorni, è stata creata appositamente per la {{MacroLink/it|FCTexture|Macro Texture|Macro Texture}}:
* {{MacroLink/it|FreeCAD Doc|Macro PartsLibrary|Macro Libreria di parti}}: Avvia il browser per esplorare la libreria delle Parti
* {{MacroLink/it|BoundBoxTracing|Macro BoundingBox Tracing|Macro Traccia contenitore}}: Questa macro crea una traccia rossa (modificabile) intorno al BoundingBox con 6 rettangoli
* {{MacroLink/it|FCCircularTextButtom|Macro FCCircularText|Macro Testo circolare}}: Questa macro crea un testo intorno un cilindro
* {{MacroLink/it|GW_Dim|Macro Geneva Wheel|Macro Croce di Malta}}: Consente all'utente di creare un meccanismo Croce di Malta da zero. Per modificare la dimensione dell'oggetto è necessario modificare i valori all'interno della Macro.
* {{MacroLink/it|GW_Dim|Macro Geneva Wheel GUI|Macro GUI per la Croce di Malta}}: Interfaccia grafica per Macro Geneva Wheel.
* {{MacroLink/it|Text-x-python|Macro WireXYZ|Macro Polilinea da XYZ}}: Questa macro crea una polilinea (spezzata) con le coordinate estratte da un file. Le coordinate X Y Z sono separate da uno spazio.
* {{MacroLink/it|FCSpring_Helix_Variable|Macro FCSpring Helix Variable|Macro Molla a spirale variabile}}: Crea una molla con i terminali chiusi, si può regolare ogni spira.
* {{MacroLink/it|Text-x-python|Macro Arch Axis System Repartition|Macro Sistema di assi Arch}}: Questa macro aiuta a creare un sistema di assi lungo una linea.
* {{MacroLink/it|Cabinets32|Macro Cabinets32|Macro Cabinets32}}: crea le pareti laterali, superiori e di fondo di un armadio con i fori per collegare le parti prodotte da Hettich.
* {{MacroLink/it|Text-x-python|Macro Half turn stairs|Macro Scala a mezzo giro}}: Crea una scala a mezzo giro (sinistra o destra) dai dati di un file.
* {{MacroLink/it|Macro_Half_Hull_Model|Macro Half-Hull Model|Macro Modello di mezzo scafo}}: Questa macro, partendo da una serie di disegni 2D, genera un modello tridimensionale sia di "mezzo scafo" [http://en.wikipedia.org/wiki/Half_hull_model_ship half-hull] che dello scafo completo.
* {{MacroLink/it|Text-x-python|Macro Stairs|Macro Scala a chiocciola}}: Crea una scala a chiocciola.
* {{MacroLink/it|Macro_ReproWire|Macro ReproWire|Macro Riproduci wire}}: Questa macro riproduce tutti i sotto-elementi, le facce o i contorni selezionati.
* {{MacroLink/it|Gearworkbech|Macro FCGear|Macro FCGear}}: Ambiente aggiuntivo per creare diversi tipi di ingranaggi, evolventi, cremagliere, ingranaggi cicloidi e conici.
* {{MacroLink/it|Text-x-python|Macro Extract Wires from Mesh|Macro Estrai wire da Mesh}}: Estrae dei bordi wire dai mesh selezionati


<div class="mw-collapsible-content">
=== Trasformare oggetti ===


* {{MacroLink|Icon=Macro_Align_Face_Object_to_View.png|Macro_Align_Face_Object_to_View/it|Allinea la faccia dell'oggetto alla vista}}: questa macro allinea la vista corrente a una faccia selezionata.
* {{MacroLink/it|Text-x-python|Macro ArrayCopy|Macro Schiera di copie}}: Copia diverse volte l'oggetto selezionato, secondo una matrice.
* {{MacroLink/it|Text-x-python|Macro FlattenWire|Macro Wire appiattita su piano mediano}}: Appiattisce una polilinea non planare sulla sua mediana delle coordinate Z.
* {{MacroLink/it|Text-x-python|Macro FlattenWire3Points|Macro Wire appiattita su piano da 3 punti}}: Appiattisce una polilinea non planare su un piano definito da 3 punti
* {{MacroLink/it|Text-x-python|Macro MeshToPart|Macro Da Mesh a Part}}: Converte gli oggetti Mesh selezionati in oggetti Parte.
* {{MacroLink/it|PartToVRML|Macro PartToVRML|Macro Da Part a VRML}}: Converte le parti selezionate in mesh VRML per avere un file di piccole dimensioni caricabile velocemente (compatibile con i modelli VRML di Kicad e Blender)
* {{MacroLink/it|Text-x-python|Macro JointWire|Macro Congiungi wire}}: Consente di trovare tutti i bordi non collegati e di congiungerli al bordo non collegato più vicino tramite una linea.
* {{MacroLink/it|Text-x-python|Macro Remove parametric history|Macro Rimuovi cronologia}}: Elimina da un oggetto tutte le associazioni parametriche, lasciandolo come una forma "muta".
* {{MacroLink/it|Text-x-python|Macro SuperWire|Macro Forza Wire}}: Forza la creazione di una polilinea partendo da linee e archi non necessariamente contigui. Da utilizzare quando la normale operazione polilinea non riesce.
* {{MacroLink/it|Text-x-python|Macro HealArcs|Macro Cura gli archi}}: Talvolta gli archi vengono trasformati in BSpline, per esempio quando ad essi sono applicate operazioni di scala. Questa macro ricrea gli archi dalle BSpline. Utile prima dell'esportazione in .dxf.
* {{MacroLink/it|Text-x-python|Macro FaceToSketch|Macro Da Faccia a Schizzo}}: Converte la faccia selezionata in uno schizzo senza vincoli.
* {{MacroLink/it|Text-x-python|Macro EdgesToArc|Macro Da Segmento a Arco}}: Sostituisce, se possibile, i segmenti selezionati con un arco di cerchio. Utile per ripristinare gli archi discretizzati.
* {{MacroLink/it|Macro_CloneConvert|Macro CloneConvert|Macro Clone convertito}}: Crea un clone dell'oggetto, convertito nella posizione e nelle dimensioni scelte (inch, mm, m, µm...).
* {{MacroLink/it|Text-x-python|Macro Creating faces from a DXF file|Macro Facce da DXF}}: Crea delle facce dai file DXF, i "Layer" sono riconosciuti singolarmente e inseriti in un gruppi distinti.
* {{MacroLink/it|Macro_DXF_to_Face_and_Sketch|Macro DXF to Face and Sketch|Macro Facce e Schizzi da DXF}}: Questa macro converte gli elementi selezionati in un DXF importato in facce e schizzi.
* {{MacroLink/it|Text-x-python|Macro Image Scaling|Macro Scala immagine}}: Macro per scalare disegni, grafici, schemi, modelli e immagini 2D simili nell'ambiente Immagine.
* {{MacroLink/it|Text-x-python|Macro MatrixTransform|Macro Trasformazioni}}: applica una trasformazioni lineare dello spazio per modificare le forme. Ad esempio, la scalatura non uniforme, l'inclinazione di un testo (shader), la riflessione, l'inversione degli assi.
* {{MacroLink/it|Macro_Connect_And_Sweep|Macro Connect And Sweep|Macro Collega con Sweep}}: Questa macro crea una connessione tra due oggetti, un oggetto e un punto o tra due punti. La connessione va da un centro all'altro centro degli oggetti, la sua forma è configurabile, e può essere circolare, poligonale o ellittica.
* {{MacroLink/it|Part_Section|Macro Section|Macro Sezione}}: (parametrica): implementazione alternativa dello strumento Sezione di Parte, più adatto a fare percorsi di sweep.
* {{MacroLink/it|Macro_Overlap|Macro Overlap|Macro Sovrapposizione}}: (parametrica): Operazione booleana. Simile a Part Common, ma con grado di sovrapposizione personalizzato.
* {{MacroLink/it|Macro FCWire To Volume|Macro FCWire To Volume|Macro Da Wire a Volume}}: Questa macro crea operazioni booleane con gli oggetti selezionati. Basta selezionare i contorni, assegnare lo spessore e cliccare su "Create"
* {{MacroLink/it|Macro_Compound_Plus|Macro Compound Plus|Macro Composto Plus}} : Utility che riunisce numerosi comandi di Draft per lavorare con gli oggetti 2D. Ad esempio, lavorare con gli oggetti dei file DXF.
* {{MacroLink/it|Macro Dxf To Shape|Macro Dxf To Shape|Macro Forma da DXF}} : Utilità per unire diverse polilinee in una sola, si possono usare MakeWire, Bspline, BsplineCurve, BsplineCurve + Arc, Polygon e curve di Bezier


* {{MacroLink|Icon=Macro_Align_View_to_Face.png|Macro_Align_View_to_Face/it|Allinea la vista alla faccia}}: Questa macro allinea la vista corrente a una faccia selezionata.
=== Operazioni di visualizzazione 3D ===


* {{MacroLink|Icon=Macro_Copy3DViewToClipboard.png|Macro_Copy3DViewToClipboard/it|Copia la vista 3D negli appunti}}: Copia negli appunti il ​​contenuto di 3DView ridimensionato a 640, 480 px.
* {{MacroLink/it|Text-x-python|Macro Rotate View|Macro Ruota la vista}}: Questa macro ruota la visualizzazione corrente di 90° verso sinistra. Funziona solo se si è in vista dall'alto.
* {{MacroLink/it|Text-x-python|Macro View Rotation|Macro Rotazione della vista}}: Fornisce una interfaccia grafica per consentire la rotazione della vista di quantità precise in tutte e tre le direzioni.
* {{MacroLink/it|Text-x-python|Macro Texture Objects|Macro Texture su oggetti}}: Permette di sovrapporre temporaneamente una immagine di texture sugli oggetti selezionati.
* {{MacroLink/it|Text-x-python|Macro Mouse Cross|Macro Mouse di precisione}}: Converte il puntatore del mouse in un puntatore di precisione a forma di croce.
* {{MacroLink/it|Text-x-python|Macro Align View to Face|Macro Allinea la vista alla faccia}}: Questa macro allinea la vista corrente a una faccia selezionata
* {{MacroLink/it|Text-x-python|Macro Align Object to View|Macro Allinea l'oggetto alla vista}}: Questa macro allinea l'oggetto selezionato alla Vista corrente e imposta le coordinate di posizionamento della telecamera.
* {{MacroLink/it|Text-x-python|Macro Align Face Object to View|Macro Alllinea la faccia dell'oggetto alla vista}}: Questa macro allinea la faccia dell'oggetto selezionato alla Vista corrente (nel caso di un foro viene rivolta verso la Vista la faccia del foro).
* {{MacroLink/it|Text-x-python|Macro Duplicate Selection|Macro Duplica selezione}}: Questa macro testa se una selezione è duplicabile. Selezionare gli oggetti nella vista 3D, se una selezione è duplicabile il mouse rimane bloccato su "ForbiddenCursor" fino a duplicazione avvenuta.


* {{MacroLink|Icon=FCCamera_00.png|Macro_FCCamera/it|Macro FCCamera}}: Questa macro può ruotare lo schermo di un angolo definito e rispetto ad un asse definito in modo da creare un piano su cui affacciare lo schermo e creare una forma nel piano specificato posizionando la faccia selezionata di fronte allo schermo, e rilevare la posizione della telecamera.
=== Assistenti ===


* {{MacroLink/it|Text-x-python|Macro Sheet Metal Unfolder|Macro Sheet Metal Unfolder}}: Crea una parte dispiegata da un parte in lamiera.
* {{MacroLink|Icon=Macro_Mouse_Cross.png|Macro_Mouse_Cross|Macro Mouse Cross}}: This small macro turns the arrow of the mouse in a precision cross.
* {{MacroLink/it|Text-x-python|Macro Unroll Ruled Surface|Macro Unroll Ruled Surface}}: permette di ''srotolare'' le superfici rigate e di disegnare lo sviluppo in una pagina.
* {{MacroLink/it|Text-x-python|Macro Unfold Box|Macro Unfold Box}}: permette di creare e disegnare lo sviluppo di un solido con facce piane.
* {{MacroLink/it|Text-x-python|Macro Geneva Wheel GUI|Macro Geneva Wheel GUI}}: Una interfaccia grafica che permette all'utente di impostare i valori per creare un meccanismo Croce di Malta da zero.
* {{MacroLink/it|Part_Prism_Apothem|Macro Apothem Based Prism GUI|Macro Apothem Based Prism GUI}}: Una GUI che permette di creare un prisma basato sull'apotema del suo poligono base, (inraggio).


* {{MacroLink|Icon=Macro_Rotate_View_view_90_Degrees.png|Macro_Rotate_View|Macro Rotate View}}: This macro rotates the current view by 90° to the left. Only works if you are in [[Image:View-top.svg|Std_ViewTop|16px|link=Std_ViewTop]] [[Std_ViewTop|XY (top)]] view.
=== Utility ===
* {{MacroLink|Text-x-python|Macro MessageBox|Macro MessageBox}}: shows how to give information to the user through the GUI.
* {{MacroLink|FCInfo|Macro FCInfo|Macro FCInfo}}: Gives a series of information about the selected shape and can display a conversion of length, inclination (degrees, radian, grade) shape, surface, volume and the weight of the form in the density selected in various international and Anglo-Saxon units
* {{MacroLink|FCInfo|Macro FCInfo Alternate Linux|Macro FCInfo Alternate Linux}}: same as above, but for Linux
* {{MacroLink|Macro_FCInfoGlass|Macro FCInfoGlass|Macro FCInfoGlass}}: Gives a series of information about the selected shape and displayed in screen 3D
* {{MacroLink|FCInfoToMouse|Macro FCInfoToMouse|Macro FCInfoToMouse}}: Provide informations coordinates, length and angles in real time on the mouse in a bubble annotation displayed in the 3D screen
* {{MacroLink|Text-x-python|Macro 3d Printer Slicer|Macro 3d Printer Slicer}}: Exports current design to slicer software or CAM software.
* {{MacroLink|Text-x-python|Macro Delta xyz|Macro Delta xyz}}: Gives the Delta values and the distance between 2 points
* {{MacroLink|CenterFace|Macro CenterFace|Macro CenterFace}}: This macro red trace (editable) the center face (mass) with 1 point and print the coordinates
* {{MacroLink|Macro_Center_Align_Objects_with_Faces_or_Edges|Macro Center Align Objects with Faces or Edges|Macro Center Align Objects with Faces or Edges}}: This macro covers the following constraints: - Concentric constraint among non cylindrical parts; - Constraint on center Faces and/or Edges.
* {{MacroLink|Macro_Easy_Cutouts_for_Enclosures|Macro Easy cutouts for Enclosure Design|Macro Easy cutouts for Enclosure Design}}: This macro makes Cutouts for Enclosures in a very handy way
* {{MacroLink|Text-x-python|Macro ObjectInfo|Macro ObjectInfo}}: User-friendly "Info" module created by a FreeCAD user
* {{MacroLink|Text-x-python|Macro MacroMenu|Macro MacroMenu}}: Add the macros found in the macros folder to the Macros menu of FreeCAD
* {{MacroLink|Force_Recompute|Macro ForceRecompute|Macro ForceRecompute}}: Forces manual recompute of model
* {{MacroLink|Text-x-python|Macro Shake Sketch|Macro Shake Sketch}}: Shake a sketch in order to discover its unconstrained parts.
* {{MacroLink|Replace_Part|Macro Replace Part in Assembly|Macro Replace Part in Assembly}}: Replaces a part (simple copy) in an "Assembly" with another Part (simple copy).
* {{MacroLink|WF_wf|Macro WorkFeatures|Macro WorkFeatures}}: Tool utility to create plans of the axes, planes from 3 points, axes on a form, information on the coordinates of the shape and many other useful features to facilitate the creation of your project. This utility is up next in the combo view.
* {{MacroLink|Macro_Dump_Objects|Macro Dump Objects|Macro Dump Objects}}: This macro generates a listing of all objects in the current document - the list can be in a window or on the Report view.
* {{MacroLink|Text-x-python|Macro Manage Navigational Style|Macro Manage Navigational Style}}: This pair of macros allow you to alter the Navigation Style while in the Sketcher.
* {{MacroLink|Macro_Toggle_Drawstyle|Macro Toggle Drawstyle|Macro Toggle Drawstyle}}: This macro toggles the Drawstyle of the selected object
* {{MacroLink|Macro_Toggle_Views_Visibility|Macro Toggle Panels Visibility|Macro Toggle Panels Visibility}}: This macro toggles the visibility of various supporting panels in FreeCAD, allowing the main window to be viewed with all available screen space.
* {{MacroLink|Macro_Python_Assistant_Window|Macro Python Assistant Window|Macro Python Assistant Window}}: This macro provides a cut/copy/paste workspace for Python code, it is segmented so different sections can be selected and it is persistent between FreeCAD sessions.
* {{MacroLink|Macro_Build_Utility|Macro Build Utility|Macro Build Utility}}: This macro provides a utility to assemble a project from sub-project files using the Merge Project facility.
* {{MacroLink|FCCamera_00|Macro FCCamera|Macro FCCamera}}: This macro can rotate the screen in a defined angle and the defined axis and creates a plan to face the screen to create a form in the specified plan positions the selected face facing the screen, to detect the position of the camera ...
* {{MacroLink|Macro_Global_Variable_Watcher|Macro Global Variable Watcher|Macro Global Variable Watcher}}: This macro facilitates the user selecting global variables and monitoring their values.
* {{MacroLink|Text-x-python|Macro HighlightCommon|Macro HighlightCommon}}: Highlight common parts.
* {{MacroLink|HighlightDifference|Macro HighlightDifference|Macro HighlightDifference}}: Compute the difference between two shapes.
* {{MacroLink|PropertyMemo|Macro PropertyMemo|Macro PropertyMemo}}: This little macro create one Property additional (memo or other text) for you object (only Draft)
* {{MacroLink|Macro SelectVisible|Macro SelectVisible|Macro Toggle Visibility}}: Set of three macro, macro '''1:''' hidden the objects not selected, macro '''2:''' displayed alls objects, macro '''3:''' hidden alls objects.
* {{MacroLink|SelectVisible|Macro SelectVisible|Macro SelectVisible}}: All visible objects in the tree will be selected.
* {{MacroLink|Text-x-python|Macro cross section|Macro cross section}}: displays an interactively slidable cross-section.
* {{MacroLink|Macro_MeasureCircle|Macro MeasureCircle|Macro MeasureCircle}}: Compute the radius of a circle by 3 points or a circular edge.
* {{MacroLink|Macro_Copy3DViewToClipboard|Macro Copy3DViewToClipboard|Macro Copy3DViewToClipboard}}: Copy contents of 3DView resized 640, 480 px to clipboard .


* {{MacroLink|Icon=Text_console_python.png|Macro_Rotate_View_Free|Macro Rotate View Free}}: This macro is used in the Python console and rotates the current view in the angle and plane given.
===Funzioni matematiche===


* {{MacroLink|Icon=Macro_Rotate_View_with_Y_pointing_upwards_.png|Macro_Rotate_ViewAxonometric|Macro Rotate ViewAxonometric}}: This macro rotates the current view in View Axonometric.
* {{MacroLink/it|Text-x-python|Macro 3D Parametric Curve|Macro 3D Parametric Curve}}: Draw a function described by parametric equations x(t), y(t) and z(t).
* {{MacroLink/it|Text-x-python|Macro Draw 2D Function|Macro Draw 2D Function}}: Disegna una funzione definita da un'equazione z=F(x)
* {{MacroLink/it|Text-x-python|Macro Draw Parametric 2D Function|Macro Draw Parametric 2D Function}}: Basata sulla macro precedente, ma per le equazioni parametriche e eventualmente polari.


* {{MacroLink|Icon=Macro_Screen_Wiki.png|Macro_Screen_Wiki|Macro Screen Wiki}}: This macro allows to save the 3D view in the desired format. The 3D view or the full 3D window of FreeCAD takes the desired dimensions.
=== Animazioni===


* {{MacroLink/it|Text-x-python|Macro crank simul|Macro crank simul}}: Simula la rotazione di una biella e un pistone
* {{MacroLink|Icon=Snip.png|Macro_Snip|Macro Snip}}: Easily post screenshots to the FreeCAD forum.
* {{MacroLink/it|Text-x-python|Macro Spring|Macro Spring}}: Simula il movimento di una molla
* {{MacroLink/it|Text-x-python|Macro hinge|Macro hinge}}: Simula l'apertura e la chiusura di una cerniera
* {{MacroLink/it|Text-x-python|Macro Assembly|Macro Assembly}}: Animazione di assemblaggio
* {{MacroLink/it|Text-x-python|Macro Animated Constrain|Macro Animated Constrain}}: Animazione dei vincoli di angolo in Sketcher
* {{MacroLink/it|Text-x-python|Macro Assemblage Imprimante 3D|Macro Assemblage Imprimante 3D}}: Simula il movimento di una stampante 3D


* {{MacroLink|Icon=Macro_View_Rotation.png|Macro_View_Rotation|Macro View Rotation}}: Provides a GUI to permit rotation of view by precise amounts in all three directions.
=== Raytracing ===


* {{MacroLink|Icon=Zoom1_1.svg|Macro_Zoom1_1|Macro Zoom 1:1}}: 1:1 Zoom so objects appear their actual size on the screen.
* {{MacroLink/it|Text-x-python|Macro FreeCAD to Kerkythea|Macro FreeCAD to Kerkythea}}: Esporta da FreeCAD a Kerkythea


</div>
=== FEM ===
</div>
<div class="toccolours mw-collapsible mw-collapsed">


<span id="32px_Animation"></span>
* {{MacroLink/it|Text-x-python|Macro GMSH|Macro GMSH}}: Crea Mesh FEM con il generatore di Mesh GMSH
===[[File:Draft_FlipDimension.svg|32px]] Animazioni===


<div class="mw-collapsible-content">
=== Ambiente Drawing ===


* {{MacroLink|Icon=Macro_Animated_Constrain.png|Macro_Animated_Constrain|Macro Animated Constrain}}: Animate angle constrain in sketcher.
* {{MacroLink/it|Text-x-python|Macro Automatic drawing|Macro Automatic drawing}}: Consente all'utente di ottenere la visualizzazione di un oggetto in un disegno in 4 diverse posizioni (frontale, superiore, da destra e iso). Necessita di qualche modifica per essere perfettamente efficace.
* {{MacroLink/it|Text-x-python|Macro Corner shapes wizard|Macro Corner shapes wizard}}: Apre una finestra di dialogo per le dimensioni angolari del pezzo, quindi crea l'oggetto nel documento e crea una pagina (foglio) di disegno con la vista superiore, frontale e laterale del pezzo.
* {{MacroLink/it|Text-x-python|Macro CartoucheFC|Macro CartoucheFC}}: Questa macro con GUI serve per compilare i modo semplice tutti i campi della tabella del foglio da disegno di FreeCAD, il formato della data e il simbolo del modo di proiezione si adattano sia al sistema UE che US.
* {{MacroLink/it|Macro_CartoucheFC_Full|Macro CartoucheFC Full|Macro CartoucheFC Full}}: (Full field edition for this [[Misc_templates/it|Modelli misti]]) Per compilare tramite GUI tutti i campi del cartiglio del '''modello 1''' di FreeCAD, il formato della data e il simbolo della modalità di proiezione si adattano alla regione selezionata, EU o US.
* {{MacroLink/it|Text-x-python|Macro CartoucheFC 2|Macro CartoucheFC 2}}: (Full field edition for this [[Misc_templates/it|Modelli misti]]) Per compilare tramite GUI tutti i campi del cartiglio del '''modello 2''' di FreeCAD.
* {{MacroLink/it|Text-x-python|Macro Normal Vector|Macro Normal Vector}}: Fornisce il vettore normale a una faccia prescelta per consentire di creare una vista di disegno perpendicolare a tale faccia.
=== Ambiente Spreadsheet ===
* {{MacroLink/it|aliasmanager_icon|Macro Alias Manager|Macro Alias Manager}}: aiuta a gestire gli alias all'interno dell'ambiente Foglio di calcolo di FreeCAD . È in grado di creare, cancellare, spostare gli alias e creare una 'famiglia di parti'.


* {{MacroLink|Icon=Animator.svg|Macro_Animator|Macro Animator}}: Animate your model by animating its properties with this feature Python object.

* {{MacroLink|Icon=Macro_Assemblage_Imprimante_3D.png|Macro_Assemblage_Imprimante_3D|Macro Assemblage Imprimante 3D}}: Simulation of movements of a 3D printer.

* {{MacroLink|Icon=Macro_Assembly.png|Macro_Assembly|Macro Assembly}}: Assembly animate.

* {{MacroLink|Icon=Macro_Constraint_Draft.png|Macro_Constraint_Draft|Macro Constraint Draft}}: Simple example animation Draft wires by use the Expressions for associate many wires and simulate or verify the movement. Here the circle rotation create the movement for all objects connected (This macro run with FreeCAD version 0.16).

* {{MacroLink|Icon=Macro_crank_simul.png|Macro_crank_simul|Macro crank simul}}: Rotation rod and piston.

* {{MacroLink|Icon=Macro_hinge.png|Macro_hinge|Macro hinge}}: Open and close hinge.

* {{MacroLink|Icon=Macro_Spring.png|Macro_Spring|Macro Spring}}: Simulation of one spring.

</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">
<div class="toccolours mw-collapsible mw-collapsed">

===[[File:Std_FreeCADWebsite.png|32px]] Altre macro interessanti create dagli utenti di FreeCAD e mantenute al di fuori del wiki.===
<span id="32px_Code_and_scripting"></span>
<div class="mw-translate-fuzzy">
===[[File:Applications-python.svg]] Codice e Script===
</div>

<div class="mw-collapsible-content">
<div class="mw-collapsible-content">

* [[Image:2364.png|24px]] [https://github.com/microelly2?tab=repositories By microelly2] : freeCAD_macro, geodata, Animation, freecad-nurbs, PieMenu, ..... other
* {{MacroLink|Icon=Macro_Build_Utility.png|Macro_Build_Utility|Macro Build Utility}}: This macro provides a utility to assemble a project from sub-project files using the Merge Project facility.
* [[Image:Text-x-python.png|24px]] [https://github.com/hamish2014?tab=repositories By hamish2014]: FreeCAD_assembly2, FreeCAD_drawing_dimensioning, ...

* [[Image:Text-x-python.png|24px]] [https://github.com/triplus?tab=repositories By triplus]: IconThemes, ShortCuts, NavigationIndicator, TabBar, Launcher, PersistentToolbars, PieMenu, ....
* {{MacroLink|Icon=Macro_clone_explicit.png|Macro_clone_explicit|Macro clone explicit}}: Creates a copy of each selected object and sets its properties to an expression linking to the original object, making it an explicit and editable clone.
* [[File:681.jpg |24px]] [https://github.com/wood-galaxy By rockn]: FreeCAD-Timber, FreeCAD-addons, FreeCAD-library, FreeCAD-StructuresBois, .... other

* [[Image:Text-x-python.png|24px]] [https://github.com/oddtopus?tab=repositories By oddtopus]: flamingo (workbench for metal structures)
* {{MacroLink|Icon=Editor_Assistant_Icon.svg|Macro_Editor_Assistant|Macro Editor Assistant}}: Extends the capabilities of FreeCAD's integrated Python editor.

* {{MacroLink|Icon=Macro_Global_Variable_Watcher.png|Macro_Global_Variable_Watcher|Macro Global Variable Watcher}}: This macro facilitates the user selecting global variables and monitoring their values.

* {{MacroLink|Icon=Macro_MessageBox.png|Macro_MessageBox|Macro MessageBox}}: Shows how to give information to the user through the GUI.

* {{MacroLink|Icon=Macro_Print_SceneGraph.png|Macro_Print_SceneGraph|Macro Print SceneGraph}}: Prints the SceneGraph.

* {{MacroLink|Icon=Macro_Python_Assistant_Window.png|Macro_Python_Assistant_Window|Macro Python Assistant Window}}: This macro provides a cut/copy/paste workspace for Python code, it is segmented so different sections can be selected and it is persistent between FreeCAD sessions.

<!--THIS MACRO "Macro ZTest Over 128" SHOULD NOT BE TRANSLATED-->
* {{MacroLink|Icon=Macro_ZTest_Over_128.png|Macro_ZTest_Over_128|Macro ZTest Over 128}}: This macro is only used by programmers Test characters ASCII over 127.

* {{MacroLink|Icon=MEPlan.png|Qt_Example|Qt Example}}: Example of using Qt commands, their connections, extraction and data assignment.

* [[Image:Text-x-python.png|24px]] [https://github.com/dprojects/scanObjects scanObjects]: Inspection tool for FreeCAD macro development and project debug.

* {{MacroLink|Icon=TNP_solution.png|Macro_TNP_Solution|Macro TNP Solution}}: A basic example of how the Topological Naming Problem can be solved. The macro is intended for programmers only.

</div>
</div>
</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">


<span id="32px_Conversion"></span>
== Come utilizzare le macro ==
<div class="mw-translate-fuzzy">
[[File:Macro Recipes MacroHowToInstall.png|200px|left|Macro how to install]]
===[[File:Arch_MeshToShape.svg]] Conversione===
'''Le macro di cui sopra possono essere facilmente inserite in qualsiasi installazione di FreeCAD:'''
</div>
* Copiare il codice python della macro dalla pagina della macro corrispondente
* In FreeCAD selezionare '''Macro-> Macro-> Crea nuova''' e assegnare un nome
* Incollare il codice python copiato
* Premere il pulsante Salva e riavviare FreeCAD
* Aprire il gestore delle Macro, selezionare la nuova macro e fare clic su "Esegui"
* Tutorial [[How to install macros/it|Come installare le Macro]]


<div class="mw-collapsible-content">
'''Inoltre, è anche possibile aggiungere la nuova macro a una barra degli strumenti personalizzata'''
* In FreeCAD, andare in '''Strumenti -> Personalizza'''
* Nella scheda Macro, aggiungere una nuova macro, e, volendo, definire un'icona e una scorciatoia da tastiera
* Nella scheda '''Barre degli strumenti''', creare una nuova barra degli strumenti, e aggiungere le macro selezionandole nella categoria "Macro".
* Tutorial [[Customize_Toolbars/it|Personalizzare la barra degli strumenti]]
{{clear}}


* {{MacroLink|Icon=Applications-python.svg|Macro_3DXML_import|Macro 3DXML import}}: Imports a 3DXML-ascii file into FreeCAD, limited functionality.
== Aggiungere nuove macro a questo repository ==


* {{MacroLink|Icon=Macro_Compound_Plus.png|Macro_Compound_Plus|Macro Compound Plus}}: Draft command set in a small macro for the 2D sketch example: work with the DXF files.
* Creare una nuova pagina il cui nome inizi con "Macro", per esempio "Macro_My_Excellent_Macro". Questo si può fare modificando semplicemente la presente pagina, e aggiungendo un nuovo collegamento alla macro, ad esempio:<br />
**esempio :
{{Code|code=
<nowiki>* {{MacroLink|Text-x-python|Macro My Excellent Macro|Macro My Excellent Macro title}} : My excellent macro description</nowiki>.}}
* '''Text-x-python''' :icona per difetto (sostituire con il nome della vostra icona l'icona deve avere lo stesso nome della macro. L'icona deve sempre essere '''.png''')
* '''Macro My Excellent Macro''' : nome della macro
* '''Macro My Excellent Macro title''' : nome della macro o titolo


* {{MacroLink|Icon=Macro_Creating_faces_from_a_DXF_file.png|Macro_Creating_faces_from_a_DXF_file|Macro Creating faces from a DXF file}}: This macro create face from a DXF file, the "Layer" are recognized separate and trained in groups.
Una nuove pagine è creata (legame rosso) .
* dentro la pagine colate questo testo:


* {{MacroLink|Icon=Macro_DeepCopy.png|Macro_DeepCopy|Macro DeepCopy}}: Make a compound out of a part with a copy of all its shapes.
Esempio con icona di default:
<nowiki>{{Macro|Icon=Text-x-python|Name=Macro_My_Excellent_Macro|Description=What my excellent macro does|Author=your username|Version=1.0}}</nowiki>
Esempio con icona personalizzata:
<nowiki>{{Macro|Icon=Macro_My_Excellent_Macro|Name=Macro_My_Excellent_Macro|Description=What my excellent macro does|Author=your username|Version=1.0}}</nowiki>
In altra lingua, con icona di default, ad esempio "/fr" "/de" "/it":
<nowiki>{{Macro/fr|Icon=Text-x-python|Name=Macro_My_Excellent_Macro|Name/fr=Macro_My_Excellent_Macro|Description=
What my excellent macro does|Author=your username|Version=1.0}}</nowiki>
In altra lingua, con icona personalizzata, ad esempio "/fr" "/de" "/it":
<nowiki>{{Macro/fr|Icon=Macro_My_Excellent_Macro|Name=Macro_My_Excellent_Macro|Name/fr=Macro_My_Excellent_Macro|Description=
What my excellent macro does|Author=your username|Version=1.0}}</nowiki>
*Si può anche [http://www.freecadweb.org/wiki/index.php?title=Special:Upload caricare] una icona personalizzata in formato '''.png'''<br />'''Ricordare che l'icona deve avere lo stesso nome della macro'''.
**esempio : " Macro_My_Excellent_Macro " '''senza estensione''' (l'estensione viene fornita dal sistema), e, sostituire " Icon='''Text-x-python''' " con " Icon='''Macro_My_Excellent_Macro''' "
**'''Text-x-python''' [[Image:Text-x-python.png|32px]] è l'icona di default della pagina dedicata alle Macro.


* {{MacroLink|Icon=Macro_DXF_to_Face_and_Sketch.png|Macro_DXF_to_Face_and_Sketch|Macro DXF to Face and Sketch}}: This macro converts selected elements of imported DXF file to face and sketch.
* Incollare la macro, e utilizzare [[Template:Code|Code template]] per evitare di aggiungere spazi nello script. La macro viene visualizzata in un font a spaziatura fissa all'interno di un riquadro di colore grigio chiaro come nell'esempio precedente.
* Si può caricare un'icona .png con lo stesso nome della macro, per esempio Macro_My_Excellent_Macro.png
* Aggiungere un'immagine: l'immagine è utile per mostrare cosa fa la macro. Opzionalmente è possibile creare una gif animata che rappresenta l'oggetto nel contesto. Creare le Gif Animate con dimensione massima di 500x500px, il sito non accetta il loro ridimensionamento. Le gif animate ridimensionate sono visualizzate come immagini fisse.
* Opzionalmente è possibile aggiungere ancora delle informazioni su come utilizzare la macro, consigli, limitazioni e trucchi.
* Aggiungerla a una delle categorie di cui sopra, oppure creare una nuova categoria, se è necessario.
* È anche interessante includere nella macro le informazioni sulla versione di FreeCAD utilizzata per costruirla. La macro può così essere confrontata con l'evoluzione di FreeCAD. Fare "Menu → Aiuto → About FreeCAD" e poi cliccare su "Copia negli appunti" e incollare le informazioni nella macro


* {{MacroLink|Icon=Macro_Dxf_To_Shape.png|Macro_Dxf_To_Shape|Macro Dxf To Shape}}: Macro utility for create unique wire with many wires, the type wire created is selected to MakeWire, Bspline, BsplineCurve, BsplineCurve + Arc, Polygon, Bezier curve.
Es:


* {{MacroLink|Icon=Macro_Extract_Wires_from_Mesh.png|Macro_Extract_Wires_from_Mesh|Macro Extract Wires from Mesh}}: Extracts boundary wires from selected meshes.
{{Code|code=
#OS: Windows Vista
#Platform: 32-bit
#Version: 0.14.3389
#Python version: 2.6.2
#Qt version: 4.5.2
#Coin version: 3.1.0
#SoQt version: 1.4.1
#OCC version: 6.5.1
}}
Si consiglia inoltre di creare una intestazione nella macro, questa intestazione può essere utilizzata dal programma [http://forum.freecadweb.org/viewtopic.php?t=10556 Plugin Loader] per installare le macro e controllare le versioni. È anche disponibile la [https://github.com/FreeCAD/FreeCAD-addons addons_installer.FCMacro]


* {{MacroLink|Icon=Macro_FaceToSketch.png|Macro_FaceToSketch|Macro FaceToSketch}}: Converts the selected Face to a single Sketch without constraints.
Es:
{{Code|code=


* {{MacroLink|Icon=FCBmpImportLogo.svg|Macro_FCBmpImport|Macro FCBmpImport}}: Import Black and White BMP images into FreeCAD as sketch, wire, or solid or Grayscale BMP for lithophanes.
__Title__="Title_Of_macro"
__Author__ = "User_Name"
__Version__ = "00.11"
__Date__ = "25/07/2015"


* {{MacroLink|Icon=Macro_FCWire_To_Volume.png|Macro_FCWire_To_Volume|Macro FCWire To Volume}}: This macro create boolean operation with the objects selected just select the wires give the thickness and click "Create".
__Comment__ = "This is the comment of the macro"
__Web__ = "http://forum.freecadweb.org/viewtopic.php?f=3&t=7384"
__Wiki__ = "http://www.freecadweb.org/wiki/index.php?title=Macro_Title_Of_macro"
__Icon__ = "/usr/lib/freecad/Mod/plugins/icons/Title_Of_macro"
__IconW__ = "C:/Documents and Settings/YourUserName/Application Data/FreeCAD"
__Help__ = "start the macro and follow the instructions"
__Status__ = "stable"
__Requires__ = "freecad 0.14.3706"
__Communication__ = "http://www.freecadweb.org/wiki/index.php?title=User:User_Name"
}}


* {{MacroLink|Icon=Applications-python.svg|Macro_Iges_PyImporter|Macro Iges PyImporter}}: Imports an iges file with entity 128, for example an iges-file from FreeShip, into FreeCAD.
Aggiungerla alle categorie di cui sopra, o creare una nuova categoria, se è necessario.


* {{MacroLink|Icon=Macro_MeshToPart.png|Macro_MeshToPart|Macro MeshToPart}}: Converts selected meshes to parts.
===Tutorials===
* [[How to install macros/it|Come installare le Macro]]
* [[Customize_Toolbars/it|Personalizzare la barra degli strumenti]]
* [[How_to_install_additional_workbenches/it|Come installare ambienti di lavoro aggiuntivi]]


* {{MacroLink|Icon=MultiCopy-reduced.png|Macro_MultiCopy|Macro MultiCopy}}: MultiCopy allows the duplication (copy and paste) of multiple FreeCAD objects that can be labelled sequentially and in a custom manner.


* {{MacroLink|Icon=PartToVRML.png|Macro_PartToVRML|Macro PartToVRML}}: Converts selected parts to VRML meshes for small size and faster loading (VRML models Kicad and Blender compatible).
[[Category:Repository/it]]
[[Category:Macros/it]]
[[Category:Python Code/it]]


</div>
<languages/>
</div>
<div class="toccolours mw-collapsible mw-collapsed">

<span id="32px_Draft_Workbench_and_2D"></span>
<div class="mw-translate-fuzzy">
===[[File:Draft_BSpline.svg]] Dxf 2D Draft===
</div>

<div class="mw-collapsible-content">

* {{MacroLink|Icon=Macro_Align_Camera_to_Working_Plane.png|Macro_Align_Camera_to_Working_Plane|Macro Align Camera to Working Plane}}: This macro aligns the camera to the current [[Draft_SelectPlane|Draft Working Plane]].

* {{MacroLink|Icon=Macro_Align_Working_Plane_to_Camera.png|Macro_Align_Working_Plane_to_Camera|Macro Align Working Plane to Camera}}: This macro moves the current [[Draft_SelectPlane|Draft Working Plane]] to the center of the current view.

* {{MacroLink|Icon=Macro_Draft_Circle_3_Points.png|Macro_Draft_Circle_3_Points|Macro Draft Circle 3 Points}}: Creates a circle from 3 selected points 2D orthogonal.

* {{MacroLink|Icon=Macro_Draft_Circle_3_Points.png|Macro_Draft_Circle_3_Points_3D|Macro Draft Circle 3 Points 3D}}: Creates a circle from 3 selected points in the space 3D.

* {{MacroLink|Icon=Applications-python.svg|Macro_Draft_Circle_Tangent|Macro Draft Circle Tangent}}: Makes tangents to Draft circles.

* {{MacroLink|Icon=Macro_EdgesToArc.png|Macro_EdgesToArc|Macro EdgesToArc}}: Converts the selected Edges to a circular Arc if possible. Useful for restoring discretized arcs.

* {{MacroLink|Icon=Macro_Ellipse-Center%2B2Points.png|Macro_Ellipse-Center+2Points|Macro Ellipse-Center+2Points}}: Makes an ellipse by selecting three points (in this order): center, major radius and minor radius.

* {{MacroLink|Icon=Macro_FCConvertLines.png|Macro_FCConvertLines|Macro FC Convert Lines}}: This macro convert the object line, wire in line Dash, DashDot, DashDotDot, ZigZag and Hand with the dimensions given.

* {{MacroLink|Icon=Macro_Make_Arc_3_Points.png|Macro_Make_Arc_3_Points|Macro Make Arc 3 Points}}: Creates a arc from 3 selected points.

* {{MacroLink|Icon=Macro_Draft_Circle_3_Points.png|Macro_Make_Circle_3_Points|Macro Make Circle 3 Points}}: Creates a circle from 3 selected points, the points can be objects.

* {{MacroLink|Icon=Macro_Rectellipse.png|Macro_Rectellipse|Macro Rectellipse}}: Creates a parametric rectellipse.

</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">

<span id="32px_Fem_Workbench"></span>
<div class="mw-translate-fuzzy">
===[[File:Fem_ResultDisplacement.svg]] Fem===
</div>

<div class="mw-collapsible-content">

* {{MacroLink|Icon=Text-x-python.png|Macro_export_transient_FEM_results|Macro export transient FEM results}}: This macro exports multiple FEM result objects from a transient analysis to the VTK format and generates a PVU file which can be used to load the results directly into ParaView for post-processing.

* {{MacroLink|Icon=Macro_GMSH.png|Macro_GMSH|Macro GMSH}}: Create FEM Meshes by GMSH Mesh Generator.

</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">

===[[File:Std_Windows.svg|32px]] Gui===

<div class="mw-collapsible-content">

* {{MacroLink|Icon=GuiResetToolbars.svg|Macro_GuiResetToolbars|Macro GuiResetToolbars}}: This macro resets the position of the toolbars.

* {{MacroLink|Icon=Macro_MacroMenu.png|Macro_MacroMenu|Macro MacroMenu}}: Add the macros found in the macros folder to the Macros menu of FreeCAD.

* {{MacroLink|Macro_SplitPropEditor|Macro SplitPropEditor}}: Temporarily split the property editor from the combo view to a separated dock widget.

* {{MacroLink|Icon=Macro_Toggle_Views_Visibility.png|Macro_Toggle_Panels_Visibility|Macro Toggle Panels Visibility}}: This macro toggles the visibility of various supporting panels in FreeCAD, allowing the main window to be viewed with all available screen space.

* {{MacroLink|Icon=MacroToolbarManager_icon.svg|Macro_MacroToolbarManager|Macro MacroToolbarManager}}: Easily manage custom macro toolbars, allows to create, rename, and delete toolbars, add and remove the macros, edit shortcuts and icons, even includes a simple xpm icon maker tool.

</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">

<span id="32px_Info_and_measurements"></span>
<div class="mw-translate-fuzzy">
===[[File:Part_Measure_Clear_All.svg]] Informazioni e misure===
</div>

<div class="mw-collapsible-content">

* {{MacroLink|Icon=BoundBoxTracing.png|Macro_BoundingBox_Tracing|Macro BoundingBox Tracing}}: This macro red trace (editable) around the BoundingBox with 6 rectangles.

* {{MacroLink|Icon=CenterFace.png|Macro_CenterFace|Macro CenterFace}}: This macro red trace (editable) the center face (mass) with 1 point and print the coordinates.

* {{MacroLink|Icon=Macro_CenterOfMass.png|Macro_CenterOfMass|Macro CenterOfMass}}: Gives the total mass and the center of mass of multiple objects selected with the density chosen.

* {{MacroLink|Icon=Macro_cross_section.png|Macro_cross_section|Macro cross section}}: Displays an interactively slidable cross-section.

* {{MacroLink|Icon=Macro_Delta_xyz.png|Macro_Delta_xyz|Macro Delta xyz}}: Gives the Delta values and the distance between 2 points.

* {{MacroLink|Icon=Macro_Dump_Objects.png|Macro_Dump_Objects|Macro Dump Objects}}: This macro generates a listing of all objects in the current document - the list can be in a window or on the Report view.

* {{MacroLink|Icon=Macro_FC_element_selector.png|Macro_FC_element_selector|Macro FC element selector}}: This macro display all elements below cursor same "Macro Mouse over cb" with GUI (elements covered by other elements will also be displayed).

* {{MacroLink|Icon=FCInfo.png|Macro_FCInfo|Macro FCInfo}}: Gives a series of information about the selected shape and can display a conversion of length, inclination (degrees, radian, grade) shape, surface, volume and the weight of the form in the density selected in various international and Anglo-Saxon units.

* {{MacroLink|Icon=FCInfo.png|Macro_FCInfo_Alternate_Linux|Macro FCInfo Alternate Linux}}: Same as above, but for Linux (obsolete).

* {{MacroLink|Icon=FCInfoToolBar.png|Macro_FCInfo_ToolBar|Macro FCInfo ToolBar}}: Gives a series of information about the selected shape as FCInfo in a mini ToolBar.

* {{MacroLink|Icon=Macro_FCInfoGlass.png|Macro_FCInfoGlass|Macro FCInfoGlass}}: Gives a series of information about the selected shape and displayed in screen 3D.

* {{MacroLink|Icon=FCInfoToMouse.png|Macro_FCInfoToMouse|Macro FCInfoToMouse}}: Provides informations coordinates, length and angles in real time on the mouse in a bubble annotation displayed in the 3D screen.

* {{MacroLink|Icon=Macro_FCTreeView.png|Macro_FCTreeView|Macro FCTreeView}}: Macro for list all objects in the project in one list without hierarchy, options sort by name, label, visibility, group, by length option search by name, label... without case sensitive or with case sensitive and select all objects displayed in the macro window.

* {{MacroLink|Icon=Macro_HighlightCommon.png|Macro_HighlightCommon|Macro HighlightCommon}}: Highlight common parts.

* {{MacroLink|Icon=HighlightDifference.png|Macro_HighlightDifference|Macro HighlightDifference}}: Compute the difference between two shapes.

* {{MacroLink|Icon=Macro_MeasureCircle.png|Macro_MeasureCircle|Macro MeasureCircle}}: Compute the radius of a circle by 3 points or a circular edge.

* {{MacroLink|Icon=Macro_Mouse_over_cb.png|Macro_Mouse_over_cb|Macro Mouse over cb}}: This macro display all elements below cursor (elements covered by other elements will also be displayed).

* {{MacroLink|Icon=Macro_Normal_Vector.png|Macro_Normal_Vector|Macro Normal Vector}}: Get the normal vector of a preselected face.

* {{MacroLink|Icon=Macro_ObjectInfo.png|Macro_ObjectInfo|Macro ObjectInfo}}: User-friendly "Info" module created by a FreeCAD user.

* [[Image:Text-x-python.png|24px]] [https://github.com/dprojects/Woodworking/blob/master/Tools/showSpaceModel.py Macro showSpaceModel]: Allows to calculate occupied space in 3D by the full model.

* [[Image:Text-x-python.png|24px]] [https://github.com/dprojects/Woodworking/blob/master/Tools/showSpaceSelected.py Macro showSpaceSelected]: Allows to calculate occupied space in 3D by all selected elements.

* {{MacroLink|Icon=Macro_SimpleProperties.png|Macro_SimpleProperties|Macro SimpleProperties}}: Display in a concise way basic physical properties of an object (volume, bound box dimensions, ...).

</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">

<span id="32px_Libraries"></span>
<div class="mw-translate-fuzzy">
===[[File:Draft_VisGroup.svg]] Librerie===
</div>

<div class="mw-collapsible-content">

* {{MacroLink|Icon=Macro_BOLTS.png|Macro_BOLTS|Macro BOLTS}}: The aim of BOLTS is to build a free and open-source standard parts library for CAD applications.

* {{MacroLink|Icon=FreeCAD_Doc.png|Macro_PartsLibrary|Macro PartsLibrary}}: Starts the Parts library browser.

* {{MacroLink|Icon=Macro_screw_maker1_2.png|Macro_screw_maker1_2|Macro screw maker1_2}}: This macro creates a screw with or without thread, according to ISO standards ([http://forum.freecadweb.org/viewtopic.php?f=22&t=6088#p48519 screw_maker1_6.py.zip with Pyside support]). [http://forum.freecadweb.org/viewtopic.php?f=22&t=6558&start=30#p95929 (Screw Maker 2.0 - new version!)]

</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">

<span id="32px_Mathematical_functions"></span>
<div class="mw-translate-fuzzy">
===[[File:Bound-expression.svg]] Funzioni matematiche===
</div>

<div class="mw-collapsible-content">

* {{MacroLink|Icon=Macro_3D_Parametric_Curve.png|Macro_3D_Parametric_Curve|Macro 3D Parametric Curve}}: Draw a function described by parametric equations x(t), y(t) and z(t).

* {{MacroLink|Icon=Macro_Draw_2D_Function.png|Macro_Draw_2D_Function|Macro Draw 2D Function}}: Draws a function described by an equation z=F(x).

* {{MacroLink|Icon=Macro_Draw_Parametric_2D_Function.png|Macro_Draw_Parametric_2D_Function|Macro Draw Parametric 2D Function}}: Based on the above macro, but for parametric and optionally polar.

* {{MacroLink|Icon=Parametric_Curve_FP.svg|Macro_Parametric_Curve_FP|Macro Parametric Curve FP}}: Feature Python update of Macro 3D Parametric Curve.

</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">

<span id="32px_Object_creation"></span>
<div class="mw-translate-fuzzy">
===[[File:Workbench_Image.svg]] Creare oggetti===
</div>

<div class="mw-collapsible-content">

* {{MacroLink|Icon=AeroFoil.png|Macro_AeroFoil|Macro AeroFoil}}: AeroFoil creates airfoil curves and faces using pre-defined models, algebraic functions, and DAT or CSV Files.

* {{MacroLink|Icon=Macro_Airfoil_Import_&_Scale.png|Macro_Airfoil_Import_&_Scale|Macro Airfoil Import & Scale}}: Imports and scales a .dat airfoil to desired chord length.

* {{MacroLink|Icon=Part_Prism_Apothem.svg|Macro_Apothem_Based_Prism_GUI|Macro Apothem Based Prism GUI}}: A GUI dialog that creates an Apothem, (inradius) Based Prism from user input.

* {{MacroLink|Icon=Applications-python.svg|Macro_BSurf_from_grid|Macro BSurf from grid}}: Makes a B-spline surface through a grid of points.

* {{MacroLink|Icon=Macro_Circle.png|Macro_Circle|Macro Circle}}: Create a circle or arc giving radius, diameter, circumference, area, startangle, endangle, arc, anglecenter, cord, arrow, center (point) on choice (same above without GUI).

* {{MacroLink|Icon=Macro_CirclePlus.png|Macro_CirclePlus|Macro CirclePlus}}: Create a circle or arc giving radius, diameter, circumference, area, startangle, endangle, arc, anglecenter, cord, arrow, center (point) on choice (same below but with GUI) plus create sector and face.

* {{MacroLink|Icon=Macro_Cut_Circle.png|Macro_Cut_Circle|Macro Cut Circle}}: Cut a circle or arc and create x arcs, giving the number of cut.

* {{MacroLink|Icon=Macro_Cut_Line.png|Macro_Cut_Line|Macro Cut Line}}: Cut a line and create x points, giving the number of points, create line or not, create points or not, create bicolor or not on choice.

* {{MacroLink|Icon=Cam-groover-icon-32x32.png|Macro_FCCamGroover|Macro FCCamGroover}}: Creates grooved cylinder for cam.

* {{MacroLink|Icon=FCCircularTextButtom.png|Macro_FCCircularText|Macro FCCircularText}}: This macro create a text around a cylinder.

* {{MacroLink|Icon=FCHoneycombMakerIcon.png|Macro_FCHoneycombMaker|Macro FCHoneycombMaker}}: Creates parametric honeycomb grid.

* {{MacroLink|Icon=FCSpring_Helix_Variable.png|Macro_FCSpring_Helix_Variable|Macro FCSpring Helix Variable}}: This macro creates one spring truncate, the troncature is adjustable on the all coil to choice.

* {{MacroLink|Icon=FCSpring_On_Surface.png|Macro_FCSpring_On_Surface|Macro FCSpring On Surface}}: This macro creates one spring (helix) on the surface of the object (solide).

* {{MacroLink|Icon=Macro_Geodesic_Dome.svg|Macro_Geodesic_Dome|Macro Geodesic Dome}}: This macro creates a geodesic dome shell.

* {{MacroLink|Icon=Macro_Guitar_fretboard.png|Macro_Guitar_fretboard|Macro Guitar fretboard}}: Guitar Fretboard Maker.

* {{MacroLink|Icon=Macro_Guitar_Nut.png|Macro_Guitar_Nut|Macro Guitar Nut}}: Guitar Nut Maker.

* {{MacroLink|Icon=Macro_Half_turn_stairs.png|Macro_Half_turn_stairs|Macro Half turn stairs}}: Creates a half turn (left/right) stair from a Data-file.

* {{MacroLink|Icon=Macro_Half_Hull_Model.png|Macro_Half-Hull_Model|Macro Half-Hull Model}}: This macro generates both three dimensional [http://en.wikipedia.org/wiki/Half_hull_model_ship half-hull] and full-hull models from a series of 2D line drawings.

* {{MacroLink|Icon=Hilbert_curve_icon.png|Macro_HilbertCurve|Macro HilbertCurve}}: Creates an Hilbert curve wire in 2 or 3 dimensions with many iterations.

* {{MacroLink|Icon=Macro_Honeycomb.svg|Macro_Honeycomb|Macro Honeycomb}}: Creates a feature Python Honeycomb object compatible in and out of PartDesign.

* {{MacroLink|Icon=ImportAirfoil.svg|Macro_ImportAirfoil|Macro ImportAirfoil}}: Airfoil coordinates import, then scale the airfoil, rotate, translate in the plane, translate along the span, select the plane and the main axis, and turn the geometry into a sketch.

* {{MacroLink|Icon=Intersection_Icon.svg|Macro_Intersection|Macro Intersection}}: Finds the intersection between 2 or 3 selected edges/faces, works with Datum Planes and Datum Lines also. Creates a parametric feature Python object containing the shape of the intersection.

* {{MacroLink|Icon=Macro_Line_Length.png|Macro_Line_Length|Macro Line Length}}: Create a line giving coordinate XYZ length and angle to plane X Y.

* {{MacroLink|Icon=FCCreaLoft.png|Macro_Loft|Macro Loft}}: Create a loft with a list of wire (specially created for [[Macro_Texture|Macro Texture]]).

* {{MacroLink|Icon=Macro_makeCube.png|Macro_Make_Cube|Macro Make Cube}}: Creates a [http://en.wikipedia.org/wiki/Cuboid rectangular cuboid] from 4 points.

* {{MacroLink|Icon=Applications-python.svg|Macro_Place_Image|Macro Place Image}}: Creates an [[Image_CreateImagePlane|ImagePlane]] and aligns it to an existing [[Draft_Rectangle|Draft Rectangle]].

* {{MacroLink|Icon=Dodecahedron.svg|Macro_Polyhedrons|Macro Polyhedrons}}: This macro creates parametric polyhedrons (dodecahedron, icosahedron, tetrahedron, ...). Customizable via radius or side.

* {{MacroLink|Icon=Pyramidicon.svg|Macro_Pyramid|Macro Pyramid}}: This macro creates a parametric pyramid. All parameters are customizable just like with Part Cone.

* {{MacroLink|Icon=Macro_ReproWire.png|Macro_Repro_Wire|Macro Repro Wire}}: This macro reproduces all element selected subobject wire or face.

* {{MacroLink|Icon=Macro_Site_From_Contours.png|Macro_Site_From_Contours|Macro Site From Contours}}: Creates an Arch Site from a series of contour lines.

* {{MacroLink|Icon=Macro_Solid_Sweep.png|Macro_Solid_Sweep|Macro Solid Sweep}}: Creates a solid by sweeping a 2D profile along a trajectory previously selected in the 3D view. The 2D elements can be created through the regular tools in FreeCAD's GUI.

* {{MacroLink|Icon=Macro_Stairs.png|Macro_Stairs|Macro Stairs}}: Create stair helix, create your stair nosing select and run the macro.

* {{MacroLink|Icon=Macro_Triangle_AH.png|Macro_Triangle_AH|Macro Triangle AH}}: This macro creates a triangle by giving the head angle and the height of the triangle (the head of the triangle is positioned to the xyz coordinates 0.0).

* {{MacroLink|Icon=Macro_WireXYZ.png|Macro_WireXYZ|Macro WireXYZ}}: This macro creates a Wire with the coordinates extracted from a file. The coordinates X Y Z are separated by a space.

</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">

<span id="32px_Object_transformation"></span>
<div class="mw-translate-fuzzy">
===[[File:Workbench_PartDesign.svg]] Trasformare gli oggetti===
</div>

<div class="mw-collapsible-content">

* {{MacroLink|Icon=Macro_Align_Object_to_View.png|Macro_Align_Object_to_View|Macro Align Object to View}}: This macro align the selected object to the current View and set the coordinates Placement of the camera.

* {{MacroLink|Icon=Macro_ArrayCopy.png|Macro_ArrayCopy|Macro ArrayCopy}}: Copies the selected object several times, on an array grid.

* {{MacroLink|Icon=Bevel.svg|Macro_Bevel|Macro Bevel}}: Bevels selected vertices, creates parametric feature Python object, compatible with all solids (except with round edges) including features in Part Design bodies.

* {{MacroLink|Icon=Macro_Center_Align_Objects_with_Faces_or_Edges.png|Macro_Center_Align_Objects_with_Faces_or_Edges|Macro Center Align Objects with Faces or Edges}}: This macro covers the following constraints: Concentric constraint among non cylindrical parts; and Constraint on center Faces and/or Edges. It works also with the new Body and App::Part containers, as well as with STEP hierarchy.

* {{MacroLink|Icon=Macro_CloneConvert‎.png|Macro_CloneConvert‎|Macro CloneConvert}}: Creates a clone of the object and the converted in the chosen position and size (inch, mm, m, µm...). The base object is recognized in mm (FreeCAd base).

* {{MacroLink|Icon=Macro_Connect_And_Sweep.png|Macro_Connect_And_Sweep|Macro Connect And Sweep}}: This macro easily creates a connection between two objects, an object and a point or between two points or the selected line, wire, edge (the center of the objects are the starting and ending points of the sweep) can be selected form a configurable ellipse polygon circle.

* {{MacroLink|Icon=Std_AxisCross_example.svg|Macro_Express_Placement|Macro Express Placement}}: Display and quickly edit a selected object's placement coordinates directly or via expressions.

* {{MacroLink|Icon=Macro_FlattenWire.png|Macro_FlattenWire|Macro FlattenWire}}: Flattens draft wires that are not planar to their median Z coordinate.

* {{MacroLink|Icon=Macro_FlattenWire3Points.png|Macro_FlattenWire3Points|Macro FlattenWire3Points}}: Flattens draft wires that are not planar to a plane defined by 3 points.

* {{MacroLink|Icon=Macro_HealArcs.png|Macro_HealArcs|Macro HealArcs}}: Sometimes arcs are transformed into BSplines, for example when scale operations have been applied to them. This macro recreates valid arcs from them. Useful before exporting to dxf.

* {{MacroLink|Icon=Image_Scaling.svg|Macro_Image_Scaling|Macro Image Scaling}}: Macro for easy scaling drawings, graphics, diagram, blueprint and similar 2D images in Image workbench.

* {{MacroLink|Icon=Macro_JointWire.png|Macro_JointWire|Macro JointWire}}: Allows to find and joint all non connected edge to the closest non connected one using a line.

* [[Image:Text-x-python.png|24px]] [https://github.com/dprojects/Woodworking/blob/master/Tools/x_magicAngle.py Macro magicAngle]: Small GUI for the Draft.rotate function. Allows to rotate panels and even other more complicated objects, like construction profiles.

* {{MacroLink|Icon=Macro_MatrixTransform.png|Macro_MatrixTransform|Macro MatrixTransform}}: Apply linear space transformations to distort shapes. E.g., non-uniform scaling, shearing, mirroring, axes swapping.

* {{MacroLink|Icon=Centericon.png|Macro_MoveToOrigin|Macro Move to Origin}}: This macro translates the Placement of an object so that a selected location becomes its new origin.

* {{MacroLink|Icon=multiCuts.png|Macro_MultiCuts|Macro MultiCuts}}: This macro improves boolean cut hierarchy by automatic labeling and using copies for cut.

* {{MacroLink|Icon=Macro_Overlap.png|Macro_Overlap|Macro Overlap}}: Boolean operation. Similar to [[Part_Common|Part Common]], but with custom overlap count threshold (parametric).

* {{MacroLink|Icon=parametric_defeaturing.svg|Macro_Parametric_Defeaturing|Macro Parametric Defeaturing}}: Macro that provides parametric defeaturing inside and outside the [[PartDesign_Workbench|PartDesign Workbench]].

* {{MacroLink|Icon=Macro_Perpendicular_To_Wire.png|Macro_Perpendicular_To_Wire|Macro Perpendicular To Wire}}: This macro positions an object perpendicularl to a selected wire.

* {{MacroLink|Icon=Macro_PlacementAbsolufy.png|Macro_PlacementAbsolufy|Macro PlacementAbsolufy}}: Reset Part containers to global origin while maintaining objects absolute position.

* {{MacroLink|Icon=Macro_Remove_parametric_history.png|Macro_Remove_parametric_history|Macro Remove parametric history}}: Removes all parametric associativity from an object, leaving it as a "dumb" shape.

* {{MacroLink|Icon=Macro_Rotate_To_Point.png|Macro_Rotate_To_Point|Macro Rotate To Point}}: Macro to rotate an object around the center of its boundbox, its center of mass, or the last clicked point.

* {{MacroLink|Icon=Part_Section‎.png|Macro_Section|Macro Section}}: Alternative implementation of Part Section tool, more suitable for making sweep paths (parametric).

* {{MacroLink|Icon=Macro_StraightenObject.png|Macro_StraightenObject|Macro StraightenObject}}: Re-align object(s) with FreeCAD coordinate system according reference face/edge.

* {{MacroLink|Icon=Macro_SuperWire.png|Macro_SuperWire|Macro SuperWire}}: Forces the creation of a Wire from lines and arcs that don't necessarily touch each other. Use this if normal wire operation fails.

* {{MacroLink|Icon=Wirefilter.svg|Macro_WireFilter|Macro WireFilter}}: Filter wires from a sketch to only use certain ones, also 2D offsets, scales, rearranges wire order.

</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">

=== [[File:Part_FaceColors.svg|32px]] Object visibility, view properties and textures ===

<div class="mw-collapsible-content">

* [[Image:Text-x-python.png|24px]] [https://github.com/dprojects/Woodworking/blob/master/Tools/colorManager.py colorManager]: Allows to set face colors for all objects from a spreadsheet. Also you can browse colors for a manually selected face or object and see the effect in the 3D model in real-time.

* {{MacroLink|Icon=Workbench_Image.svg|Macro_Colorize|Macro Colorize}}: Easily set colors of faces, edges, and vertices, including individual transparency levels.

* {{MacroLink|Icon=EasyReflectorIcon.svg|Macro_EasyReflector|Macro EasyReflector}}: Easily managed textures with a parametric feature python object that persists between FreeCAD and Document sessions.

* {{MacroLink|Icon=Macro_HiddenAlls.png|Macro_HiddenAlls|Macro Hidden Alls objects}}: This macro check hidden all object in the document (Visibility=False).

* {{MacroLink|Icon=FCTexture.png|Macro_Texture|Macro Texture}}: Create a project from a bmp image to create a texture easily.

* {{MacroLink|Icon=Macro_Texture_Objects.png|Macro_Texture_Objects|Macro Texture Objects}}: This macro allows you to temporarily put a texture image on the selected objects.

* {{MacroLink|Icon=Macro_Toggle_Drawstyle.png|Macro_Toggle_Drawstyle|Macro Toggle Drawstyle}}: This macro toggles the Drawstyle of the selected object.

* {{MacroLink|Icon=Macro_Toggle_Drawstyle_Optimized.png|Macro_Toggle_Drawstyle_Optimized|Macro Toggle Drawstyle Optimized}}: This macro toggles the Drawstyle of the selected object (same as Macro Toggle Drawstyle above but optimized for all languages).

* {{MacroLink|Icon=Macro_SelectVisible.png|Macro_Toggle_Visibility|Macro Toggle Visibility}}: Set of three macro, macro '''1:''' hidden the objects not selected, macro '''2:''' displayed alls objects, macro '''3:''' hidden alls objects.

* {{MacroLink|Icon=Macro_SelectVisible2.png|Macro_Toggle_Visibility2_1-2|Macro Toggle Visibility2 1-2}}: Set of two macro, macro '''1:Macro_Toggle_Visibility2_1-2''' hidden the objects not selected, macro '''2:Macro_Toggle_Visibility2_2-2''' displayed alls objects, macro with the original visibility.

* {{MacroLink|Icon=Macro_VisibleAlls2.png|Macro_Toggle_Visibility2_2-2|Macro Toggle Visibility2 2-2}}: Set of two macro, macro '''1:Macro_Toggle_Visibility2_1-2''' hidden the objects not selected, macro '''2:Macro_Toggle_Visibility2_2-2''' displayed alls objects, macro with the original visibility.

* {{MacroLink|Icon=Macro_VisibleAlls.png|Macro_VisibleAlls|Macro Visible Alls objects}}: This macro check visible all object in the document (Visibility=True).

* {{MacroLink|Icon=Macro_Visibility_Manager.png|Macro_Visibility_Manager|Macro Visibility Manager}}: Manage visibility of document objects by type or individually.

* [[Image:Text-x-python.png|24px]] [https://github.com/dprojects/setTextures setTextures]: Allows to permanently store the URL of textures in a FreeCAD project and load stored textures.

</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">

===[[File:Workbench_PartDesign.svg|32px]] PartDesign Workbench===


<div class = "mw-collapsible-content">

* {{MacroLink|Icon=Workbench_PartDesign.svg|Macro_PDWrapper|Macro PDWrapper}}: Encapsulates non-PartDesign solids for use in PartDesign Bodies, and more.

</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">

<span id="32px_Printer_3D"></span>
<div class="mw-translate-fuzzy">
===[[File:View.svg]] Stampante 3D===
</div>

<div class="mw-collapsible-content">

* {{MacroLink|Icon=Macro_3d_Printer_Slicer.png|Macro_3d_Printer_Slicer|Macro 3d Printer Slicer}}: Exports current design to slicer software or CAM software.

* {{MacroLink|Icon=Macro_3d_Printer_Slicer_Individual_Parts.svg|Macro_3d_Printer_Slicer_Individual_Parts|Macro 3d Printer Slicer Individual Parts}}: This code, when run, will export the visible bodies at the top level (bodies deeper in the tree will be ignored) of the currently open design to individual STL files, and open them it in the slicing software that you use. This macro will look for Cura as the default but you can change it to any other slicer by changing the SLICERAPP variable in the source code.

* {{MacroLink|Icon=Macro_3D_Printer_Workflow.png|Macro_3D_Printer_Workflow|Macro 3D Printer Workflow}}: Macro that creates an stl file with perfect rounding, i.e. without visible facets, from selected objects. It also allows to launch programs of your choice. For example to automate the FreeCAD -> Slicer -> printing workflow.

</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">

<span id="32px_Raytracing"></span>
<div class="mw-translate-fuzzy">
===[[File:Preferences-raytracing.svg]] Raytracing===
</div>

<div class="mw-collapsible-content">

<div class="mw-translate-fuzzy">
* {{MacroLink|Text-x-python|Macro FreeCAD to Kerkythea|Da FreeCAD a Kerkythea}}: Esporta da FreeCAD a Kerkythea
</div>

* {{MacroLink|Icon=Applications-python.svg|Macro_Z_Height_Map|Macro Z Height Map}}: Makes a grayscale heightmap in Z.

</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">

<span id="32px_Spreadsheet_Workbench"></span>
<div class="mw-translate-fuzzy">
===[[File:Spreadsheet.svg]] Foglio di calcolo===
</div>

<div class="mw-collapsible-content">

* {{MacroLink|Icon=aliasmanager_icon.png|Macro_Alias_Manager|Macro Alias Manager}}: Helps managing aliases inside FreeCAD Spreadsheet workbench. It is able to create, delete, move aliases and create a 'part family' group of files.

* {{MacroLink|Icon=ConstraintToAlias.svg|Macro_ConstraintToAlias|Macro ConstraintToAlias}}: Allows to create a spreadsheet or add an alias to an existing spreadsheet from within the open sketch editor.

* {{MacroLink|Icon=easy-alias-icon.png|Macro_EasyAlias|Macro EasyAlias}}: Quickly create aliases in FreeCAD Spreadsheet workbench. It uses the labels from one column to create aliases for adjacent cells in the next column to the right, e.g. labels from Column A become aliases for the cells in Column B.

* {{MacroLink|Icon=Macro_FCSpreadsheet_Extract.png|Macro_FCSpreadSheet_Extract|Macro FCSpreadSheet Extract}}: This macro save the data in a csv file with the formula or in a xml file.

* {{MacroLink|Icon=FindAliasReferences.png|Macro_FindAliasReferences|Macro FindAliasReferences}}: Find all the expressions in open documents that contain the alias, or if the alias is not defined, then the value in the spreadsheet's selected cell(s).

* {{MacroLink|Icon=Macro_Sketch_Constraint_From_Spreadsheet.svg|Macro_Sketch_Constraint_From_Spreadsheet|Macro Sketch Constraint From Spreadsheet}}: Quickly add a length constraint to a line or between 2 points using a spreadsheet cell alias or address.

* {{MacroLink|Icon=Macro_SpreadsheetTools.png|Macro_SpreadsheetTools|Macro Spreadsheet Tools}}: This macro helps managing cells inside FreeCAD Spreadsheet workbench.

* {{MacroLink|Icon=Applications-python.svg|Macro_Spreadsheet2html|Macro Spreadsheet2html}}: Exports a spreadsheet as styled html. Intended as support in transfering data to office suits.

* [[Image:Text-x-python.png|24px]] [https://github.com/dprojects/sheet2export sheet2export]: Allows to export FreeCAD spreadsheet to file formats (.md, .html, .csv, .json).

</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">

<span id="32px_Utility"></span>
<div class="mw-translate-fuzzy">
===[[File:Arch_Survey.svg]] Utilità===
</div>

<div class="mw-collapsible-content">

* {{MacroLink|Icon=Macro_Arch_Axis_System_Repartition.png|Macro_Arch_Axis_System_Repartition|Macro Arch Axis System Repartition}}: This macro help you to create an Arch Axis System along a line with a set of parameters.

* {{MacroLink|Icon=Applications-python.svg|Macro_Convert_021|Macro Convert 021}}: Converts a FreeCAD file saved with a post-0.21 version back to 0.21 format.

* {{MacroLink|Icon=Macro_Duplicate_Selection.png|Macro_Duplicate_Selection|Macro Duplicate Selection}}: This macro testing if one selection are duplicate, select the object IN THE 3D VIEW the "ForbiddenCursor" stay if the or one selection is duplicate, the macro stay resident.

* {{MacroLink|Icon=Macro_Easy_Cutouts_for_Enclosures.png|Macro_Easy_cutouts_for_Enclosure_Design|Macro Easy cutouts for Enclosure Design}}: This macro makes Cutouts for Enclosures in a very handy way.

* {{MacroLink|Icon=Macro_ExpandTreeItem.png|Macro_ExpandTreeItem|Macro ExpandTreeItem}}: This macro expand selected items in the tree view. If not selection all item are expand/collapse.

* {{MacroLink|Icon=Macro_findConfigFiles.png|Macro_findConfigFiles|Macro findConfigFiles}}: Finds user config files system.cfg and user.cfg, copies folder location to system clipboard, instructs user on renaming these files in order to reset FreeCAD settings, and opens folder with default file browser.

* {{MacroLink|Icon=Force_Recompute.png|Macro_ForceRecompute|Macro ForceRecompute}}: Forces manual recompute of model.

* {{MacroLink|Icon=Macro_If_Selected_Stay_If_Not_Then_Delete.png|Macro_If_Selected_Stay_If_Not_Then_Delete|Macro If Selected Stay If Not Then Delete}}: All object not selected are deleted!

* {{MacroLink|Macro_ImperialScales|Macro ImperialScales}}: Shows a list of US Imperial Arch scales list with the corresponding factor to apply to TechDraw pages or views.

* {{MacroLink|Icon=Macro_merge_duplicate_materials.png|Macro_merge_duplicate_materials|Macro merge duplicate materials}}: Merges materials that have the same base name (with different numeral endings like 001, 002,...) into one.

* {{MacroLink|Icon=Pcbway.png|Macro_PCBWay|Macro PCBWay}}: Sends a selected object to [https://pcbway.com PCBWay] for manufacturing through CNC milling, laser cutting or 3D printing.

* {{MacroLink|Icon=Pinger_Icon.svg|Macro_Pinger|Macro Pinger}}: Ping users on the forum with ease.

* {{MacroLink|Icon=Macro_Recompute_Profiler.png|Macro_Recompute_Profiler|Macro Recompute Profiler}}: Measures time it takes to recompute each object in a project.

* {{MacroLink|Icon=Replace_Part.png|Macro_Replace_Part_in_Assembly|Macro Replace Part in Assembly}}: Replaces a part (simple copy) in an "Assembly" with another Part (simple copy).

* {{MacroLink|Icon=Macro_Select_Hovering.png|Macro_Select_Hovering|Macro Select Hovering}}: This macro select a choice Face, Edge, Vertex hovering by the mouse.

* {{MacroLink|Icon=SelectVisible.png|Macro_SelectVisible|Macro SelectVisible}}: All visible objects in the tree will be selected.

* {{MacroLink|Icon=Macro_Shake_Sketch.png|Macro_Shake_Sketch|Macro Shake Sketch}}: Shake a sketch in order to discover its unconstrained parts.

* {{MacroLink|Icon=SketchUnmap.svg|Macro_SketchUnmap|Macro SketchUnmap}}: Unmap a sketch from its current support and makes its placement absolute, eventually creating a locating datum plane.

* {{MacroLink|Macro_TreeToAscii|Macro TreeToAscii}}: Prints model tree as "ASCII art" with custom pattern & style, and export to clipboard, file or embedded document.

* {{MacroLink|Icon=Macro_Unbind_Numpad_Shortcuts.png|Macro_Unbind_Numpad_Shortcuts|Macro Unbind Numpad Shortcuts}}: Rebinds standard view commands from digit keys to Ctrl+digit, so that they don't spin the view by accident when entering numbers.

* {{MacroLink|Icon=WF_wf.png|Macro_WorkFeatures|Macro WorkFeatures}}: Tool utility to create points, axes, planes and many other useful features to facilitate the creation of your project.

</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">

<span id="32px_Wizards"></span>
<div class="mw-translate-fuzzy">
===[[File:Bulb.svg]] Wizards===
</div>

<div class="mw-collapsible-content">

* {{MacroLink|Icon=Gearworkbech.png|Macro_FCGear|Macro FCGear}}: Additional Workbench to create different types of gears, involute gear, involute rack, cycloide gear, bevel gear.

* {{MacroLink|Icon=Macro_Fonts_Win10_PYMP.png|Macro_Fonts_Win10_PYMP|Macro Fonts Win10 PYMP}}: This little macro is dedicate to users of Windows 10. The explorer fonts for use the [[Draft_ShapeString|ShapeString]] is empty and this little macro can help you see easily the font to use.

* {{MacroLink|Icon=GenerateDrawing.svg|Macro_GenerateDrawing|Macro GenerateDrawing}}: Macro for automatic drawing generation with 3 normal projections and one isometric.

* {{MacroLink|Icon=GenerateViews.svg|Macro_GenerateViews|Macro GenerateViews}}: Macro for automatic 2D views generation with 6 normal projections and one isometric.

* {{MacroLink|Icon=GW_Dim.png|Macro_Geneva_Wheel|Macro Geneva Wheel}}: Allows the user to create a Geneva wheel mechanism from scratch. Must edit values within the Macro to alter the size of the object.

* {{MacroLink|Icon=GW_Dim.png|Macro_Geneva_Wheel_GUI|Macro Geneva Wheel GUI}}: A GUI front end that allows the user to create a Geneva wheel mechanism from scratch.

* {{MacroLink|Icon=Macro_Megaminx.png|Macro_Megaminx|Macro Megaminx}}: Display a Megaminx and interactively do slice rotations.

* {{MacroLink|Icon=PropertyMemo.png|Macro_PropertyMemo|Macro PropertyMemo}}: This macro creates an additional Property (memo or other text) for your object (works only with Draft objects).

* {{MacroLink|Icon=Macro_Rubik_Cube.png|Macro_Rubik_Cube|Macro Rubik Cube}}: Display a Rubik Cube and interactively do slice rotations.

* {{MacroLink|Icon=Macro_Sheet_Metal_Unfolder.png|Macro_Sheet_Metal_Unfolder|Macro Sheet Metal Unfolder}}: Creates an unfolded part from a sheet-metal-part.

* {{MacroLink|Icon=Macro_Unfold_Box.png|Macro_Unfold_Box|Macro Unfold Box}}: Allows to unfold the surfaces of a box of any shape and to draw them on a page.

* {{MacroLink|Icon=Macro_Unroll_Ruled_Surface.png|Macro_Unroll_Ruled_Surface|Macro Unroll Ruled Surface}}: Allows to unroll ruled surfaces and to draw them on a page.

</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">

=== [[File:Arch_Equipment.svg|32px]] Woodworking ===

<div class="mw-collapsible-content">

* [[Image:Text-x-python.png|24px]] [https://github.com/dprojects/getDimensions getDimensions]: FreeCAD macro to get chipboards dimensions to cut (BOM, cutlist).

* {{MacroLink|Icon=Macro_Cabinets32.png|Macro_Cabinets32|Macro Cabinets32}}: Creates side and top/bottom walls for a cabinet with drilled holes for connection parts of manufacturer Hettich.

* {{MacroLink|Icon=Macro_Joint_Icon.svg|Macro_Joint|Macro Joint}}: Creates a variety of joints, such as mortise/tenon, box joints, dovetail joints, and snap joints.

* [[Image:Text-x-python.png|24px]] [https://github.com/dprojects/Woodworking/blob/master/Tools/makeTransparent.py makeTransparent]: Switches all parts from non-transparent to transparent, and back, allowing you to preview pilot holes, countersinks and other joints.

</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">

<span id="32px_Other_interesting_macros_created_by_FreeCAD_users"></span>
<div class="mw-translate-fuzzy">
===[[File:Std_FreeCADWebsite.png|32px]] Altre macro interessanti create dagli utenti di FreeCAD e mantenute al di fuori del wiki.===
</div>

<div class="mw-collapsible-content">

* [[Image:Text-x-python.png|24px]] [https://github.com/hamish2014?tab=repositories By hamish2014]: FreeCAD_assembly2, FreeCAD_drawing_dimensioning, and more.

* [[Image:2364.png|24px]] [https://github.com/microelly2?tab=repositories By microelly2] : FreeCAD_macro, geodata, Animation, freecad-nurbs, PieMenu, and more.

* [[Image:Text-x-python.png|24px]] [https://github.com/oddtopus?tab=repositories By oddtopus]: Flamingo (workbench for metal structures).

* [[Image:Text-x-python.png|24px]] [https://github.com/realthunder/FreeCAD_assembly3#installation By realthunder]: Assembly3 Workbench, and more.

* [[Image:681.jpg|24px]] [https://github.com/j-wiedemann?tab=repositories By rockn]: FreeCAD-Timber, FreeCAD-addons, FreeCAD-library, FreeCAD-StructuresBois, and more.

* [[Image:Text-x-python.png|24px]] [https://github.com/Siardeni/FreeCADTools By Siardeni]: Workbench for create metal profiles, square tubing, z profile, palette, rotation, drawing, and more.

* [[Image:Text-x-python.png|24px]] [https://github.com/triplus?tab=repositories By triplus]: IconThemes, ShortCuts, NavigationIndicator, TabBar, Launcher, PersistentToolbars, PieMenu, and more.

</div>
</div>

<span id="Usage"></span>
<div class="mw-translate-fuzzy">
== Come utilizzare le macro ==
</div>

Vedere la pagina [[how to install macros/it|Come installare le macro]] per una descrizione completa, e [[Customize Toolbars/it|Come personalizzare la barra degli strumenti]] per aggiungere la macro a una barra degli strumenti per un accesso veloce.

L'installazione di molte macro equivale all'installazione di un nuovo workbenchambiente; vedere la pagina [[How to install additional workbenches/it|Come installare ambienti aggiuntivi]] per queste informazioni.

=== Automatic installation ===

<div class="mw-translate-fuzzy">
=== Installazione automatica ===
A partire da FreeCAD 0.17, utilizzare [[Std_AddonMgr/it|Addon Manager]] in {{MenuCommand|Strumenti → Addon manager}} per installare una macro che è stata inclusa nel repository [https://github.com/FreeCAD/FreeCAD-macros FreeCAD-macros].
</div>

=== Manual installation ===

<div class="mw-translate-fuzzy">
=== Installazione manuale ===
Se non si utilizza [[Std_AddonMgr/it|Addon Manager]], la macro può essere installata manualmente.
* Copiare il codice [[Python/it|Python]] dalla pagina della macro corrispondente.
* Aprire il menu macro {{MenuCommand|Macro → Macros}}, premere {{Button|Crea}}, e dargli un nome.
* Incollare il codice Python che è stato copiato.
* Premere il pulsante {{Button|Salva}}, e riavviare FreeCAD.
* Per usarla, aprire nuovamente il menu macro, selezionare la nuova macro e premere {{Button|Esegui}}.
</div>

=== Add a macro to a custom toolbar ===

<div class="mw-translate-fuzzy">
=== Aggiungere una macro a una barra degli strumenti personalizzata ===
* Andare in {{MenuCommand|Strumenti → Personalizza}}.
* Nella scheda {{MenuCommand|Macro}}, aggiungere un nuovo nome di macro e, facoltativamente, definire un'icona e una scorciatoia da tastiera.
* Nella scheda {{MenuCommand|Barra degli strumenti}}, creare una nuova barra degli strumenti e aggiungere la macro, prendendola dalla categoria {{MenuCommand|Macros}}.
</div>


[[Category:Macros{{#translation:}}]]
[[Category:Python Code{{#translation:}}]]

Latest revision as of 09:15, 15 March 2024

Questa pagina lista macro che possono aggiungere delle funzionalità alla propria installazione di FreeCAD.

Se avete scritto una macro e volete includerla in una delle categorie su questa pagina, allora consultate Documentazione delle macro per saperne di più su come documentarla correttamente.

Macros

Operazioni di visualizzazione 3D

  • Macro FCCamera: Questa macro può ruotare lo schermo di un angolo definito e rispetto ad un asse definito in modo da creare un piano su cui affacciare lo schermo e creare una forma nel piano specificato posizionando la faccia selezionata di fronte allo schermo, e rilevare la posizione della telecamera.
  • Macro Mouse Cross: This small macro turns the arrow of the mouse in a precision cross.
  • Macro Rotate View Free: This macro is used in the Python console and rotates the current view in the angle and plane given.
  • Macro Screen Wiki: This macro allows to save the 3D view in the desired format. The 3D view or the full 3D window of FreeCAD takes the desired dimensions.
  • Macro Snip: Easily post screenshots to the FreeCAD forum.
  • Macro View Rotation: Provides a GUI to permit rotation of view by precise amounts in all three directions.
  • Macro Zoom 1:1: 1:1 Zoom so objects appear their actual size on the screen.

Animazioni

  • Macro Animator: Animate your model by animating its properties with this feature Python object.
  • Macro Constraint Draft: Simple example animation Draft wires by use the Expressions for associate many wires and simulate or verify the movement. Here the circle rotation create the movement for all objects connected (This macro run with FreeCAD version 0.16).

Codice e Script

  • Macro Build Utility: This macro provides a utility to assemble a project from sub-project files using the Merge Project facility.
  • Macro clone explicit: Creates a copy of each selected object and sets its properties to an expression linking to the original object, making it an explicit and editable clone.
  • Macro Python Assistant Window: This macro provides a cut/copy/paste workspace for Python code, it is segmented so different sections can be selected and it is persistent between FreeCAD sessions.
  • Qt Example: Example of using Qt commands, their connections, extraction and data assignment.
  • scanObjects: Inspection tool for FreeCAD macro development and project debug.
  • Macro TNP Solution: A basic example of how the Topological Naming Problem can be solved. The macro is intended for programmers only.

Conversione

  • Macro Compound Plus: Draft command set in a small macro for the 2D sketch example: work with the DXF files.
  • Macro DeepCopy: Make a compound out of a part with a copy of all its shapes.
  • Macro Dxf To Shape: Macro utility for create unique wire with many wires, the type wire created is selected to MakeWire, Bspline, BsplineCurve, BsplineCurve + Arc, Polygon, Bezier curve.
  • Macro FCBmpImport: Import Black and White BMP images into FreeCAD as sketch, wire, or solid or Grayscale BMP for lithophanes.
  • Macro FCWire To Volume: This macro create boolean operation with the objects selected just select the wires give the thickness and click "Create".
  • Macro Iges PyImporter: Imports an iges file with entity 128, for example an iges-file from FreeShip, into FreeCAD.
  • Macro MultiCopy: MultiCopy allows the duplication (copy and paste) of multiple FreeCAD objects that can be labelled sequentially and in a custom manner.
  • Macro PartToVRML: Converts selected parts to VRML meshes for small size and faster loading (VRML models Kicad and Blender compatible).

Dxf 2D Draft

  • Macro EdgesToArc: Converts the selected Edges to a circular Arc if possible. Useful for restoring discretized arcs.
  • Macro FC Convert Lines: This macro convert the object line, wire in line Dash, DashDot, DashDotDot, ZigZag and Hand with the dimensions given.

Fem

  • Macro export transient FEM results: This macro exports multiple FEM result objects from a transient analysis to the VTK format and generates a PVU file which can be used to load the results directly into ParaView for post-processing.
  • Macro GMSH: Create FEM Meshes by GMSH Mesh Generator.

Gui

  • Macro MacroMenu: Add the macros found in the macros folder to the Macros menu of FreeCAD.
  • Macro SplitPropEditor: Temporarily split the property editor from the combo view to a separated dock widget.
  • Macro Toggle Panels Visibility: This macro toggles the visibility of various supporting panels in FreeCAD, allowing the main window to be viewed with all available screen space.
  • Macro MacroToolbarManager: Easily manage custom macro toolbars, allows to create, rename, and delete toolbars, add and remove the macros, edit shortcuts and icons, even includes a simple xpm icon maker tool.

Informazioni e misure

  • Macro CenterFace: This macro red trace (editable) the center face (mass) with 1 point and print the coordinates.
  • Macro CenterOfMass: Gives the total mass and the center of mass of multiple objects selected with the density chosen.
  • Macro Delta xyz: Gives the Delta values and the distance between 2 points.
  • Macro Dump Objects: This macro generates a listing of all objects in the current document - the list can be in a window or on the Report view.
  • Macro FC element selector: This macro display all elements below cursor same "Macro Mouse over cb" with GUI (elements covered by other elements will also be displayed).
  • Macro FCInfo: Gives a series of information about the selected shape and can display a conversion of length, inclination (degrees, radian, grade) shape, surface, volume and the weight of the form in the density selected in various international and Anglo-Saxon units.
  • Macro FCInfo ToolBar: Gives a series of information about the selected shape as FCInfo in a mini ToolBar.
  • Macro FCInfoGlass: Gives a series of information about the selected shape and displayed in screen 3D.
  • Macro FCInfoToMouse: Provides informations coordinates, length and angles in real time on the mouse in a bubble annotation displayed in the 3D screen.
  • Macro FCTreeView: Macro for list all objects in the project in one list without hierarchy, options sort by name, label, visibility, group, by length option search by name, label... without case sensitive or with case sensitive and select all objects displayed in the macro window.
  • Macro Mouse over cb: This macro display all elements below cursor (elements covered by other elements will also be displayed).
  • Macro SimpleProperties: Display in a concise way basic physical properties of an object (volume, bound box dimensions, ...).

Librerie

  • Macro BOLTS: The aim of BOLTS is to build a free and open-source standard parts library for CAD applications.

Funzioni matematiche

Creare oggetti

  • Macro AeroFoil: AeroFoil creates airfoil curves and faces using pre-defined models, algebraic functions, and DAT or CSV Files.
  • Macro Circle: Create a circle or arc giving radius, diameter, circumference, area, startangle, endangle, arc, anglecenter, cord, arrow, center (point) on choice (same above without GUI).
  • Macro CirclePlus: Create a circle or arc giving radius, diameter, circumference, area, startangle, endangle, arc, anglecenter, cord, arrow, center (point) on choice (same below but with GUI) plus create sector and face.
  • Macro Cut Circle: Cut a circle or arc and create x arcs, giving the number of cut.
  • Macro Cut Line: Cut a line and create x points, giving the number of points, create line or not, create points or not, create bicolor or not on choice.
  • Macro HilbertCurve: Creates an Hilbert curve wire in 2 or 3 dimensions with many iterations.
  • Macro Honeycomb: Creates a feature Python Honeycomb object compatible in and out of PartDesign.
  • Macro ImportAirfoil: Airfoil coordinates import, then scale the airfoil, rotate, translate in the plane, translate along the span, select the plane and the main axis, and turn the geometry into a sketch.
  • Macro Intersection: Finds the intersection between 2 or 3 selected edges/faces, works with Datum Planes and Datum Lines also. Creates a parametric feature Python object containing the shape of the intersection.
  • Macro Line Length: Create a line giving coordinate XYZ length and angle to plane X Y.
  • Macro Polyhedrons: This macro creates parametric polyhedrons (dodecahedron, icosahedron, tetrahedron, ...). Customizable via radius or side.
  • Macro Pyramid: This macro creates a parametric pyramid. All parameters are customizable just like with Part Cone.
  • Macro Repro Wire: This macro reproduces all element selected subobject wire or face.
  • Macro Solid Sweep: Creates a solid by sweeping a 2D profile along a trajectory previously selected in the 3D view. The 2D elements can be created through the regular tools in FreeCAD's GUI.
  • Macro Stairs: Create stair helix, create your stair nosing select and run the macro.
  • Macro Triangle AH: This macro creates a triangle by giving the head angle and the height of the triangle (the head of the triangle is positioned to the xyz coordinates 0.0).
  • Macro WireXYZ: This macro creates a Wire with the coordinates extracted from a file. The coordinates X Y Z are separated by a space.

Trasformare gli oggetti

  • Macro Align Object to View: This macro align the selected object to the current View and set the coordinates Placement of the camera.
  • Macro ArrayCopy: Copies the selected object several times, on an array grid.
  • Macro Bevel: Bevels selected vertices, creates parametric feature Python object, compatible with all solids (except with round edges) including features in Part Design bodies.
  • Macro Center Align Objects with Faces or Edges: This macro covers the following constraints: Concentric constraint among non cylindrical parts; and Constraint on center Faces and/or Edges. It works also with the new Body and App::Part containers, as well as with STEP hierarchy.
  • Macro CloneConvert: Creates a clone of the object and the converted in the chosen position and size (inch, mm, m, µm...). The base object is recognized in mm (FreeCAd base).
  • Macro Connect And Sweep: This macro easily creates a connection between two objects, an object and a point or between two points or the selected line, wire, edge (the center of the objects are the starting and ending points of the sweep) can be selected form a configurable ellipse polygon circle.
  • Macro Express Placement: Display and quickly edit a selected object's placement coordinates directly or via expressions.
  • Macro FlattenWire: Flattens draft wires that are not planar to their median Z coordinate.
  • Macro HealArcs: Sometimes arcs are transformed into BSplines, for example when scale operations have been applied to them. This macro recreates valid arcs from them. Useful before exporting to dxf.
  • Macro Image Scaling: Macro for easy scaling drawings, graphics, diagram, blueprint and similar 2D images in Image workbench.
  • Macro JointWire: Allows to find and joint all non connected edge to the closest non connected one using a line.
  • Macro magicAngle: Small GUI for the Draft.rotate function. Allows to rotate panels and even other more complicated objects, like construction profiles.
  • Macro MatrixTransform: Apply linear space transformations to distort shapes. E.g., non-uniform scaling, shearing, mirroring, axes swapping.
  • Macro Move to Origin: This macro translates the Placement of an object so that a selected location becomes its new origin.
  • Macro MultiCuts: This macro improves boolean cut hierarchy by automatic labeling and using copies for cut.
  • Macro Rotate To Point: Macro to rotate an object around the center of its boundbox, its center of mass, or the last clicked point.
  • Macro Section: Alternative implementation of Part Section tool, more suitable for making sweep paths (parametric).
  • Macro SuperWire: Forces the creation of a Wire from lines and arcs that don't necessarily touch each other. Use this if normal wire operation fails.
  • Macro WireFilter: Filter wires from a sketch to only use certain ones, also 2D offsets, scales, rearranges wire order.

Object visibility, view properties and textures

  • colorManager: Allows to set face colors for all objects from a spreadsheet. Also you can browse colors for a manually selected face or object and see the effect in the 3D model in real-time.
  • Macro Colorize: Easily set colors of faces, edges, and vertices, including individual transparency levels.
  • Macro EasyReflector: Easily managed textures with a parametric feature python object that persists between FreeCAD and Document sessions.
  • Macro Texture: Create a project from a bmp image to create a texture easily.
  • Macro Texture Objects: This macro allows you to temporarily put a texture image on the selected objects.
  • Macro Toggle Drawstyle Optimized: This macro toggles the Drawstyle of the selected object (same as Macro Toggle Drawstyle above but optimized for all languages).
  • Macro Toggle Visibility: Set of three macro, macro 1: hidden the objects not selected, macro 2: displayed alls objects, macro 3: hidden alls objects.
  • Macro Toggle Visibility2 1-2: Set of two macro, macro 1:Macro_Toggle_Visibility2_1-2 hidden the objects not selected, macro 2:Macro_Toggle_Visibility2_2-2 displayed alls objects, macro with the original visibility.
  • Macro Toggle Visibility2 2-2: Set of two macro, macro 1:Macro_Toggle_Visibility2_1-2 hidden the objects not selected, macro 2:Macro_Toggle_Visibility2_2-2 displayed alls objects, macro with the original visibility.
  • setTextures: Allows to permanently store the URL of textures in a FreeCAD project and load stored textures.

PartDesign Workbench

  • Macro PDWrapper: Encapsulates non-PartDesign solids for use in PartDesign Bodies, and more.

Stampante 3D

  • Macro 3d Printer Slicer Individual Parts: This code, when run, will export the visible bodies at the top level (bodies deeper in the tree will be ignored) of the currently open design to individual STL files, and open them it in the slicing software that you use. This macro will look for Cura as the default but you can change it to any other slicer by changing the SLICERAPP variable in the source code.
  • Macro 3D Printer Workflow: Macro that creates an stl file with perfect rounding, i.e. without visible facets, from selected objects. It also allows to launch programs of your choice. For example to automate the FreeCAD -> Slicer -> printing workflow.

Raytracing

Foglio di calcolo

  • Macro Alias Manager: Helps managing aliases inside FreeCAD Spreadsheet workbench. It is able to create, delete, move aliases and create a 'part family' group of files.
  • Macro ConstraintToAlias: Allows to create a spreadsheet or add an alias to an existing spreadsheet from within the open sketch editor.
  • Macro EasyAlias: Quickly create aliases in FreeCAD Spreadsheet workbench. It uses the labels from one column to create aliases for adjacent cells in the next column to the right, e.g. labels from Column A become aliases for the cells in Column B.
  • Macro FindAliasReferences: Find all the expressions in open documents that contain the alias, or if the alias is not defined, then the value in the spreadsheet's selected cell(s).
  • Macro Spreadsheet2html: Exports a spreadsheet as styled html. Intended as support in transfering data to office suits.
  • sheet2export: Allows to export FreeCAD spreadsheet to file formats (.md, .html, .csv, .json).

Utilità

  • Macro Convert 021: Converts a FreeCAD file saved with a post-0.21 version back to 0.21 format.
  • Macro Duplicate Selection: This macro testing if one selection are duplicate, select the object IN THE 3D VIEW the "ForbiddenCursor" stay if the or one selection is duplicate, the macro stay resident.
  • Macro ExpandTreeItem: This macro expand selected items in the tree view. If not selection all item are expand/collapse.
  • Macro findConfigFiles: Finds user config files system.cfg and user.cfg, copies folder location to system clipboard, instructs user on renaming these files in order to reset FreeCAD settings, and opens folder with default file browser.
  • Macro ImperialScales: Shows a list of US Imperial Arch scales list with the corresponding factor to apply to TechDraw pages or views.
  • Macro PCBWay: Sends a selected object to PCBWay for manufacturing through CNC milling, laser cutting or 3D printing.
  • Macro SketchUnmap: Unmap a sketch from its current support and makes its placement absolute, eventually creating a locating datum plane.
  • Macro TreeToAscii: Prints model tree as "ASCII art" with custom pattern & style, and export to clipboard, file or embedded document.
  • Macro Unbind Numpad Shortcuts: Rebinds standard view commands from digit keys to Ctrl+digit, so that they don't spin the view by accident when entering numbers.
  • Macro WorkFeatures: Tool utility to create points, axes, planes and many other useful features to facilitate the creation of your project.

Wizards

  • Macro FCGear: Additional Workbench to create different types of gears, involute gear, involute rack, cycloide gear, bevel gear.
  • Macro Fonts Win10 PYMP: This little macro is dedicate to users of Windows 10. The explorer fonts for use the ShapeString is empty and this little macro can help you see easily the font to use.
  • Macro GenerateDrawing: Macro for automatic drawing generation with 3 normal projections and one isometric.
  • Macro GenerateViews: Macro for automatic 2D views generation with 6 normal projections and one isometric.
  • Macro Geneva Wheel: Allows the user to create a Geneva wheel mechanism from scratch. Must edit values within the Macro to alter the size of the object.
  • Macro Geneva Wheel GUI: A GUI front end that allows the user to create a Geneva wheel mechanism from scratch.
  • Macro Megaminx: Display a Megaminx and interactively do slice rotations.
  • Macro PropertyMemo: This macro creates an additional Property (memo or other text) for your object (works only with Draft objects).
  • Macro Unfold Box: Allows to unfold the surfaces of a box of any shape and to draw them on a page.

Woodworking

  • getDimensions: FreeCAD macro to get chipboards dimensions to cut (BOM, cutlist).
  • Macro Cabinets32: Creates side and top/bottom walls for a cabinet with drilled holes for connection parts of manufacturer Hettich.
  • Macro Joint: Creates a variety of joints, such as mortise/tenon, box joints, dovetail joints, and snap joints.
  • makeTransparent: Switches all parts from non-transparent to transparent, and back, allowing you to preview pilot holes, countersinks and other joints.

Altre macro interessanti create dagli utenti di FreeCAD e mantenute al di fuori del wiki.

  • By hamish2014: FreeCAD_assembly2, FreeCAD_drawing_dimensioning, and more.
  • By microelly2 : FreeCAD_macro, geodata, Animation, freecad-nurbs, PieMenu, and more.
  • By oddtopus: Flamingo (workbench for metal structures).
  • By rockn: FreeCAD-Timber, FreeCAD-addons, FreeCAD-library, FreeCAD-StructuresBois, and more.
  • By Siardeni: Workbench for create metal profiles, square tubing, z profile, palette, rotation, drawing, and more.
  • By triplus: IconThemes, ShortCuts, NavigationIndicator, TabBar, Launcher, PersistentToolbars, PieMenu, and more.

Come utilizzare le macro

Vedere la pagina Come installare le macro per una descrizione completa, e Come personalizzare la barra degli strumenti per aggiungere la macro a una barra degli strumenti per un accesso veloce.

L'installazione di molte macro equivale all'installazione di un nuovo workbenchambiente; vedere la pagina Come installare ambienti aggiuntivi per queste informazioni.

Automatic installation

Installazione automatica

A partire da FreeCAD 0.17, utilizzare Addon Manager in Strumenti → Addon manager per installare una macro che è stata inclusa nel repository FreeCAD-macros.

Manual installation

Installazione manuale

Se non si utilizza Addon Manager, la macro può essere installata manualmente.

  • Copiare il codice Python dalla pagina della macro corrispondente.
  • Aprire il menu macro Macro → Macros, premere Crea, e dargli un nome.
  • Incollare il codice Python che è stato copiato.
  • Premere il pulsante Salva, e riavviare FreeCAD.
  • Per usarla, aprire nuovamente il menu macro, selezionare la nuova macro e premere Esegui.

Add a macro to a custom toolbar

Aggiungere una macro a una barra degli strumenti personalizzata

  • Andare in Strumenti → Personalizza.
  • Nella scheda Macro, aggiungere un nuovo nome di macro e, facoltativamente, definire un'icona e una scorciatoia da tastiera.
  • Nella scheda Barra degli strumenti, creare una nuova barra degli strumenti e aggiungere la macro, prendendola dalla categoria Macros.