PartDesign tutorial: Difference between revisions

From FreeCAD Documentation
No edit summary
m (<!--T:22--> corrrection Pockt --> Pocket)
 
(23 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<languages/>
<translate>
<translate>
<!--T:1-->

{{TutorialInfo
{{TutorialInfo
|Class= Sketcher
|Topic= Sketcher
|Level= Beginner
|Level= Beginner
|Time= 15 minutes
|Time= 15 minutes
Line 10: Line 11:
}}
}}


=== Introduction ===
=== Introduction === <!--T:2-->
This tutorial is meant to introduce the reader to the basic workflow of the [[PartDesign Workbench|PartDesign Workbench]].
This tutorial is meant to introduce the reader to the basic workflow of the [[PartDesign Workbench|PartDesign Workbench]].
The reader will see how to create 3D objects based on Sketches, perform subtraction operations and how to replicate specific features in a pattern.


<!--T:4-->
This tutorial will continue working with the sketch that was created previously.
[[Image:Sketcher_tutorial_result.png|480px]]


=== Requirements === <!--T:5-->
[[Image:PartDesign_tutorial_result.png|480px]]
* FreeCAD version 0.17 or above
* The reader has finished the [[Basic Sketcher Tutorial]]


=== Requirements ===
=== Procedure === <!--T:6-->
* FreeCAD version 0.16 or above
* The reader has read the [[Sketcher tutorial]]

=== Procedure ===
==== Creating 3D geometry ====
==== Creating 3D geometry ====
The purpose of the '''PartDesign Workbench''' is to allow the user to create geometry in 3D space to fulfill a certain need. AS such, it is equipped with tools to make use of sketches and convert them to 3D objects.
The purpose of the '''PartDesign Workbench''' 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.


<!--T:7-->
There are two basic features to achieve this: [[Image:PartDesign_Pad.png|32px]] [[PartDesign_Pad|Pad]] and [[Image:PartDesign_Revolution.png|32px]] [[PartDesign_Revolution|Revolution]]. Alongside their substractive counterparts ([[Image:PartDesign_Pocket.png|32px]] [[PartDesign_Pocket|Pocket]] and [[Image:PartDesign_Groove.png|32px]] [[PartDesign_Groove|Groove]]) they make up most of the common actions used by this workbench.
To achieve this, two tools are exist: [[Image:PartDesign_Pad.svg|32px]] [[PartDesign_Pad|Pad]] and [[Image:PartDesign_Revolution.svg|32px]] [[PartDesign_Revolution|Revolution]]. Alongside their subtractive counterparts ([[Image:PartDesign_Pocket.svg|32px]] [[PartDesign_Pocket|Pocket]] and [[Image:PartDesign_Groove.svg|32px]] [[PartDesign_Groove|Groove]]) they make up most of the common actions used by this workbench.


<!--T:8-->
# Switch to the PartDesign Workbench
# Switch to the PartDesign Workbench
# With the sketch selected in the [[tree_view|tree view]], press {{Button|[[File:PartDesign_Body.svg|16px]] [[PartDesign_Body|PartDesign Body]]}}, choose the default XY-plane, and press {{Button|OK}}. The sketch should appear now inside the Body.
# Select the sketch that was created in the [[Sketcher tutorial]]
# Select [[Image:PartDesign_Pad.png|32px]] [[PartDesign_Pad|Pad]]
# Select [[Image:PartDesign_Pad.svg|32px]] [[PartDesign_Pad|Pad]]
# Set the distance to 5 mm
# Set the distance to 5 mm
# Select '''Ok'''
# Select '''Ok'''


<!--T:9-->
Another way to create 3D geometry is with the [[Image:PartDesign_Revolution.png|32px]] [[PartDesign_Revolution|Revolution]] tool.
Another way to create 3D geometry is with the [[Image:PartDesign_Revolution.svg|32px]] [[PartDesign_Revolution|Revolution]] tool.


<!--T:10-->
[[Image:PartDesign_revolution_exercise.png|480px]]
[[Image:PartDesign_revolution_exercise.png|480px]]


<!--T:11-->
# Create a sketch based on the image above
# Create a new body {{Button|[[File:PartDesign_Body.svg|16px]] [[PartDesign_Body|PartDesign Body]]}}, and then a sketch based on the image above.
# Select [[Image:PartDesign_Revolution.png|32px]] [[PartDesign_Revolution|Revolution]]
# The sketch can be on any plane, but should be co-incident with the horizontal axis.
# Select [[Image:PartDesign_Revolution.svg|32px]] [[PartDesign_Revolution|Revolution]]
# Set the "Axis" to the "Horizontal Sketch Axis"
# Set the angle to 360°
# Set the angle to 360°


==== Subtracting Features ====
==== Subtracting Features ==== <!--T:12-->
We'll begin by creating a sketch with the shape we want to subtract.
We'll begin by creating a sketch with the shape we want to subtract.


<!--T:13-->
# Select the top face of the '''Pad'''
# Select the top flat face of the "Revolution"
# Select [[Image:Sketcher_NewSketch.png‎‎|32px]] [[Sketcher_NewSketch|New sketch]]
# Select [[Image:Sketcher_External.png|32px]] [[Sketcher_External|External Geometry]]
# Select [[Image:Sketcher_NewSketch.svg‎‎|32px]] [[Sketcher_NewSketch|New sketch]]
# Select [[Image:Sketcher_External.svg|32px]] [[Sketcher_External|External Geometry]]
# Approach the edge of the pad. An arc should be highlighted
# Approach the edge of the pad. An arc should be highlighted
# Select the arc. An arc of a different color should appear in the sketch
# Select the arc. An arc of a different color should appear in the sketch
# Create a circe centered on the same point as the arc and set its radius to 5 mm radius
# Create a hexagon centered on the same point as the arc and set the radius of the reference circle to 5 mm


<!--T:28-->
{{Message| '''External Geometry'''
When a 3D element has been created it is possible to create references to it within a sketch.
# Select [[Image:Sketcher_External.svg|32px]] [[Sketcher_External|External Geometry]].
# Approach the element that you wish to reference, the edge of a '''Pad''' for example.
# Click on it
# New elements of a different color should appear on the sketch in the location of the feature you wish to reference.}}


<!--T:19-->
[[Image:PartDesign_pocket_exercise.png|480px]]

<!--T:14-->
Afterwards, we'll proceed to apply a '''Pocket''' feature.
Afterwards, we'll proceed to apply a '''Pocket''' feature.


<!--T:15-->
# Select the sketch
# Select the sketch
# Select [[Image:PartDesign_Pocket.png|32px]] [[PartDesign_Pocket|Pocket]]
# Select [[Image:PartDesign_Pocket.svg|32px]] [[PartDesign_Pocket|Pocket]]
# Set the distance to '''Through all'''
# Set the distance to '''Through all'''


==== Pattern Features ====
==== Pattern Features ==== <!--T:16-->
Recall the extruded profile that was created at the start of the tutorial.


<!--T:20-->
# Select the top face of the object
# Create a new Sketch
# Create reference geometry linked to the top arm of the figure
# Create a circle constrained to the center of the reference arc
# Set its radius to 3 mm
# Pocket the sketch through all the workpiece


<!--T:21-->
We are now finished with the basic workflow for the [[Sketcher Module]].
Instead of creating a circle for each hole in the sketch, we will introduce the concept of '''Pattern Features'''. 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 '''Linear''' and '''Polar''' pattern features simulatneously to obtain the final workpiece.


<!--T:22-->
# Select the Pocket feature that we just created in the '''Tree View'''
# Select [[Image:PartDesign_MultiTransform.svg|32px]] [[PartDesign_MultiTransform|MultiTransform]]


<!--T:23-->
[[Category:User Documentation]]
In the Combo View we are now asked to introduce the '''Transformations''' that we desire. Notice that in the '''MultiTransform parameters''' menu we see that FreeCAD has identified the Pocket as the '''Original feature''' and a second box requests us to '''Right click it''' to introduce the pattern features.
[[Category:Tutorials]]

<!--T:24-->
# Right click the box
# Select '''Add Linear Pattern'''
# Set the '''Direction''' to '''Vertical Sketch Axis'''
# Set length to 10 mm
# Leave occurrences at 2
# Click OK
# Right click the box again to add a '''Polar Pattern'''. Notice that the 3D view has now added the linear pattern.
# Set occurrences to 5
# Click OK twice

<!--T:25-->
After completing this task you should have the following result.

<!--T:26-->
[[Image:PartDesign_multitransform_exercise.png|480px]]

<!--T:27-->
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 '''Axis''' and if the '''Direction''' needs to be reversed.

<!--T:17-->
We are now finished with the basic workflow for the [[PartDesign Workbench]].


</translate>
</translate>
{{clear}}
<languages/>

Latest revision as of 11:09, 14 September 2020

Tutorial
Topic
Sketcher
Level
Beginner
Time to complete
15 minutes
Authors
Drei
FreeCAD version
0.16 or above
Example files
See also
None

Introduction

This tutorial is meant to introduce the reader to the basic workflow of the PartDesign Workbench. The reader will see how to create 3D objects based on Sketches, perform subtraction operations and how to replicate specific features in a pattern.

Requirements

Procedure

Creating 3D geometry

The purpose of the PartDesign Workbench 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.

To achieve this, two tools are exist: Pad and Revolution. Alongside their subtractive counterparts ( Pocket and Groove) they make up most of the common actions used by this workbench.

  1. Switch to the PartDesign Workbench
  2. With the sketch selected in the tree view, press PartDesign Body, choose the default XY-plane, and press OK. The sketch should appear now inside the Body.
  3. Select Pad
  4. Set the distance to 5 mm
  5. Select Ok

Another way to create 3D geometry is with the Revolution tool.

  1. Create a new body PartDesign Body, and then a sketch based on the image above.
  2. The sketch can be on any plane, but should be co-incident with the horizontal axis.
  3. Select Revolution
  4. Set the "Axis" to the "Horizontal Sketch Axis"
  5. Set the angle to 360°

Subtracting Features

We'll begin by creating a sketch with the shape we want to subtract.

  1. Select the top flat face of the "Revolution"
  2. Select New sketch
  3. Select External Geometry
  4. Approach the edge of the pad. An arc should be highlighted
  5. Select the arc. An arc of a different color should appear in the sketch
  6. Create a hexagon centered on the same point as the arc and set the radius of the reference circle to 5 mm
External Geometry

When a 3D element has been created it is possible to create references to it within a sketch.

  1. Select External Geometry.
  2. Approach the element that you wish to reference, the edge of a Pad for example.
  3. Click on it
  4. New elements of a different color should appear on the sketch in the location of the feature you wish to reference.


Afterwards, we'll proceed to apply a Pocket feature.

  1. Select the sketch
  2. Select Pocket
  3. Set the distance to Through all

Pattern Features

Recall the extruded profile that was created at the start of the tutorial.

  1. Select the top face of the object
  2. Create a new Sketch
  3. Create reference geometry linked to the top arm of the figure
  4. Create a circle constrained to the center of the reference arc
  5. Set its radius to 3 mm
  6. Pocket the sketch through all the workpiece

Instead of creating a circle for each hole in the sketch, we will introduce the concept of Pattern Features. 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 Linear and Polar pattern features simulatneously to obtain the final workpiece.

  1. Select the Pocket feature that we just created in the Tree View
  2. Select MultiTransform

In the Combo View we are now asked to introduce the Transformations that we desire. Notice that in the MultiTransform parameters menu we see that FreeCAD has identified the Pocket as the Original feature and a second box requests us to Right click it to introduce the pattern features.

  1. Right click the box
  2. Select Add Linear Pattern
  3. Set the Direction to Vertical Sketch Axis
  4. Set length to 10 mm
  5. Leave occurrences at 2
  6. Click OK
  7. Right click the box again to add a Polar Pattern. Notice that the 3D view has now added the linear pattern.
  8. Set occurrences to 5
  9. Click OK twice

After completing this task you should have the following result.

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 Axis and if the Direction needs to be reversed.

We are now finished with the basic workflow for the PartDesign Workbench.