Macro FCInfo Alternate Linux/ru

From FreeCAD Documentation
This page is a translated version of the page Macro FCInfo Alternate Linux and the translation is 8% complete.
Other languages:

Macro FCInfo Alternate Linux

Gives a series of information on the form. (only for PyQt4)

Macro version: 1.12
Last modified: 2014-03-05
Download: ToolBar Icon
Author: Mario52
ToolBar Icon
Macro Version
Date last modified
FreeCAD Version(s)
Default shortcut
See also
Macro FCInfo


Gives a series of informations about the selected shape and can display a conversion of length, inclination (degrees, radians, grades, pourcent) shape, surface, volume and the weight of the form in the density selected in different units of quantities international and Anglo-Saxon (only for PyQt4).

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"")

The server does not accept for the moment of the more pages of 64 KB and it was impossible to update and restore this page to me.


Download the file here :

Or on the forum

The difference between the regular version and the version "Ubuntu" in another type of encoding of the characters above + 128 with the procedure
PS: this version is derived from the original version, the difference is located at the level of encoding ² ³ ° µ characters that can cause the error "ordinal not in range (128)" on some configurations ?


global uniteSs       ; uniteSs       = u"mm²"
global uniteVs       ; uniteVs       = u"mm³"
global uniteAs       ; uniteAs       = u"°"

replace to :

global uniteSs       ; uniteSs       = "mm"+iso8859(unichr(178))
global uniteVs       ; uniteVs       = "mm"+iso8859(unichr(179))
global uniteAs       ; uniteAs       = iso8859(unichr(176))

Files saved with this macro are incompatible with the files of the other versions.

Both versions can operate independently of the OS used.