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

156 lines
14 KiB
HTML

<html><head><title>PartDesign tutorial</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>PartDesign tutorial</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" style="width: 230px; float: right; margin-left: 1em">
<tr>
<td class="ctTitle">
<h3><span class="mw-headline" id="Tutorial"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Base_ExampleCommandModel.png" class="image"><img alt="Base ExampleCommandModel.png" src="32px-Base_ExampleCommandModel.png" width="32" height="30" srcset="/wiki/images/thumb/9/93/Base_ExampleCommandModel.png/48px-Base_ExampleCommandModel.png 1.5x, /wiki/images/9/93/Base_ExampleCommandModel.png 2x" /></a> Tutorial</span></h3>
</td></tr>
<tr>
<th class="ctOdd">Topic
</th></tr>
<tr>
<td class="ctEven">Sketcher
</td></tr>
<tr>
<th class="ctOdd">Level
</th></tr>
<tr>
<td class="ctEven">Beginner
</td></tr>
<tr>
<th class="ctOdd">Time to complete
</th></tr>
<tr>
<td class="ctEven">15 minutes
</td></tr>
<tr>
<th class="ctOdd">Author
</th></tr>
<tr>
<td class="ctEven"><a rel="nofollow" class="external text" href="https://www.freecadweb.org/wiki/index.php?title=User:Drei">Drei</a>
</td></tr>
<tr>
<th class="ctOdd">FreeCAD version
</th></tr>
<tr>
<td class="ctEven">0.16 or above
</td></tr>
<tr>
<th class="ctOdd">Example File(s)
</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="#Tutorial"><span class="tocnumber">1</span> <span class="toctext">Tutorial</span></a></li>
<li class="toclevel-1 tocsection-1"><a href="#Introduction"><span class="tocnumber">2</span> <span class="toctext">Introduction</span></a></li>
<li class="toclevel-1 tocsection-2"><a href="#Requirements"><span class="tocnumber">3</span> <span class="toctext">Requirements</span></a></li>
<li class="toclevel-1 tocsection-3"><a href="#Procedure"><span class="tocnumber">4</span> <span class="toctext">Procedure</span></a>
<ul>
<li class="toclevel-2 tocsection-4"><a href="#Creating_3D_geometry"><span class="tocnumber">4.1</span> <span class="toctext">Creating 3D geometry</span></a></li>
<li class="toclevel-2 tocsection-5"><a href="#Subtracting_Features"><span class="tocnumber">4.2</span> <span class="toctext">Subtracting Features</span></a></li>
<li class="toclevel-2 tocsection-6"><a href="#Pattern_Features"><span class="tocnumber">4.3</span> <span class="toctext">Pattern Features</span></a></li>
</ul>
</li>
</ul>
</div>
</td></tr></table>
<p><br />
</p>
<h3><span class="mw-headline" id="Introduction">Introduction</span></h3>
<p>This tutorial is meant to introduce the reader to the basic workflow of the <a href="PartDesign_Workbench.html" title="PartDesign Workbench">PartDesign Workbench</a>.
The reader will see how to create 3D objects based on Sketches, perform subtraction operations and how to replicate specific features in a pattern.
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:Sketcher_tutorial_result.png" class="image"><img alt="Sketcher tutorial result.png" src="480px-Sketcher_tutorial_result.png" width="480" height="437" srcset="/wiki/images/6/6f/Sketcher_tutorial_result.png 1.5x" /></a>
</p>
<h3><span class="mw-headline" id="Requirements">Requirements</span></h3>
<ul><li> FreeCAD version 0.16 or above</li>
<li> The reader has finished the <a href="Sketcher_tutorial.html" title="Sketcher tutorial">Sketcher tutorial</a></li></ul>
<h3><span class="mw-headline" id="Procedure">Procedure</span></h3>
<h4><span class="mw-headline" id="Creating_3D_geometry">Creating 3D geometry</span></h4>
<p>The purpose of the <b>PartDesign Workbench</b> is to allow the user to create geometry in 3D space. As such, it is equipped with tools to make use of sketches and convert them to 3D objects.
</p><p>To achieve this, two tools are exist: <a href="https://www.freecadweb.org/wiki/index.php?title=File:PartDesign_Pad.png" class="image"><img alt="PartDesign Pad.png" src="32px-PartDesign_Pad.png" width="32" height="32" srcset="/wiki/images/thumb/7/7e/PartDesign_Pad.png/48px-PartDesign_Pad.png 1.5x, /wiki/images/7/7e/PartDesign_Pad.png 2x" /></a> <a href="PartDesign_Pad.html" title="PartDesign Pad">Pad</a> and <a href="https://www.freecadweb.org/wiki/index.php?title=File:PartDesign_Revolution.png" class="image"><img alt="PartDesign Revolution.png" src="32px-PartDesign_Revolution.png" width="32" height="32" srcset="/wiki/images/thumb/6/6a/PartDesign_Revolution.png/48px-PartDesign_Revolution.png 1.5x, /wiki/images/6/6a/PartDesign_Revolution.png 2x" /></a> <a href="PartDesign_Revolution.html" title="PartDesign Revolution">Revolution</a>. Alongside their subtractive counterparts (<a href="https://www.freecadweb.org/wiki/index.php?title=File:PartDesign_Pocket.png" class="image"><img alt="PartDesign Pocket.png" src="32px-PartDesign_Pocket.png" width="32" height="32" srcset="/wiki/images/thumb/6/67/PartDesign_Pocket.png/48px-PartDesign_Pocket.png 1.5x, /wiki/images/6/67/PartDesign_Pocket.png 2x" /></a> <a href="PartDesign_Pocket.html" title="PartDesign Pocket">Pocket</a> and <a href="https://www.freecadweb.org/wiki/index.php?title=File:PartDesign_Groove.png" class="image"><img alt="PartDesign Groove.png" src="32px-PartDesign_Groove.png" width="32" height="32" srcset="/wiki/images/thumb/8/8d/PartDesign_Groove.png/48px-PartDesign_Groove.png 1.5x, /wiki/images/8/8d/PartDesign_Groove.png 2x" /></a> <a href="PartDesign_Groove.html" title="PartDesign Groove">Groove</a>) they make up most of the common actions used by this workbench.
</p>
<ol><li> Switch to the PartDesign Workbench</li>
<li> Select the sketch that was created in the <a href="Sketcher_tutorial.html" title="Sketcher tutorial">Sketcher tutorial</a></li>
<li> Select <a href="https://www.freecadweb.org/wiki/index.php?title=File:PartDesign_Pad.png" class="image"><img alt="PartDesign Pad.png" src="32px-PartDesign_Pad.png" width="32" height="32" srcset="/wiki/images/thumb/7/7e/PartDesign_Pad.png/48px-PartDesign_Pad.png 1.5x, /wiki/images/7/7e/PartDesign_Pad.png 2x" /></a> <a href="PartDesign_Pad.html" title="PartDesign Pad">Pad</a></li>
<li> Set the distance to 5 mm</li>
<li> Select <b>Ok</b></li></ol>
<p>Another way to create 3D geometry is with the <a href="https://www.freecadweb.org/wiki/index.php?title=File:PartDesign_Revolution.png" class="image"><img alt="PartDesign Revolution.png" src="32px-PartDesign_Revolution.png" width="32" height="32" srcset="/wiki/images/thumb/6/6a/PartDesign_Revolution.png/48px-PartDesign_Revolution.png 1.5x, /wiki/images/6/6a/PartDesign_Revolution.png 2x" /></a> <a href="PartDesign_Revolution.html" title="PartDesign Revolution">Revolution</a> tool.
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:PartDesign_revolution_exercise.png" class="image"><img alt="PartDesign revolution exercise.png" src="480px-PartDesign_revolution_exercise.png" width="480" height="215" srcset="/wiki/images/thumb/5/56/PartDesign_revolution_exercise.png/720px-PartDesign_revolution_exercise.png 1.5x, /wiki/images/5/56/PartDesign_revolution_exercise.png 2x" /></a>
</p>
<ol><li> Create a sketch based on the image above</li>
<li> Select <a href="https://www.freecadweb.org/wiki/index.php?title=File:PartDesign_Revolution.png" class="image"><img alt="PartDesign Revolution.png" src="32px-PartDesign_Revolution.png" width="32" height="32" srcset="/wiki/images/thumb/6/6a/PartDesign_Revolution.png/48px-PartDesign_Revolution.png 1.5x, /wiki/images/6/6a/PartDesign_Revolution.png 2x" /></a> <a href="PartDesign_Revolution.html" title="PartDesign Revolution">Revolution</a></li>
<li> Set the "Axis" to the "Horizontal Sketch Axis"</li>
<li> Set the angle to 360°</li></ol>
<h4><span class="mw-headline" id="Subtracting_Features">Subtracting Features</span></h4>
<p>We'll begin by creating a sketch with the shape we want to subtract.
</p>
<ol><li> Select the top flat face of the "Revolution"</li>
<li> Select <a href="https://www.freecadweb.org/wiki/index.php?title=File:Sketcher_NewSketch.png" class="image"><img alt="Sketcher NewSketch.png" src="32px-Sketcher_NewSketch.png" width="32" height="32" srcset="/wiki/images/thumb/4/46/Sketcher_NewSketch.png/48px-Sketcher_NewSketch.png 1.5x, /wiki/images/4/46/Sketcher_NewSketch.png 2x" /></a> <a href="Sketcher_NewSketch.html" title="Sketcher NewSketch">New sketch</a></li>
<li> Select <a href="https://www.freecadweb.org/wiki/index.php?title=File:Sketcher_External.png" class="image"><img alt="Sketcher External.png" src="32px-Sketcher_External.png" width="32" height="32" srcset="/wiki/images/thumb/b/b5/Sketcher_External.png/48px-Sketcher_External.png 1.5x, /wiki/images/b/b5/Sketcher_External.png 2x" /></a> <a href="Sketcher_External.html" title="Sketcher External">External Geometry</a></li>
<li> Approach the edge of the pad. An arc should be highlighted</li>
<li> Select the arc. An arc of a different color should appear in the sketch</li>
<li> Create a hexagon centered on the same point as the arc and set the radius of the reference circle to 5 mm</li></ol>
<div id="itsstillfree" style="text-align:center; background:#e0e0ee;margin:1em 7em;padding:0.5em 2em;border:2px solid #bb7736;"> <b>External Geometry</b>
<p>When a 3D element has been created it is possible to create references to it within a sketch.
</p>
<ol><li> Select <a href="https://www.freecadweb.org/wiki/index.php?title=File:Sketcher_External.png" class="image"><img alt="Sketcher External.png" src="32px-Sketcher_External.png" width="32" height="32" srcset="/wiki/images/thumb/b/b5/Sketcher_External.png/48px-Sketcher_External.png 1.5x, /wiki/images/b/b5/Sketcher_External.png 2x" /></a> <a href="Sketcher_External.html" title="Sketcher External">External Geometry</a>.</li>
<li> Approach the element that you wish to reference, the edge of a <b>Pad</b> for example.</li>
<li> Click on it</li>
<li> New elements of a different color should appear on the sketch in the location of the feature you wish to reference.</div></li></ol>
<p><br />
<a href="https://www.freecadweb.org/wiki/index.php?title=File:PartDesign_pocket_exercise.png" class="image"><img alt="PartDesign pocket exercise.png" src="480px-PartDesign_pocket_exercise.png" width="480" height="344" srcset="/wiki/images/8/8c/PartDesign_pocket_exercise.png 1.5x" /></a>
</p><p>Afterwards, we'll proceed to apply a <b>Pocket</b> feature.
</p>
<ol><li> Select the sketch</li>
<li> Select <a href="https://www.freecadweb.org/wiki/index.php?title=File:PartDesign_Pocket.png" class="image"><img alt="PartDesign Pocket.png" src="32px-PartDesign_Pocket.png" width="32" height="32" srcset="/wiki/images/thumb/6/67/PartDesign_Pocket.png/48px-PartDesign_Pocket.png 1.5x, /wiki/images/6/67/PartDesign_Pocket.png 2x" /></a> <a href="PartDesign_Pocket.html" title="PartDesign Pocket">Pocket</a></li>
<li> Set the distance to <b>Through all</b></li></ol>
<h4><span class="mw-headline" id="Pattern_Features">Pattern Features</span></h4>
<p>Recall the extruded profile that was created at the start of the tutorial.
</p>
<ol><li> Select the top face of the object</li>
<li> Create a new Sketch</li>
<li> Create reference geometry linked to the top arm of the figure</li>
<li> Create a circle constrained to the center of the reference arc</li>
<li> Set its radius to 3 mm</li>
<li> Pocket the sketch through all the workpiece</li></ol>
<p>Instead of creating a circle for each hole in the sketch, we will introduce the concept of <b>Pattern Features</b>. These tools operate by replicating a feature in the workpiece that has already been created and that we wish to reproduce in a linear or circular arrangement.
We will use a combination of <b>Linear</b> and <b>Polar</b> pattern features simulatneously to obtain the final workpiece.
</p>
<ol><li> Select the Pockt feature that we just created in the <b>Tree View</b></li>
<li> Select <a href="https://www.freecadweb.org/wiki/index.php?title=File:PartDesign_MultiTransform.png" class="image"><img alt="PartDesign MultiTransform.png" src="32px-PartDesign_MultiTransform.png" width="32" height="32" srcset="/wiki/images/thumb/4/46/PartDesign_MultiTransform.png/48px-PartDesign_MultiTransform.png 1.5x, /wiki/images/4/46/PartDesign_MultiTransform.png 2x" /></a> <a href="PartDesign_MultiTransform.html" title="PartDesign MultiTransform">MultiTransform</a></li></ol>
<p>In the Combo View we are now asked to introduce the <b>Transformations</b> that we desire. Notice that in the <b>MultiTransform parameters</b> menu we see that FreeCAD has identified the Pocket as the <b>Original feature</b> and a second box requests us to <b>Right click it</b> to introduce the pattern features.
</p>
<ol><li> Right click the box</li>
<li> Select <b>Add Linear Pattern</b></li>
<li> Set the <b>Direction</b> to <b>Vertical Sketch Axis</b></li>
<li> Set length to 10 mm</li>
<li> Leave occurrences at 2</li>
<li> Click OK</li>
<li> Right click the box again to add a <b>Polar Pattern</b>. Notice that the 3D view has now added the linear pattern.</li>
<li> Set occurrences to 5</li>
<li> Click OK twice</li></ol>
<p>After completing this task you should have the following result.
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:PartDesign_multitransform_exercise.png" class="image"><img alt="PartDesign multitransform exercise.png" src="480px-PartDesign_multitransform_exercise.png" width="480" height="353" srcset="/wiki/images/8/8b/PartDesign_multitransform_exercise.png 1.5x" /></a>
</p><p>If not, re-edit the MultiTransform operation by double clicking on it in the Tree View. Check both pattern features to detect necessary modifications, such as the <b>Axis</b> and if the <b>Direction</b> needs to be reversed.
</p><p>We are now finished with the basic workflow for the <a href="PartDesign_Workbench.html" title="PartDesign Workbench">PartDesign Workbench</a>.
</p>
<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=PartDesign_tutorial&amp;oldid=229906">http://www.freecadweb.org/wiki/index.php?title=PartDesign_tutorial&amp;oldid=229906</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>