Macro Loft/cs: Difference between revisions

From FreeCAD Documentation
(Created page with "{{Macro |Name=Macro Loft |Icon=FCCreaLoft.png |Description=Vytvoří vybrané dráty s loft wit. |Author=Mario52 |Version=00.03 |Date=2016-02-09 |SeeAlso= File:FCTexture.png...")
(Updating to match new version of source page)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

<div class="mw-translate-fuzzy">
{{Macro
{{Macro
|Name=Macro Loft
|Name=Macro Loft
Line 5: Line 7:
|Description=Vytvoří vybrané dráty s loft wit.
|Description=Vytvoří vybrané dráty s loft wit.
|Author=Mario52
|Author=Mario52
|Version=00.03
|Version=00.04
|Date=2016-02-09
|Date=2019-07-03
|Download=[https://www.freecadweb.org/wiki/images/2/29/FCCreaLoft.png ToolBar Icon]
|SeeAlso= [[File:FCTexture.png|32px|FCTexture]] [[Macro_Texture/cs|Macro_Texture]]
|SeeAlso= [[File:FCTexture.png|32px|FCTexture]] [[Macro_Texture/cs|Macro_Texture]]
|FCVersion=All
}}
}}
</div>


==Description==
<span id="Description"></span>
<div class="mw-translate-fuzzy">
specially written for easy lofting with lines generated by the [[Macro_Texture|Macro Texture]] (but may be suitable and used for common lofts)<br />
==Popis==
speciálně napsané pro snadné lofting s liniemi vytvořenými [[Macro_Texture/cs| Macro Texture]] (ale mohou být vhodné a použity pro společné loft)<br />
</div>


Specially written for easy lofting with lines generated by the [[Macro_Texture|Macro Texture]] (but may be suitable and used for common lofts)<br />
{{Codeextralink|https://gist.githubusercontent.com/mario52a/c477f892233d6abe02df5e97af828ff4/raw/ddef8bdf50ea0491e6c4100b814749a0d3f33b0e/Macro_FCCreaLoft.FCMacro}}

{{Codeextralink|https://gist.githubusercontent.com/mario52a/c477f892233d6abe02df5e97af828ff4/raw/d633193c577e8257ef458b8c1824d1047c3c6613/Macro_FCCreaLoft.FCMacro}}


[[File:Texture_001_Logo.png|480px]]
[[File:Texture_001_Logo.png|480px]]
{{Caption|Texture_001_Logo}}
{{Caption|Texture_001_Logo}}


<span id="Usage"></span>
==Use==
<div class="mw-translate-fuzzy">
==Použijte==
Zkopírujte makro a ikonu do adresáře maker.
</div>

Copy the macro and the icon in your macro directory.
Copy the macro and the icon in your macro directory.


* '''{{KEY|Sort}}''' : Sort the data entries.
* '''{{KEY|Sort |}}''': Třídit položky dat.
* '''{{KEY|Reverse}}''' : Reverse the order of data.
* '''{{KEY|Reverse}}''': Obrácení pořadí dat.
* '''{{KEY|Reset}} / {{KEY|Upgrade}}''': This button as many function:
* ''' {{KEY|Reset}} / {{KEY|Upgrade}} ''': Toto tlačítko tolik funkcí:
*#If any selection in 3Dview this button {{KEY|Upgrade}} is displayed.<br />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 {{KEY|Reset}}.
* # Je-li výběr v 3D zobrazen, zobrazí se toto tlačítko {{KEY|Upgrade}}. <br /> Vyberte objekt v zobrazení 3Dview nebo Combo a klepnutím na toto tlačítko aktualizujete údaje v makru, změní se tlačítko {{KEY|Reset}}.
*#If one or many object(s) are selected before the run macro this button {{KEY|Reset}} is displayed.<br />Alls objects selected are displayed in the macro window.<br />After having '''Sort''' or '''Reverse''' the data displayed, this button {{KEY|Reset}} is used to return to the original order.<br />If you click in the 3DView or unselected all objects this button is used for reset to macro.<br />If you adding one or more object(s) in the list this button is used.
* # Je-li vybrán jeden nebo více objektů před spuštěním makra, zobrazí se toto tlačítko {{KEY|Reset}}. <br/> V okně makra jsou zobrazeny všechny vybrané objekty. 'Třídit''''nebo''' Obrátit '' zobrazené údaje, toto tlačítko {{KEY|Reset}} se používá k návratu k původní objednávce. <br /> Pokud kliknete na 3DView nebo nevyberete všechny objekty tlačítko se používá pro reset na makro. <br /> Pokud přidáváte jeden nebo více objektů v seznamu, použije se toto tlačítko.
* '''{{KEY|Select all}}''' : Select all objects in the document.
* '''{{KEY|Select all}}''': Vyberte všechny objekty v dokumentu.
* '''SpinBox''' : Increment the jump x Elements (Default 1 all objects are used).
* '''SpinBox''': Zvyšte skok x Elements (výchozí 1 všechny objekty jsou používány).
* '''{{KEY|Quit}}''' : Quit the macro.
* '''{{KEY|Quit}}''': Ukončete makro.
* '''CheckBox''' If the CheckBox is checked the work progress is displayed if not only the ProgressBar work (this method is faster) (Checked by default).
* '''CheckBox''' Pokud je CheckBox zaškrtnuto, zobrazí se průběh práce, pokud není pouze práce ProgressBar (tato metoda je rychlejší) (ve výchozím nastavení je zaškrtnuto).
* '''{{KEY|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
* '''{{KEY|Launch the Lofting}}''': Spusťte Lofting a resetujte makro. Zobrazí se číslo výběru a reálné číslo se zvýší, pokud se použije skok spinBoxu


<span id="The_interface"></span>
===The interface===
===Rozhraní===


[[File:Macro FCCreaLoft 01.png|400px|left|FCCreaLoft002]]
[[File:Macro FCCreaLoft 01.png|400px|left|FCCreaLoft002]]
{{clear}}
{{clear}}
==Script==


<span id="Script"></span>
The icons for you toolBar [[Image:FCCreaLoft.png|64px]]
==Skript==


<div class="mw-translate-fuzzy">
Download the macro to Gist [https://gist.github.com/mario52a/c477f892233d6abe02df5e97af828ff4 '''Macro_FCCreaLoft.FCMacro''']
Ikony pro nástroj Toolbar [[Image:FCCreaLoft.png|64px]]
</div>


Stáhněte makro na Gist [https://gist.github.com/mario52a/c477f892233d6abe02df5e97af828ff4 '''Macro_FCCreaLoft.FCMacro''']
==Links==


<span id="Links"></span>
The forum discussion [http://forum.freecadweb.org/viewtopic.php?f=24&t=5893&start=10 Texture]
==Odkazy==


Diskuse na fóru [http://forum.freecadweb.org/viewtopic.php?f=24&t=5893&start=10 Texture]
The [[Macro_Texture|Macro Texture]]

The [[Macro_Texture/cs|Macro Texture]]

<span id="Version"></span>
<div class="mw-translate-fuzzy">
==Verze==
ver 00.00 : 06/02/2016
</div>


==Version==
ver 00.00 : 06/02/2016
ver 00.00 : 06/02/2016


Line 54: Line 80:


ver 00.03 : 09/02/2016 : minor (display on button)
ver 00.03 : 09/02/2016 : minor (display on button)

ver 00.04 : 03/07/2019 : adapt to Python 3

Latest revision as of 22:10, 29 December 2023

Other languages:

Macro Loft

Description
Vytvoří vybrané dráty s loft wit.

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

Popis

speciálně napsané pro snadné lofting s liniemi vytvořenými Macro Texture (ale mohou být vhodné a použity pro společné loft)

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,
    "Information",
    "This macro must be downloaded from this link\n"
    "\n"
    "https://gist.githubusercontent.com/mario52a/c477f892233d6abe02df5e97af828ff4/raw/d633193c577e8257ef458b8c1824d1047c3c6613/Macro_FCCreaLoft.FCMacro" + "\n"
    "\n"
    "Quit this window to access the download page")

diag.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint)
diag.setWindowModality(QtCore.Qt.ApplicationModal)
diag.exec_()

import webbrowser 
webbrowser.open("https://gist.githubusercontent.com/mario52a/c477f892233d6abe02df5e97af828ff4/raw/d633193c577e8257ef458b8c1824d1047c3c6613/Macro_FCCreaLoft.FCMacro")


Texture_001_Logo

Použijte

Zkopírujte makro a ikonu do adresáře maker.

Copy the macro and the icon in your macro directory.

  • Sort : Třídit položky dat.
  • Reverse: Obrácení pořadí dat.
  • Reset / Upgrade : Toto tlačítko tolik funkcí:
  • # Je-li výběr v 3D zobrazen, zobrazí se toto tlačítko Upgrade.
    Vyberte objekt v zobrazení 3Dview nebo Combo a klepnutím na toto tlačítko aktualizujete údaje v makru, změní se tlačítko Reset.
  • # Je-li vybrán jeden nebo více objektů před spuštěním makra, zobrazí se toto tlačítko Reset.
    V okně makra jsou zobrazeny všechny vybrané objekty. 'Třídit'nebo Obrátit zobrazené údaje, toto tlačítko Reset se používá k návratu k původní objednávce.
    Pokud kliknete na 3DView nebo nevyberete všechny objekty tlačítko se používá pro reset na makro.
    Pokud přidáváte jeden nebo více objektů v seznamu, použije se toto tlačítko.
  • Select all: Vyberte všechny objekty v dokumentu.
  • SpinBox: Zvyšte skok x Elements (výchozí 1 všechny objekty jsou používány).
  • Quit: Ukončete makro.
  • CheckBox Pokud je CheckBox zaškrtnuto, zobrazí se průběh práce, pokud není pouze práce ProgressBar (tato metoda je rychlejší) (ve výchozím nastavení je zaškrtnuto).
  • Launch the Lofting: Spusťte Lofting a resetujte makro. Zobrazí se číslo výběru a reálné číslo se zvýší, pokud se použije skok spinBoxu

Rozhraní

FCCreaLoft002
FCCreaLoft002

Skript

Ikony pro nástroj Toolbar

Stáhněte makro na Gist Macro_FCCreaLoft.FCMacro

Odkazy

Diskuse na fóru Texture

The Macro Texture

Verze

ver 00.00 : 06/02/2016

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