Macro ObjectInfo
Popis |
---|
Poskytuje informace o vybraném objektu Version macro : 1.0 Date last modification : 2012-11-09 Autor: keithsloan52 |
Autor |
keithsloan52 |
Download |
None |
Odkazy |
Makro recepty| Jak nainstalovat makra Jak přizpůsobit panely nástrojů |
Verze |
1.0 |
Datum poslední úpravy |
2012-11-09 |
Verze FreeCAD |
None |
Výchozí zástupce |
None |
Viz též |
None |
Popis
Toto makro vám umožňuje znát informační plochu objemu, střed hmoty a okamžik intertiktury vybraného objektu.
Instalace
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.
Code
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 keithsloan site" + "\n")
FreeCAD.Console.PrintMessage("http://keithsloan.dynu.com/Keith&Jenny/" + "\n")
webbrowser.open("http://keithsloan.dynu.com/Keith&Jenny/FreeCAD/Info/Info.zip")
Links
A FreeCAD user created a user-friendly "Info" module which you can get here: http://www.sloan-home.co.uk/FreeCAD/Info/Info.html
From Forum Info Workbench - Help with icons please.