Macro Loft
{{Macro |Name=Macro Loft |Icon=FCCreaLoft.png |Description=Creates a loft with wires selected. Specially written for easy lofting with lines generated by the [https://www.freecadweb.org/wiki/Macro_Texture Macro Texture] (but may be suitable and used for common lofts) |Author=Mario52 |Version=00.04 |Date=2019-07-03 |Download=[https://wiki.freecad.org/https://raw.githubusercontent.com/FreeCAD/FreeCAD-documentation/master/wiki/images/2/29/FCCreaLoft.png ToolBar Icon] |SeeAlso=Macro Texture |FCVersion=All }}
Description
Specially written for easy lofting with lines generated by the Macro Texture (but may be suitable and used for common lofts)
![](https://raw.githubusercontent.com/FreeCAD/FreeCAD-documentation/master/wiki/images/Texture_001_Logo.png)
Usage
Copy the macro and the icon in your macro directory.
- Sort : Sort the data entries.
- Reverse : Reverse the order of data.
- **Reset / Upgrade**: This button as many function:
- If any selection in 3Dview this button Upgrade is displayed. Select your object in the 3Dview or in the Combo view and click this button for upgrade the data in the macro, the button changes in Reset.
- If one or many object(s) are selected before the run macro this button Reset is displayed. Alls objects selected are displayed in the macro window. After having Sort or Reverse the data displayed, this button Reset is used to return to the original order. If you click in the 3DView or unselected all objects this button is used for reset to macro. If you adding one or more object(s) in the list this button is used.
- Select all : Select all objects in the document.
- SpinBox : Increment the jump x Elements (Default 1 all objects are used).
- Quit : Quit the macro.
- CheckBox If the CheckBox is checked the work progress is displayed if not only the ProgressBar work (this method is faster) (Checked by default).
- Launch the Lofting : Launch the Lofting and reset the macro. The number of selection are displayed and the real number lofted if the spinBox \"jump\" is used
The interface
![FCCreaLoft002](https://raw.githubusercontent.com/FreeCAD/FreeCAD-documentation/master/wiki/images/Macro_FCCreaLoft_01.png)
Script
The icons for you ToolBar
Download the macro to Gist Macro_FCCreaLoft.FCMacro
Links
The forum discussion Texture
The Macro Texture
Version
ver 00.00 : 06/02/2016
ver 00.02 : 09/02/2016 : Add button \"Select all\" and little option displayed in the button Launch (number selections) and (real number loft)
ver 00.03 : 09/02/2016 : minor (display on button)
ver 00.04 : 03/07/2019 : adapt to Python 3
⏵ documentation index > Macro Loft
This page is retrieved from https://github.com/FreeCAD/FreeCAD-documentation/blob/main/wiki/Macro_Loft.md