92 lines
6.9 KiB
HTML
92 lines
6.9 KiB
HTML
<html><head><title>Draft Shape2DView/tr</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/tr</h1></div>
|
||
|
||
<div id="mw-content-text" lang="tr" 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="Draft_Shape2DView"><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> Draft Shape2DView</span></h3>
|
||
</td></tr>
|
||
<tr>
|
||
<th class="ctOdd">Menü konumu
|
||
</th></tr>
|
||
<tr>
|
||
<td class="ctEven">Draft -> Shape 2D View
|
||
</td></tr>
|
||
<tr>
|
||
<th class="ctOdd">Workbenches
|
||
</th></tr>
|
||
<tr>
|
||
<td class="ctEven"><a href="https://www.freecadweb.org/wiki/index.php?title=Draft_Module/tr" title="Draft Module/tr">Draft</a>, <a href="https://www.freecadweb.org/wiki/index.php?title=Arch_Module/tr" title="Arch Module/tr">Arch</a>
|
||
</td></tr>
|
||
<tr>
|
||
<th class="ctOdd">Varsayılan kısayol
|
||
</th></tr>
|
||
<tr>
|
||
<td class="ctEven">Hiçbiri
|
||
</td></tr>
|
||
<tr>
|
||
<th class="ctOdd">Ayrıca bkz
|
||
</th></tr>
|
||
<tr>
|
||
<td class="ctEven">Hiçbiri
|
||
</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="Draft_Shape2DView.html"><span class="tocnumber">1</span> <span class="toctext">Draft Shape2DView</span></a></li>
|
||
<li class="toclevel-1 tocsection-1"><a href="#Description"><span class="tocnumber">2</span> <span class="toctext">Description</span></a></li>
|
||
<li class="toclevel-1 tocsection-2"><a href="#How_to_use"><span class="tocnumber">3</span> <span class="toctext">How to use</span></a></li>
|
||
<li class="toclevel-1 tocsection-3"><a href="#Options"><span class="tocnumber">4</span> <span class="toctext">Options</span></a></li>
|
||
<li class="toclevel-1 tocsection-4"><a href="#Properties"><span class="tocnumber">5</span> <span class="toctext">Properties</span></a></li>
|
||
<li class="toclevel-1 tocsection-5"><a href="#Scripting"><span class="tocnumber">6</span> <span class="toctext">Scripting</span></a></li>
|
||
</ul>
|
||
</div>
|
||
|
||
</td></tr></table>
|
||
<p><br />
|
||
</p>
|
||
<h2><span class="mw-headline" id="Description">Description</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="How_to_use">How to use</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="Options">Options</span></h2>
|
||
<ul><li> If the selected object is an <a href="Arch_SectionPlane.html" title="Arch SectionPlane">Arch SectionPlane</a>, the 2D projection will be of the contents of the Section plane, and the projection vector will be taken from the section plane instead of the Projection property below.</li>
|
||
<li> The normal operating mode is <b>Solid</b>, which projects the whole shape, but, if you selected some faces of the base object when creating the 2D view, you can also set the <b>Individual Faces</b> mode, which will project only the faces that were selected.</li>
|
||
<li> If the selected object is an <a href="Arch_SectionPlane.html" title="Arch SectionPlane">Arch SectionPlane</a>, <b>Cutlines</b> and <b>Cutfaces</b> projection mode are also available, which project only the edges being cut by the section plane. Cutfaces mode displays the cut areas of solids as faces.</li></ul>
|
||
<h2><span class="mw-headline" id="Properties">Properties</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="Scripting">Scripting</span></h2>
|
||
<p>The Draft Shape2DView tool can by used in <a href="Macros.html" title="Macros">macros</a> and from the python console by using the following function:
|
||
</p>
|
||
<pre>makeShape2DView (object,[projection],[facenumbers]) </pre>
|
||
<ul><li> Adds a 2D shape to the document, which is a 2D projection of the given object. </li>
|
||
<li> A specific projection vector can also be given. </li>
|
||
<li> Returns the generated object. </li>
|
||
<li> You can also provide a list of face numbers to be considered.</li></ul>
|
||
<p>Example:
|
||
</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/tr&oldid=229019">http://www.freecadweb.org/wiki/index.php?title=Draft_Shape2DView/tr&oldid=229019</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> |