99 lines
7.9 KiB
HTML
99 lines
7.9 KiB
HTML
<html><head><title>TechDraw NewArch</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>TechDraw NewArch</h1></div>
|
|
|
|
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><div class="mw-parser-output"><table class="fcinfobox wikitable ct" >
|
|
<tr>
|
|
<td class="ctTitle">
|
|
<h3><span class="mw-headline" id="TechDraw_NewArch"><a href="https://www.freecadweb.org/wiki/index.php?title=File:TechDraw_NewArch.png" class="image"><img alt="TechDraw NewArch.png" src="32px-TechDraw_NewArch.png" width="32" height="32" srcset="/wiki/images/thumb/4/4f/TechDraw_NewArch.png/48px-TechDraw_NewArch.png 1.5x, /wiki/images/4/4f/TechDraw_NewArch.png 2x" /></a> TechDraw NewArch</span></h3>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Menu location
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">TechDraw → ArchView
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Workbenches
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven"><a href="TechDraw_Module.html" title="TechDraw Module">TechDraw</a>
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">Default shortcut
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">
|
|
</td></tr>
|
|
<tr>
|
|
<th class="ctOdd">See also
|
|
</th></tr>
|
|
<tr>
|
|
<td class="ctEven">
|
|
</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="#TechDraw_NewArch"><span class="tocnumber">1</span> <span class="toctext">TechDraw NewArch</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>
|
|
<li class="toclevel-1 tocsection-6"><a href="#Notes"><span class="tocnumber">7</span> <span class="toctext">Notes</span></a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</td></tr></table>
|
|
<p><br />
|
|
</p>
|
|
<h2><span class="mw-headline" id="Description">Description</span></h2>
|
|
<p>The ArchView tool inserts a view of an <a href="Arch_SectionPlane.html" title="Arch SectionPlane">Arch SectionPlane</a> on a <a href="TechDraw_New_Default.html" title="TechDraw New Default">TechDraw page</a>.
|
|
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:TechDraw_Arch_example.jpg" class="image"><img alt="TechDraw Arch example.jpg" src="TechDraw_Arch_example.jpg" width="1606" height="1134" /></a>
|
|
</p>
|
|
<h2><span class="mw-headline" id="How_to_use">How to use</span></h2>
|
|
<ol><li> Select an Arch section plane in the 3D view or in the tree</li>
|
|
<li> If you have multiple drawing pages in your document, you will need to select the desired page in the tree.</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:Techdraw-arch-view.png" class="image"><img alt="Techdraw-arch-view.png" src="24px-Techdraw-arch-view.png" width="24" height="24" srcset="/wiki/images/thumb/d/d5/Techdraw-arch-view.png/36px-Techdraw-arch-view.png 1.5x, /wiki/images/thumb/d/d5/Techdraw-arch-view.png/48px-Techdraw-arch-view.png 2x" /></a> <a class="mw-selflink selflink">ArchView</a></span> button</li>
|
|
<li> A view of the objects seen by the section plane will appear on the page.</li></ol>
|
|
<h2><span class="mw-headline" id="Options">Options</span></h2>
|
|
<ul><li> The Arch View is rendered by the <a href="Arch_Module.html" title="Arch Module">Arch Module</a>, the same way as in the <a href="Drawing_Workbench.html" class="mw-redirect" title="Drawing Workbench">Drawing Workbench</a>. See Notes.</li>
|
|
<li> <a href="Draft_Dimensions.html" title="Draft Dimensions">Draft Dimensions</a>, <a href="Draft_Text.html" title="Draft Text">Draft Texts</a> and any other 2D (Sketch or Draft) object considered by the section plane is rendered "as is" (no intersection or hidden lines) on top of the solid geometry</li>
|
|
<li> The volume of <a href="Arch_Space.html" title="Arch Space">Arch Spaces</a> is not rendered, only the label will be rendered</li>
|
|
<li> Cut lines, projected lines (if Show Hidden property is set to True) and 2D lines above can be rendered with different line widths. This can be configured in the Arch preferences.</li>
|
|
<li> The ArchView has two rendering modes: Wireframe, which uses the OpenCasCade algorithms of the <a href="Drawing_Module.html" title="Drawing Module">Drawing Module</a>, is fast and produces only lines (no face fill possible), and Solid, which is based on the <a rel="nofollow" class="external text" href="https://en.wikipedia.org/wiki/Painter%27s_algorithm">Painter's algorithm</a>, and is capable of rendering faces filled with their shape color. However, it is much slower and can fail in many situations. The image below illustrates the difference between the two rendering modes:</li></ul>
|
|
<p><a href="https://www.freecadweb.org/wiki/index.php?title=File:TechDraw_Arch_rendering.jpg" class="image"><img alt="TechDraw Arch rendering.jpg" src="TechDraw_Arch_rendering.jpg" width="1235" height="873" /></a>
|
|
</p>
|
|
<ul><li> Only the base line of <a href="Arch_Pipe.html" title="Arch Pipe">Arch Pipes</a> is rendered, not the full volume of the tube:</li></ul>
|
|
<p><a href="https://www.freecadweb.org/wiki/index.php?title=File:TechDraw_Arch_piping.jpg" class="image"><img alt="TechDraw Arch piping.jpg" src="TechDraw_Arch_piping.jpg" width="1084" height="534" /></a>
|
|
</p>
|
|
<h2><span class="mw-headline" id="Properties">Properties</span></h2>
|
|
<ul><li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Source</b>: The section plane object to be displayed</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>All On</b>: If hidden objects must be shown or not. If False, only objects that are visible in the 3D view are rendered</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Render Mode</b>: The render mode to use, Solid or Wireframe</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Show Hidden</b>: If the hidden geometry (the part of the goemetry that lies behind the section plane) is shown or not. It will be rendered in dashed line, which can be configured in the Arch preferences.</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Show Fill</b>: If cut areas must be filled with a grey color or not</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Line Width</b>: The width of the main lines. Cut lines and projected/2D line widths ratios can be configured in the Arch preferences</li>
|
|
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>Font Size</b>: The size of all texts that appear in this view</li></ul>
|
|
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
|
|
<p>ArchViews can be added to Pages using Python.
|
|
</p>
|
|
<pre>dv = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewArch','TestArch')
|
|
dv.Source = mySectionPlane
|
|
rc = page.addView(dv) </pre>
|
|
<h2><span class="mw-headline" id="Notes">Notes</span></h2>
|
|
<ul><li> Since the ArchView is rendered within the Arch Module, TechDraw has limited control over it's appearance. You may need to make changes within Arch to get the representation you want. </li></ul>
|
|
<div style="clear:both"></div>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div><div class="printfooter">
|
|
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=TechDraw_NewArch&oldid=257225">http://www.freecadweb.org/wiki/index.php?title=TechDraw_NewArch&oldid=257225</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> |