Macro ObjectInfo/it: Difference between revisions
mNo edit summary |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
<div class="mw-translate-fuzzy"> |
|||
{{Macro/it |
{{Macro/it |
||
|Name=Macro ObjectInfo |
|Name=Macro ObjectInfo |
||
Line 10: | Line 11: | ||
|SeeAlso=[[File:Arch Survey.svg|Arch Survey|24px]] [[Arch_Survey|Arch Survey]] |
|SeeAlso=[[File:Arch Survey.svg|Arch Survey|24px]] [[Arch_Survey|Arch Survey]] |
||
}} |
}} |
||
</div> |
|||
== Descrizione == |
== Descrizione == |
||
Line 25: | Line 27: | ||
==Codice== |
==Codice== |
||
{{Code|code= |
{{Code|code= |
||
import webbrowser |
import webbrowser |
||
Line 33: | Line 36: | ||
########## |
########## |
||
FreeCAD.Console. |
FreeCAD.Console.PrintMessage("\n" + "You must download the Info.zip file in the author github KeithSloan/FreeCAD_Infosite" + "\n") |
||
FreeCAD.Console.PrintMessage("This is not a macro but one WorkBench, uncompress the .zip file and paste the complete directory in the Mod user directory" + "\n") |
|||
FreeCAD.Console.PrintMessage("\n" + "You must download the Info.zip file in the author keithsloan site" + "\n") |
|||
FreeCAD.Console.PrintMessage("http://keithsloan.dynu.com/Keith&Jenny/" + "\n") |
FreeCAD.Console.PrintMessage("http://keithsloan.dynu.com/Keith&Jenny/" + "\n") |
||
webbrowser.open(" |
webbrowser.open("https://github.com/KeithSloan/FreeCAD_Info/archive/master.zip") |
||
}} |
}} |
||
== Legame == |
== Legame == |
||
Revision as of 10:21, 7 November 2019
Descrizione |
---|
Fornisce informazioni sull'oggetto selezionato Versione macro: 1.0 Ultima modifica: 2012-11-09 Versione FreeCAD: Until 0.17 and PyQt4 Download: Questa non è una macro ma un WorkBench, decomprime il file .zip e incolla la directory completa nella directory degli utenti Mod Info Autore: keithsloan52 |
Autore |
keithsloan52 |
Download |
Questa non è una macro ma un WorkBench, decomprime il file .zip e incolla la directory completa nella directory degli utenti Mod Info |
Link |
Raccolta di macro Come installare le macro Personalizzare la toolbar |
Versione macro |
1.0 |
Data ultima modifica |
2012-11-09 |
Versioni di FreeCAD |
Until 0.17 and PyQt4 |
Scorciatoia |
Nessuna |
Vedere anche |
Arch Survey |
Descrizione
Questa estensione fornisce il volume, la superfice e altre utili informazioni sull'oggetto selezionato.
Installazione
In Linux, creare la cartella "Mod" in .FreeCAD, nella propria Home. Poi, all'interno di "Mod", creare la cartella "Info" in cui estrarre l'archivio. In Windows, creare la cartella "Info" in C:\Program Files\FreeCAD0.xx\Mod.
Utilizzo
Quindi avviare FreeCAD, aprire il file STEP e passare al workbench "Info" con il workbench switcher o andando al menu Visualizza → Workbench. Ora seleziona il tuo solido e fai clic sull'icona "Info"; la barra delle applicazioni a sinistra mostrerà alcune informazioni sul modello, inclusi il volume, l'area della superficie, il centro di massa e il momento della intertia.
Codice
import webbrowser
##########
# WorkBenche
# Code used to download the zip file from FreeCAD
##########
FreeCAD.Console.PrintMessage("\n" + "You must download the Info.zip file in the author github KeithSloan/FreeCAD_Infosite" + "\n")
FreeCAD.Console.PrintMessage("http://keithsloan.dynu.com/Keith&Jenny/" + "\n")
webbrowser.open("https://github.com/KeithSloan/FreeCAD_Info/archive/master.zip")
Legame
Si tratta di un modulo creato da un utente di FreeCAD ottenibile presso http://www.sloan-home.co.uk/FreeCAD/Info/Info.html
Dal Forum Info Workbench - Help with icons please.