Macro PartsLibrary/cs: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
mNo edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{Macro/cs
{{Macro/cs|Icon=FreeCAD Doc|Name=Parts Library|Name/cs=Parts Library|Description=Starts the Parts Library browser FreeCAD|Author=yorik|Version=1.0|Date=2014-03-25}}
|Name=Parts Library
|Translate=Parts Library
|Icon=FreeCAD Doc.png
|Description=Starts the Parts Library browser FreeCAD
|Author=yorik
|Version=1.0
|Date=2014-03-25
|FCVersion=All
|Download=[https://www.freecadweb.org/wiki/images/9/9d/FreeCAD_Doc.png ToolBar Icon]
}}


==Description)==
==Popis==


The [http://github.com/yorikvanhavre/FreeCAD-library FreeCAD Parts Library] is a community effort to provide a free library of reusable Parts to be inserted into your projects. You are welcome to participate and submit parts to the library, but keep in mind you must have rights to share them. See the [http://github.com/yorikvanhavre/FreeCAD-library readme] file for more details.
Knihovna náhradních dílů [http://github.com/yorikvanhavre/FreeCAD-library FreeCAD Parts Library] je komunitní snahou poskytnout bezplatnou knihovnu opakovaně použitelných částí, která bude vložena do vašich projektů. Jste vítáni, že se můžete účastnit a předložit do knihovny, ale nezapomeňte, že musíte mít práva k jejich sdílení. Podrobnější informace naleznete v souboru [http://github.com/yorikvanhavre/FreeCAD-library readme].


{{Codeextralink|https://raw.githubusercontent.com/FreeCAD/FreeCAD-library/master/PartsLibrary.FCMacro}}
{{Codeextralink|https://raw.githubusercontent.com/FreeCAD/FreeCAD-library/master/PartsLibrary.FCMacro}}


Toto makro, které je také obsaženo v knihovně, zobrazí panel prohlížeče uvnitř rozhraní FreeCAD, ze kterého můžete snadno procházet obsah knihovny a vložit část do aktuálního dokumentu, poklepáním na něj.
This macro, which is also included in the library, will show a browser panel inside the FreeCAD interface, from which you can easily browse the contents of the library, and insert a part into the current document, by double-clicking it.


[[Image:Freecad-parts-library.jpg|760px]]
[[Image:Freecad-parts-library.jpg|760px]]


==Skript==
Get the macro here:


ToolBar Icon [[Image:FreeCAD_Doc.png]]
http://github.com/yorikvanhavre/FreeCAD-library/blob/master/PartsLibrary.FCMacro

[http://github.com/yorikvanhavre/FreeCAD-library/blob/master/PartsLibrary.FCMacro PartsLibrary.FCMacro]

Latest revision as of 17:42, 7 August 2019

Other languages:

Parts Library

Popis
Starts the Parts Library browser FreeCAD

Version macro : 1.0
Date last modification : 2014-03-25
FreeCAD version : All
Download : ToolBar Icon
Autor: yorik
Autor
yorik
Download
ToolBar Icon
Odkazy
Verze
1.0
Datum poslední úpravy
2014-03-25
Verze FreeCAD
All
Výchozí zástupce
None
Viz též
None

Popis

Knihovna náhradních dílů FreeCAD Parts Library je komunitní snahou poskytnout bezplatnou knihovnu opakovaně použitelných částí, která bude vložena do vašich projektů. Jste vítáni, že se můžete účastnit a předložit do knihovny, ale nezapomeňte, že musíte mít práva k jejich sdílení. Podrobnější informace naleznete v souboru readme.

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://raw.githubusercontent.com/FreeCAD/FreeCAD-library/master/PartsLibrary.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://raw.githubusercontent.com/FreeCAD/FreeCAD-library/master/PartsLibrary.FCMacro")


Toto makro, které je také obsaženo v knihovně, zobrazí panel prohlížeče uvnitř rozhraní FreeCAD, ze kterého můžete snadno procházet obsah knihovny a vložit část do aktuálního dokumentu, poklepáním na něj.

Skript

ToolBar Icon

PartsLibrary.FCMacro