Macros recipes/es


Base ExampleCommandModel.png Tutorial

Tema
Macros
Nivel
Beginner
Tiempo para completar
Autor
Versión de FreeCAD
Archivo(s) de ejemplo(s)


Esta página contiene macros para añadir funcionalidad a tu instalación de FreeCAD

Macros

Part CheckGeometry.svg 3D View operations

  • Text-x-python.png Macro Rotate View Esta macro gira la vista actual 90º hacia la izquierda. Solo funciona si estas en la vista en planta.
  • Text-x-python.png Macro View Rotation Proporciona una interfaz gráfica de usuario GUI que permite rotar la vista una cantidad determinada en las tres direcciones.
  • Text-x-python.png Macro Texture Objects Esta macro permite poner temporalmente una imagen de textura en los objetos seleccionados.

Draft FlipDimension.svg Animation

Applications-python.svg Code and Scripting

  • Text-x-python.png Macro MessageBox: muestra como dar información al usuario través de la interfaz gráfica de usuario GUI.

Arch MeshToShape.svg Conversion

Drawing-orthoviews.svg Drawing Workbench

  • Text-x-python.png Macro Automatic drawing: Permite al usuario obtener las vistas de su objeto en un dibujo con 4 posiciones diferentes (alzado, planta, isométrica, perfil derecho). Necesita algunos cambios para ser perfectamente efectiva
  • Text-x-python.png Macro CartoucheFC: Esta macro de GUI para llenar simplemente todos los campos del cartucho de la hoja de trabajo de implementación de plan FreeCAD, el formato de la fecha y el símbolo del modo de proyección se adaptan a la región de la UE o Estados Unidos seleccionado.

Draft BSpline.svg Dxf 2D Draft

Fem ResultDisplacement.svg Fem

  • Text-x-python.png Macro GMSH: Create FEM Meshes by GMSH Mesh Generator

Part Measure Clear All.svg Info and measures

  • FCInfo.png 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
  • FCInfo.png Macro FCInfo Alternate Linux: same as above, but for Linux
  • Macro FCInfoGlass.png Macro FCInfoGlass: Gives a series of information about the selected shape and displayed in screen 3D
  • FCInfoToMouse.png Macro FCInfoToMouse: Provide informations coordinates, length and angles in real time on the mouse in a bubble annotation displayed in the 3D screen
  • Text-x-python.png Macro Delta xyz: Gives the Delta values and the distance between 2 points
  • Text-x-python.png Macro ObjectInfo: User-friendly "Info" module created by a FreeCAD user
  • Macro Dump Objects.png 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 MeasureCircle.png Macro MeasureCircle: Compute the radius of a circle by 3 points or a circular edge.

Draft VisGroup.svg Libraries

Bound-expression.svg Mathematical functions

equations.

IFC.svg Multifunctional

  • WF wf.png 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.

Workbench Image.svg Object creation

  • Macro makeCube.png Macro Make Cube: Crea un cubo a partir de 4 puntos
  • Text-x-python.png Macro Solid Sweep: crea u sólido barriendo un perfil 2D a lo largo de una trayectoria previamente seleccionada en la vista 3D. Los elementos 2D pueden crearse con las herramientas estándar del entorno gráfico de usuario GUI de FreeCAD.

Workbench PartDesign.svg Object transformation

  • Text-x-python.png Macro ArrayCopy: Copia el objeto seleccionado varias veces, en una matriz
  • Text-x-python.png Macro FlattenWire: Aplana los contornos que no son planos a la mediana de sus coordenadas Z
  • Text-x-python.png Macro JointWire: Permite encontrar y unir todos los contornos no conectados al contorno no conectado más próximo utilizando una línea
  • Text-x-python.png Macro Remove parametric history: Elimina toda la paramétrica asociada de un objeto, dejándolo como una forma "muda"
  • Text-x-python.png Macro SuperWire: Fuerza la creación de una polilínea a partir de líneas y arcos que nmo necesariamente se toquen entre si. Utiliza esto si la operación de polilínea habitual falla
  • Text-x-python.png 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

View.svg Printer 3D

Preferences-raytracing.svg Raytracing

Spreadsheet.svg Spreadsheet Workbench

  • Aliasmanager icon.png 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.
  • Text-x-python.png Macro Spreadsheet Tools: This macro helps managing cells inside FreeCAD Spreadsheet workbench.
  • Macro FCTreeView.png 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 FCSpreadsheet Extract.png Macro FCSpreadSheet Extract: This macro save the data in a csv file with the formula or in a xml file.

Arch Survey.svg Utility

Bulb.svg Wizards

  • Text-x-python.png Macro Corner shapes wizard: Muestra un letrero de diálogo preguntando por las dimensiones de tu pieza de la esquina, entonces crea el objeto en el documento y una hoja de dibujo con las vistas planta, alzado y vistas laterales de la pieza

Std FreeCADWebsite.png Other interesting macros create by FreeCAD users and deposit in extra wiki.

  • 2364.png By microelly2 : freeCAD_macro, geodata, Animation, freecad-nurbs, PieMenu, ..... other
  • Text-x-python.png By hamish2014: FreeCAD_assembly2, FreeCAD_drawing_dimensioning, ...
  • Text-x-python.png By triplus: IconThemes, ShortCuts, NavigationIndicator, TabBar, Launcher, PersistentToolbars, PieMenu, ....
  • 681.jpg By rockn: FreeCAD-Timber, FreeCAD-addons, FreeCAD-library, FreeCAD-StructuresBois, .... other
  • Text-x-python.png By oddtopus: flamingo (workbench for metal structures)
  • Text-x-python.png By dprojects: getDimensions FreeCAD macro to get chipboards dimensions to cut (woodworking)
  • Text-x-python.png By Siardeni: workbench for create metal profiles, square tubing, z profile, palette, rotation, drawing ...


How to use?

Macro how to install

The above macros can easily be plugged on any FreeCAD installation

Additionally, you can also add your new macro to a custom toolbar


Adding new macros to this repository

* {{MacroLink|Text-x-python|Macro My Excellent Macro|Macro My Excellent Macro title}} : My excellent macro description. 

A new page (red link) will be created.

(With the default icon)

{{Macro|Icon=Text-x-python|Name=Macro_My_Excellent_Macro|Description=What my excellent macro does|Author=your username|Version=1.0|Date=YYYY-MM-DD}

(With the icon custom)

{{Macro|Icon=Macro_My_Excellent_Macro|Name=Macro_My_Excellent_Macro|Description=What my excellent macro does|Author=your username|Version=1.0|Date=YYYY-MM-DD}}

(Another language with the default icon (example "/fr" "/de" "/it"....))

{{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|Date=YYYY-MM-DD}

(Another language with the icon custom (example "/fr" "/de" "/it"....))

{{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|Date=YYYY-MM-DD}}

Ex:

#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 

It is also advisable to create a macro in your header, this header can be used by the Plugin Loader program to install the macro and check versions. Also available addons_installer.FCMacro

Ex:

__Title__="Title_Of_macro"
__Author__ = "User_Name"
__Version__ = "00.11"
__Date__    = "2015-07-25"

__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" 


Tutorials

Online version: "http://www.freecadweb.org/wiki/index.php?title=Macros_recipes/es&oldid=281049"

Navigation menu