FreeCAD-Doc/localwiki/TechDraw_NewProjGroup.html
2018-07-08 12:11:49 -05:00

102 lines
6.6 KiB
HTML

<html><head><title>TechDraw NewProjGroup</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 NewProjGroup</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_NewProjGroup"><a href="https://www.freecadweb.org/wiki/index.php?title=File:TechDraw_NewProjGroup.png" class="image"><img alt="TechDraw NewProjGroup.png" src="32px-TechDraw_NewProjGroup.png" width="32" height="32" srcset="/wiki/images/thumb/6/6e/TechDraw_NewProjGroup.png/48px-TechDraw_NewProjGroup.png 1.5x, /wiki/images/6/6e/TechDraw_NewProjGroup.png 2x" /></a> TechDraw NewProjGroup</span></h3>
</td></tr>
<tr>
<th class="ctOdd">Menu location
</th></tr>
<tr>
<td class="ctEven">TechDraw → Insert Projection Group
</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">na
</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_NewProjGroup"><span class="tocnumber">1</span> <span class="toctext">TechDraw NewProjGroup</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 ProjectionGroup tool creates multiple orthographic projections (<a rel="nofollow" class="external free" href="https://en.wikipedia.org/wiki/Multiview_orthographic_projection">https://en.wikipedia.org/wiki/Multiview_orthographic_projection</a>) of one or more 3D objects (Body or Part). Optionally, isometric views of the 4 front corners can be included.
</p>
<div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:ProjGroupSample.png" class="image"><img alt="ProjGroupSample.png" src="ProjGroupSample.png" width="200" height="270" /></a></div></div>
<p>Note that if you only want to produce a single View, there is no advantage in using ProjectionGroup to do so, and in fact creating the View in Projection Group may take considerably longer than the equivalent basic View.
</p>
<h2><span class="mw-headline" id="How_to_use">How to use</span></h2>
<ol><li> Select one or more Body and/or Part objects in the 3D window or tree.</li>
<li> If you have multiple drawing pages in your document, you will also 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-projgroup.png" class="image"><img alt="Techdraw-projgroup.png" src="24px-Techdraw-projgroup.png" width="24" height="24" srcset="/wiki/images/thumb/6/62/Techdraw-projgroup.png/36px-Techdraw-projgroup.png 1.5x, /wiki/images/thumb/6/62/Techdraw-projgroup.png/48px-Techdraw-projgroup.png 2x" /></a> <a class="mw-selflink selflink">Insert Projection Group</a></span> button</li>
<li> A dialog will open in which you can select which views should appear in the group, the group's scale and other parameters.</li>
<li> You can move the group as a whole by dragging the central view. You can also move individual views by dragging. </li></ol>
<div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:TaskProjGroup.png" class="image"><img alt="TaskProjGroup.png" src="300px-TaskProjGroup.png" width="300" height="411" srcset="/wiki/images/f/f7/TaskProjGroup.png 1.5x" /></a></div></div>
<h2><span class="mw-headline" id="Options">Options</span></h2>
<p>None.
</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>Anchor</b>: The central view in the group. Normally the Front view.</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>ProjectionType</b>: "First Angle" or Third Angle".</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>AutoDistribute</b>: If true, space out individual views automatically. Use false to position manually.</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>spacingX</b>: Horizontal space between views when automatically positioned.</li>
<li> <span style="font-size: 0.6em;padding-right:10px;">DATA</span><b>spacingY</b>: Vertical space between views when automatically positioned.</li></ul>
<p>Note: The ProjectionGroup as a whole inherits X,Y,ScaleType,Scale and Rotation from the basic view.
Note: Individual views within the group inherit all part view properties.
</p>
<h2><span class="mw-headline" id="Scripting">Scripting</span></h2>
<p>ProjGroups can be added to Pages using Python.
</p>
<pre>group = FreeCAD.ActiveDocument.addObject('TechDraw::DrawProjGroup','pGroup')
group.Source = [fusion]
group.ScaleType = "Document"
anchorView = group.addProjection("Front")
group.Anchor = anchorView
leftView = group.addProjection("Left")
topView = group.addProjection("Top")
page.addView(group) </pre>
<h2><span class="mw-headline" id="Notes">Notes</span></h2>
<ul><li> None at this time.</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_NewProjGroup&amp;oldid=246238">http://www.freecadweb.org/wiki/index.php?title=TechDraw_NewProjGroup&amp;oldid=246238</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>