Macro FCInfo Alternate Linux/fr: Difference between revisions
Renatorivo (talk | contribs) (Created page with "{{Macro/fr|Icon=FCInfo|Name=Macro FCInfo Alternate|Name/fr=FCInfo Alternate|Description=Donne une série de renseignements sur la forme.|Author=Mario52}}") |
(Updating to match new version of source page) |
||
Line 18: | Line 18: | ||
Example : |
Example : |
||
{{Code|code= |
|||
<syntaxhighlight> |
|||
global uniteSs ; uniteSs = u"mm²" |
global uniteSs ; uniteSs = u"mm²" |
||
global uniteVs ; uniteVs = u"mm³" |
global uniteVs ; uniteVs = u"mm³" |
||
global uniteAs ; uniteAs = u"°" |
global uniteAs ; uniteAs = u"°" |
||
}} |
|||
</syntaxhighlight> |
|||
replace to : |
replace to : |
||
{{Code|code= |
|||
<syntaxhighlight> |
|||
global uniteSs ; uniteSs = "mm"+iso8859(unichr(178)) |
global uniteSs ; uniteSs = "mm"+iso8859(unichr(178)) |
||
global uniteVs ; uniteVs = "mm"+iso8859(unichr(179)) |
global uniteVs ; uniteVs = "mm"+iso8859(unichr(179)) |
||
global uniteAs ; uniteAs = iso8859(unichr(176)) |
global uniteAs ; uniteAs = iso8859(unichr(176)) |
||
}} |
|||
</syntaxhighlight> |
|||
Files saved with this macro are incompatible with the files of the other versions. |
Files saved with this macro are incompatible with the files of the other versions. |
Revision as of 12:22, 25 September 2016
File:FCInfo Macro FCInfo Alternate |
Description |
---|
Donne une série de renseignements sur la forme. Auteur: Mario52 |
Auteur |
Mario52 |
Téléchargement |
None |
Liens |
Page des macros Comment installer une macro Comment créer une barre d'outils |
Version Macro |
1.0 |
Dernière modification |
None |
Version(s) FreeCAD |
None |
Raccourci clavier |
None |
Voir aussi |
None |
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.
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 :
FCInfo_en_Ver_1-12_No_Docked_Ubuntu.FCMacro.zip
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 ?
Example :
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.