Makrodefinicja: Wyciągnięcie przez profile

From FreeCAD Documentation
This page is a translated version of the page Macro Loft and the translation is 5% complete.
Other languages:

Macro Loft

Creates a loft with wires selected. Specially written for easy lofting with lines generated by the Macro Texture (but may be suitable and used for common lofts)

Macro version: 00.04
Last modified: 2019-07-03
FreeCAD version: All
Download: ToolBar Icon
Author: Mario52
ToolBar Icon
Macro Version
Date last modified
FreeCAD Version(s)
Default shortcut
See also
Macro Texture


Specially written for easy lofting with lines generated by the Macro Texture (but may be suitable and used for common lofts)

Temporary code for external macro link. Do not use this code. This code is used exclusively by Addon Manager. Link for optional manual installation: Macro

# This code is copied instead of the original macro code
# to guide the user to the online download page.
# Use it if the code of the macro is larger than 64 KB and cannot be included in the wiki
# or if the RAW code URL is somewhere else in the wiki.

from PySide import QtGui, QtCore

diag = QtGui.QMessageBox(QtGui.QMessageBox.Information,
    "This macro must be downloaded from this link\n"
    "" + "\n"
    "Quit this window to access the download page")


import webbrowser"")



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:
    1. 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.
    2. 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



The icons for you ToolBar

Download the macro to Gist Macro_FCCreaLoft.FCMacro


The forum discussion Texture

The Macro Texture


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