93 lines
7.0 KiB
HTML
93 lines
7.0 KiB
HTML
<html><head><title>Draft Shape2DView/cs</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>Draft Shape2DView/cs</h1></div>
|
|
|
|
<div id="mw-content-text" lang="cs" dir="ltr" class="mw-content-ltr"><hr/>
|
|
<div class="mw-parser-output"><table class="fcinfobox wikitable ct" >
|
|
<tr>
|
|
<td class="ctTitle">
|
|
<h3><span class="mw-headline" id="Kreslen.C3.AD_T.C4.9BlesoDo2DPohledu"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Shape2DView.png" class="image"><img alt="Draft Shape2DView.png" src="32px-Draft_Shape2DView.png" width="32" height="32" srcset="/wiki/images/thumb/9/9f/Draft_Shape2DView.png/48px-Draft_Shape2DView.png 1.5x, /wiki/images/9/9f/Draft_Shape2DView.png 2x" /></a> Kreslení TělesoDo2DPohledu</span></h3>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Umístění Menu
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">Kreslení -> TělesoDo2D
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Pracovní stoly
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Draft_Module/cs" title="Draft Module/cs">Kreslení</a>, <a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Module/cs" title="Arch Module/cs">Architektura</a>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Výchozí zástupce
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">Nikdo
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Viz také
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">Nikdo
|
|
</td></tr>
|
|
<tr>
|
|
<td class="ctToc"><br /><div id="toc" class="toc"><div class="toctitle"><h2>Contents</h2></div>
|
|
<ul>
|
|
<li class="toclevel-1"><a href="#Kreslen.C3.AD_T.C4.9BlesoDo2DPohledu"><span class="tocnumber">1</span> <span class="toctext">Kreslení TělesoDo2DPohledu</span></a></li>
|
|
<li class="toclevel-1 tocsection-1"><a href="#Popis"><span class="tocnumber">2</span> <span class="toctext">Popis</span></a></li>
|
|
<li class="toclevel-1 tocsection-2"><a href="#Pou.C5.BEit.C3.AD"><span class="tocnumber">3</span> <span class="toctext">Použití</span></a></li>
|
|
<li class="toclevel-1 tocsection-3"><a href="#Volby"><span class="tocnumber">4</span> <span class="toctext">Volby</span></a></li>
|
|
<li class="toclevel-1 tocsection-4"><a href="#Vlastnosti"><span class="tocnumber">5</span> <span class="toctext">Vlastnosti</span></a></li>
|
|
<li class="toclevel-1 tocsection-5"><a href="#Skriptov.C3.A1n.C3.AD"><span class="tocnumber">6</span> <span class="toctext">Skriptování</span></a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</td></tr></table>
|
|
<p><br />
|
|
</p>
|
|
<h2><span class="mw-headline" id="Popis">Popis</span></h2>
|
|
<p>This tool places in the document a 2D object which is a flattened view of a selected <a href="Part_Module.html" title="Part Module">Shape</a>-based object, projected along the current view direction.
|
|
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Shape2DView_example.jpg" class="image"><img alt="Draft Shape2DView example.jpg" src="Draft_Shape2DView_example.jpg" width="448" height="424" /></a>
|
|
</p>
|
|
<h2><span class="mw-headline" id="Pou.C5.BEit.C3.AD">Použití</span></h2>
|
|
<ol><li> Select the object you want to extract a 2D view from</li>
|
|
<li> Rotate the view (or use the view presets shortcuts) so it reflects the direction you want to project the object to. For example, using a Top view will project the object on the XY plane, vertically along the Z axis like on the image above.</li>
|
|
<li> Press the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Shape2DView.png" class="image"><img alt="Draft Shape2DView.png" src="16px-Draft_Shape2DView.png" width="16" height="16" srcset="/wiki/images/thumb/9/9f/Draft_Shape2DView.png/24px-Draft_Shape2DView.png 1.5x, 32px-Draft_Shape2DView.png 2x" /></a> <a href="Draft_Shape2DView.html" title="Draft Shape2DView">Draft Shape2DView</a></span> button</li></ol>
|
|
<h2><span class="mw-headline" id="Volby">Volby</span></h2>
|
|
<ul><li> Je-li vybraný objekt v <a href="https://www.freecadweb.org/wiki/index.php?title=Arch_SectionPlane/cs" title="Arch SectionPlane/cs">Architektura Řez</a>, bude ve 2D projekci obsah řezu, a projekční vektor bude převzat z řezu místo z vlastnosti Projekce (dále).</li>
|
|
<li> Normální operační mód je <b>Těleso</b>, který promítá celý tvar, ale pokud při vytváření 2D pohledu vyberete některou plochu ze základního objektu, můžete také nastavit mód <b>Individuální plochy</b>, což zajistí, že budou promítnuty pouze vybrané povrchy.</li>
|
|
<li> Je-li vybraný objekt v <a href="https://www.freecadweb.org/wiki/index.php?title=Arch_SectionPlane/cs" title="Arch SectionPlane/cs">Architektura Řez</a>, je k dispozici i projekční mód <b>řezné čáry</b>, který promítá pouze hrany řezu.</li></ul>
|
|
<h2><span class="mw-headline" id="Vlastnosti">Vlastnosti</span></h2>
|
|
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Projection</b>: The direction of the projection.</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Projection Mode</b>: The mode of the projection: solid, individual faces, or cutlines.</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>In Place</b>: If this is True, when using Cutlines or Cutfaces mode (<a href="Arch_SectionPlane.html" title="Arch SectionPlane">Arch SectionPlane</a> only), the result will appear at the cut plane location instead of the ground plane <span style="font-size:x-small;"><a href="Release_notes_0.17.html" title="Release notes 0.17">available in version 0.17</a></span></li></ul>
|
|
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>HiddenLines</b>: Shows hidden lines or not</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Tessellation</b>: Tessellate Ellipses and BSplines into line segments</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Segment Length</b>: The size of segments if Tessellation is turned on</li></ul>
|
|
<h2><span class="mw-headline" id="Skriptov.C3.A1n.C3.AD">Skriptování</span></h2>
|
|
<p>Nástroj TělesoDo2D může být použit v <a href="https://www.freecadweb.org/wiki/index.php?title=Macros/cs" title="Macros/cs">makrech</a> a z konzoly Pythonu použitím následující funkce:
|
|
</p>
|
|
<pre>makeShape2DView (object,[projection],[facenumbers]) </pre>
|
|
<ul><li> Přidá 2D tvar do dokumentu, tvar je 2D projekce zadaného objektu. </li>
|
|
<li> Může být specifikován projekční vektor. </li>
|
|
<li> Vrací vygenerovaný objekt. </li>
|
|
<li> Může být zadán seznam čísel ploch, které mají být použity.</li></ul>
|
|
<p>Příklad:
|
|
</p>
|
|
<pre>import FreeCAD,Draft
|
|
Draft.makeShape2DView(FreeCAD.ActiveDocument.ActiveObject) </pre>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div><div class="printfooter">
|
|
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Draft_Shape2DView/cs&oldid=229026">http://www.freecadweb.org/wiki/index.php?title=Draft_Shape2DView/cs&oldid=229026</a>"</div>
|
|
<div id="catlinks" class="catlinks" data-mw="interface"></div><div class="visualClear"></div>
|
|
</div>
|
|
</div>
|
|
<div id="mw-navigation">
|
|
<h2>Navigation menu</h2>
|
|
|
|
</body></html> |