Macro ObjectInfo/it: Difference between revisions
m (FuzzyBot moved page ObjectInfo/it to Macro ObjectInfo/it without leaving a redirect: Part of translatable page "ObjectInfo".) |
(Updating to match new version of source page) |
||
(41 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
{{Template:UnfinishedDocu}} |
|||
<div class="mw-translate-fuzzy"> |
|||
{{Macro/it |
|||
|Name=Macro ObjectInfo |
|||
|Translate=Info oggetto |
|||
|Description=Questa WorkBench consente di ottenere informazioni riguardo il volume, superficie, il baricentro e il momento di inerzia dell'oggetto selezionato. |
|||
|Author=keithsloan52 |
|||
|Version=1.0 |
|||
|Date=2012-11-09 |
|||
|FCVersion=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 [https://github.com/KeithSloan/FreeCAD_Info/archive/master.zip Info] |
|||
|SeeAlso=[[File:Arch Survey.svg|Arch Survey|24px]] [[Arch_Survey/it|Arch Survey]] |
|||
}} |
|||
</div> |
|||
==Description== |
==Description== |
||
This macro lets you know the volume information surface area, center of mass and moment of intertia of the selected object.<br /><br /> |
|||
⚫ | |||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
</div> |
|||
⚫ | |||
If you're on Linux, you need to create a folder named "Mod" in the .FreeCAD hidden folder which is located in your Home folder. Then create a folder named "Info" in the "Mod" folder, and extract the content of the archive in it. On Windows, I have no idea where that would be. Use the same procedure to Windows in C:\Program Files\FreeCAD\Mod. |
|||
⚫ | |||
==How to use== |
|||
⚫ | |||
Then start FreeCAD, open your STEP file and switch to the "Info" workbench with the workbench switcher or by going to the View --> Workbench menu. Now select your solid, and click on the "Info" icon; the left taskbar will show some information on the model, including volume, surface area, center of mass and moment of intertia. |
|||
⚫ | |||
⚫ | |||
==Usage== |
|||
⚫ | |||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
⚫ | |||
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 di inerzia. |
|||
</div> |
|||
<span id="Code"></span> |
|||
⚫ | |||
==Codice== |
|||
{{MacroCode|code= |
|||
Se necessario, fare riferimento al post http://forum.freecadweb.org/viewtopic.php?f=3&t=4036&p=31667&hilit=shape+info#p31667 |
|||
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") |
|||
* Selezionare l'ambiente '''Info''' |
|||
FreeCAD.Console.PrintMessage("http://keithsloan.dynu.com/Keith&Jenny/" + "\n") |
|||
* Selezionare un oggetto |
|||
webbrowser.open("https://github.com/KeithSloan/FreeCAD_Info/archive/master.zip") |
|||
* Cliccare sull'icona di Info |
|||
}} |
|||
=== Esempio === |
|||
==Links== |
|||
[[Image:ObjectInfoIt.png|750px|left]] |
|||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
== Legame == |
|||
Si tratta di un modulo creato da un utente di FreeCAD ottenibile presso http://www.sloan-home.co.uk/FreeCAD/Info/Info.html |
|||
</div> |
|||
⚫ | |||
[[Category:Macros/it]] |
|||
{{clear}} |
|||
⚫ |
Latest revision as of 22:02, 29 December 2023
Descrizione |
---|
Questa WorkBench consente di ottenere informazioni riguardo il volume, superficie, il baricentro e il momento di inerzia dell'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 |
Description
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.
Usage
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 di inerzia.
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")
Links
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.