Macro FCInfo Alternate Linux/cs: Difference between revisions

From FreeCAD Documentation
(Created page with "==Beschreibung== Gibt eine Reihe von Informationen über die ausgewählte Form und kann eine Umwandlung von Länge, Neigung (Grad, Bogenmaß, Neigung, Fließvermögen), Form,...")
mNo edit summary
(13 intermediate revisions by the same user not shown)
Line 4: Line 4:
|Translate=Macro FCInfo Alternate Linux
|Translate=Macro FCInfo Alternate Linux
|Icon=FCInfo.png
|Icon=FCInfo.png
|Description=Gibt eine Reihe von Informationen zum Formular aus. (nur für PyQt4)
|Description=Vrátí sadu informací o formuláři. (pouze pro PyQt4)
|Author=Mario52
|Author=Mario52
|Version=1.12
|Version=1.12
Line 10: Line 10:
}}
}}


==Beschreibung==
==Popis==
Poskytuje řadu informací o vybraném tvaru a může zobrazovat konverzi délky, svahu (stupeň, radián, sklon, průtok), tvar, povrch, objem a hmotnost tvaru ve zvolené hustotě v různých měrných jednotkách v mezinárodním měřítku a v angličtině-Saxon (pouze pro PyQt4).
Gibt eine Reihe von Informationen über die ausgewählte Form und kann eine Umwandlung von Länge, Neigung (Grad, Bogenmaß, Neigung, Fließvermögen), Form, Oberfläche, Volumen und Gewicht der Form in der ausgewählten Dichte in verschiedenen Mengeneinheiten international und englisch anzeigen -Saxon (nur für PyQt4).


{{Codeextralink|https://gist.githubusercontent.com/mario52a/6c6b6131b0c14d800033/raw/ffa3d6857abb0ea207cee1ae13c1cb78edadbcf5/FCInfo_fr_Ver_1-12_No_Docked_Ubuntu.FCMacro}}
{{Codeextralink|https://gist.githubusercontent.com/mario52a/6c6b6131b0c14d800033/raw/ffa3d6857abb0ea207cee1ae13c1cb78edadbcf5/FCInfo_fr_Ver_1-12_No_Docked_Ubuntu.FCMacro}}


Server momentálně nepřijímá více stránek 64 kB a nebylo možné tuto stránku aktualizovat a obnovit.
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.


==Script==
==Script==
Stáhnout soubor zde:
Download the file here :


[http://forum.freecadweb.org/download/file.php?id=4453 FCInfo_en_Ver_1-12_No_Docked_Ubuntu.FCMacro.zip]
[http://forum.freecadweb.org/download/file.php?id=4453 FCInfo_en_Ver_1-12_No_Docked_Ubuntu.FCMacro.zip]
Line 24: Line 24:
[http://forum.freecadweb.org/viewtopic.php?f=10&t=3185&p=48579#p48579 Or on the forum]
[http://forum.freecadweb.org/viewtopic.php?f=10&t=3185&p=48579#p48579 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 <br />
Rozdíl mezi běžnou verzí a verzí "Ubuntu" v jiném typu kódování znaků nad + 128 s postupem <br />
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 ?
PS: tato verze je odvozena z původní verze, rozdíl je umístěn na úrovni kódovacích znaků '''² ³ ° μ''', které mohou v některých konfiguracích způsobit chybu "ordinal not in range (128)" na některých konfiguracích ?


Příklad:
Example :
{{Code|code=
{{Code|code=
global uniteSs ; uniteSs = u"mm²"
global uniteSs ; uniteSs = u"mm²"
Line 40: Line 40:
}}
}}


Soubory uložené s tímto makrem nejsou kompatibilní se soubory ostatních verzí.
Files saved with this macro are incompatible with the files of the other versions.


Obě verze mohou pracovat nezávisle na použitém operačním systému.
Both versions can operate independently of the OS used.


{{clear}}
{{clear}}

Revision as of 12:12, 18 December 2018

Macro FCInfo Alternate Linux

Popis
Vrátí sadu informací o formuláři. (pouze pro PyQt4)

Version macro : 1.12
Date last modification : 2014-03-05
Autor: Mario52
Autor
Mario52
Download
None
Odkazy
Verze
1.12
Datum poslední úpravy
2014-03-05
Verze FreeCAD
None
Výchozí zástupce
None
Viz též
None

Popis

Poskytuje řadu informací o vybraném tvaru a může zobrazovat konverzi délky, svahu (stupeň, radián, sklon, průtok), tvar, povrch, objem a hmotnost tvaru ve zvolené hustotě v různých měrných jednotkách v mezinárodním měřítku a v angličtině-Saxon (pouze pro 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,
    "Information",
    "This macro must be downloaded from this link\n"
    "\n"
    "https://gist.githubusercontent.com/mario52a/6c6b6131b0c14d800033/raw/ffa3d6857abb0ea207cee1ae13c1cb78edadbcf5/FCInfo_fr_Ver_1-12_No_Docked_Ubuntu.FCMacro" + "\n"
    "\n"
    "Quit this window to access the download page")

diag.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint)
diag.setWindowModality(QtCore.Qt.ApplicationModal)
diag.exec_()

import webbrowser 
webbrowser.open("https://gist.githubusercontent.com/mario52a/6c6b6131b0c14d800033/raw/ffa3d6857abb0ea207cee1ae13c1cb78edadbcf5/FCInfo_fr_Ver_1-12_No_Docked_Ubuntu.FCMacro")


Server momentálně nepřijímá více stránek 64 kB a nebylo možné tuto stránku aktualizovat a obnovit.

Script

Stáhnout soubor zde:

FCInfo_en_Ver_1-12_No_Docked_Ubuntu.FCMacro.zip

Or on the forum

Rozdíl mezi běžnou verzí a verzí "Ubuntu" v jiném typu kódování znaků nad + 128 s postupem
PS: tato verze je odvozena z původní verze, rozdíl je umístěn na úrovni kódovacích znaků ² ³ ° μ, které mohou v některých konfiguracích způsobit chybu "ordinal not in range (128)" na některých konfiguracích ?

Příklad:

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

Soubory uložené s tímto makrem nejsou kompatibilní se soubory ostatních verzí.

Obě verze mohou pracovat nezávisle na použitém operačním systému.