Tutorials: Difference between revisions

From FreeCAD Documentation
(<gallery mode=packed> does not obstruct the image with the text. Every image should have a sentence that briefly describes the content of the tutorial.)
(File:T13_14_Threads_components.png for the thread tutorial)
(36 intermediate revisions by 4 users not shown)
Line 29: Line 29:
<translate>
<translate>


==Modeling Parts== <!--T:4-->
==Modeling parts== <!--T:4-->


<!--T:5-->
<!--T:5-->
FreeCAD provides two main workflows to modeling parts:
FreeCAD provides two main workflows to modeling parts:
* combining objects, a method called [https://en.wikipedia.org/wiki/Constructive_solid_geometry constructive solid geometry (CSG)] using the [[Part Module|Part workbench]], and
* combining objects, a method called [[Constructive solid geometry|Constructive solid geometry]] (CSG) using the [[Part Module|Part workbench]], and
* using parametric modelling and [[Glossary#Feature|feature]] editing with the [[PartDesign Workbench]].
* using parametric modelling and [[Feature editing|feature editing]] with the [[PartDesign Workbench|PartDesign Workbench]].


<!--T:23-->
<!--T:23-->
Please note that the [[PartDesign Workbench]] workflow was considerably changed from FreeCAD 0.17 onward; some of the tutorials haven't been updated and may refer to the 0.16 version.
Please note that the [[PartDesign Workbench|PartDesign Workbench]] workflow was considerably changed from FreeCAD 0.17 onward; some of the tutorials haven't been updated and may refer to the 0.16 version.


</translate>
</translate>
Line 44: Line 44:
<!--T:6-->
<!--T:6-->
File:GGTuto1 Vue.PNG|link=[[Creating a simple part with PartDesign]]|[[Creating a simple part with PartDesign]] (v0.17)<br/>An introduction to the PartDesign workflow: tracing a sketch, using pad, pocket, and moving the object.
File:GGTuto1 Vue.PNG|link=[[Creating a simple part with PartDesign]]|[[Creating a simple part with PartDesign]] (v0.17)<br/>An introduction to the PartDesign workflow: tracing a sketch, using pad, pocket, and moving the object.
PD WB Tutorial018.png|link=[[Basic Part Design Tutorial 017]]|[[Basic Part Design Tutorial]] (v0.17)<br/>Model a simple part using a feature editing methodology: creating a sketch, using pad, external references, pocket, and mirror.
PD WB Tutorial018.png|link=[[Basic Part Design Tutorial 017]]|[[Basic Part Design Tutorial 017|Basic Part Design Tutorial]] (v0.17)<br/>Model a simple part using a feature editing methodology: creating a sketch, using pad, external references, pocket, and mirror.
TBHS-model.png|link=[[Toothbrush Head Stand]]|[[Toothbrush Head Stand|Model an electric toothbrush head stand]] (v0.16)<br/>Multiple features used: sketch, distance and coincident constraints, pad, external references, fillet, chamfer, linear pattern, and draft.
TBHS-model.png|link=[[Toothbrush Head Stand]]|[[Toothbrush Head Stand|Model an electric toothbrush head stand]] (v0.16)<br/>Multiple features used: sketch, distance and coincident constraints, pad, external references, fillet, chamfer, linear pattern, and draft.
Exercise lego 01.jpg|link=[[Manual:Modeling for product design]]|[[Manual:Modeling for product design|Modeling for product design]] (v0.16)<br/>Modeling a Lego block: sketches, vertical and horizontal distance constraints, pad, pocket, external reference, linear pattern, and assembly.
Exercise lego 01.jpg|link=[[Manual:Modeling for product design]]|[[Manual:Modeling for product design|Modeling for product design]] (v0.16)<br/>Modeling a Lego block: sketches, vertical and horizontal distance constraints, pad, pocket, external reference, linear pattern, and assembly.
Exercise table complete.jpg|link=[[Manual:Traditional modeling, the CSG way]]|[[Manual:Traditional modeling, the CSG way|Traditional modeling, the CSG way]]<br/>Modeling a table by using simple solids like cubes and cylinders, and performing boolean operations (fusions and cuts) with them.
Exercise table complete.jpg|link=[[Manual:Traditional modeling, the CSG way]]|[[Manual:Traditional modeling, the CSG way|Traditional modeling, the CSG way]]<br/>Modeling a table by using simple solids like cubes and cylinders, and performing boolean operations (fusions and cuts) with them.
TutorialDraftShapeString_Complete.jpg|link=[[Draft ShapeString tutorial]]|[[Draft ShapeString tutorial]] (v0.16)<br/>Create engraved text on a solid: extrude a shapestring to make it solid, then use a boolean cut to carve it from another solid.
08_T04_Part_ShapesString_Extrude_final_cut.png|link=[[Draft ShapeString tutorial]]|[[Draft ShapeString tutorial]] (v0.19)<br/>Create engraved text on a solid: extrude a shapestring to make it solid, then use a boolean cut to carve it from another solid.
Tutorial WhiffleBall.jpg|link=[[Whiffle Ball tutorial]]|[[Whiffle Ball tutorial|Create a wiffle ball]] (v0.16)<br/>Use solid primitives, like cubes and cylinders, and boolean operations, like union and cut, to create a hollowed ball.
10_T03_Part_ball_fillet.png|link=[[Whiffle Ball tutorial]]|[[Whiffle Ball tutorial|Create a wiffle ball]] (v0.19)<br/>Use solid primitives, like cubes and cylinders, and boolean operations, like union and cut, to create a hollowed ball.
Tutorial-normand06.jpg|link=[[Basic modeling tutorial]]|[[Basic modeling tutorial]] <br/>Create an iron angle by two methods: using solid primitives, and boolean operations (CSG); and by extruding a planar profile.
Tutorial-normand06.jpg|link=[[Basic modeling tutorial]]|[[Basic modeling tutorial]] <br/>Create an iron angle by two methods: using solid primitives, and boolean operations (CSG); and by extruding a planar profile.
File:HTCaeroplane04.png|link=[[Aeroplane]]|[[Aeroplane|Aeroplane tutorial]] <br/>Understand placements in FreeCAD by creating a simple aeroplane model. Then learn about rotation angles, yaw (Z), pitch (Y), and roll (X).
File:T13_14_Threads_components.png|link=[[Thread_for_Screw_Tutorial]]|[[Thread_for_Screw_Tutorial|Thread for screw tutorial]] (v0.19)<br/>Understand how to create threads with several techniques that include use of the tools [[Part_Helix|Part Helix]], [[PartDesign_AdditivePipe|PartDesign AdditivePipe]], [[Part_Sweep|Part Sweep]], [[Part_Union|Part Union]], and [[Part_Cut|Part Cut]].
</translate>
</translate>
</gallery>
</gallery>
<translate>
<translate>

<!--T:30-->
The Raspberry Pi project has made simple tutorials that are easy to follow, particularly for those new to CAD systems:
* [https://projects.raspberrypi.org/en/projects/freecad-dice freecad-dice], model a die with six faces, and optionally 3D print it.
* [https://projects.raspberrypi.org/en/projects/freecad-headphone-tidy freecad-headphone-tidy], model a spool to organize and store earphones, and optionally 3D print it.
* [https://projects.raspberrypi.org/en/projects/freecad-chess-set freecad-chess-set], model and entire chess set in Bauhaus modernist style.
* [https://github.com/raspberrypilearning?utf8=%E2%9C%93&q=freecad&type=source&language= raspberrypilearning] repository (CC-BY 4.0) with other examples.


==Drafting and Sketching == <!--T:7-->
==Drafting and Sketching == <!--T:7-->
Line 62: Line 71:
<!--T:8-->
<!--T:8-->
Exercise cabin 01.jpg|link=[[Manual:Traditional 2D drafting]]|[[Manual:Traditional 2D drafting|Traditional 2D drafting]] <br/>Draw a floor plan with lines, wires, rectangles, circular arcs, and add hatch patterns, annotations, and dimensions. Export the result to DXF.
Exercise cabin 01.jpg|link=[[Manual:Traditional 2D drafting]]|[[Manual:Traditional 2D drafting|Traditional 2D drafting]] <br/>Draw a floor plan with lines, wires, rectangles, circular arcs, and add hatch patterns, annotations, and dimensions. Export the result to DXF.
Draft_tutorial_result.png|link=[[Draft tutorial]]|[[Draft tutorial]] (v0.16) <br/>This is a basic introduction to the tools of the Draft Workbench: working plane, grid, line, arc, upgrade, rectangle, circle, polygon, arrays, dimensions, annotations, and shapestring.
00_Dr01_Draft_Tutorial_final.png|link=[[Draft_tutorial]]|[[Draft tutorial]] (v0.19) <br/>This is a basic introduction to the tools of the [[Draft Workbench|Draft Workbench]]: working plane, grid, line, arc, upgrade, rectangle, circle, polygon, arrays, dimensions, annotations, and shapestring.
Sketcher tutorial result.png|link=[[Sketcher tutorial]]|[[Sketcher tutorial]] (v0.16) <br/>This is a basic introduction to the tools of the Sketcher Workbench: construction mode, line, circle, arc, constraints (equality, vertical, horizontal, tangential, distance, angle, radius).
Sketcher_reference.png|link=[[Sketcher reference]]|[[Sketcher_reference|Sketcher reference]] (v0.18) <br/> This is a 70-page long PDF document that serves as a detailed manual for the [[Sketcher Workbench|Sketcher Workbench]]. It explains the basics of Sketcher usage, and goes into a lot of detail about the creation of geometrical shapes, and each of the constraints.
Constrain3.png|link=[[Sketcher Micro Tutorial - Constraint Practices]]|[[Sketcher Micro Tutorial - Constraint Practices|Sketcher micro tutorial]] (v0.16)<br/>Learn to efficiently constrain a sketch. Prefer geometric constraints over dimensional constraints.
09b_Sk01_Sketcher_fully_constrained_clean.png|link=[[Basic Sketcher Tutorial]]|[[Basic Sketcher Tutorial]] (v0.19) <br/>This is a basic introduction to the tools of the Sketcher Workbench: construction mode, line, circle, arc, constraints (equality, vertical, horizontal, tangential, distance, angle, radius).
03d_Sk02_Sketcher_Rectangle_constrained_length.png|link=[[Sketcher_Micro_Tutorial_-_Constraint_Practices]]|[[Sketcher_Micro_Tutorial_-_Constraint_Practices|Sketcher constraints practices]] (v0.19)<br/>Learn to efficiently constrain a sketch. Prefer geometric constraints over datum constraints.
</translate>
</translate>
</gallery>
</gallery>
Line 88: Line 98:
<!--T:12-->
<!--T:12-->
FEM example01 pic00.jpg|link=[[FEM CalculiX Cantilever 3D]]|[[FEM CalculiX Cantilever 3D|CalculiX cantilever FEM analysis]] (v0.17) <br/>This in an example included in every installation of FreeCAD; it demonstrates a basic analysis with the CalculiX FE solver. Purge the current result, re-run the solver, and view the displacements and stresses in the deformed mesh in the viewport.
FEM example01 pic00.jpg|link=[[FEM CalculiX Cantilever 3D]]|[[FEM CalculiX Cantilever 3D|CalculiX cantilever FEM analysis]] (v0.17) <br/>This in an example included in every installation of FreeCAD; it demonstrates a basic analysis with the CalculiX FE solver. Purge the current result, re-run the solver, and view the displacements and stresses in the deformed mesh in the viewport.
FEM tutorial result.png|link=[[FEM tutorial]]|[[FEM tutorial|Simple FEM introduction]] (0.17) <br/>This is a short introduction to the steps required to perform an analysis in the FEM Workbench: model your object, create a mesh, add constraints and forces, add a material, run the solver, and visualize the results.
FEM tutorial result.png|link=[[FEM tutorial]]|[[FEM tutorial|Simple FEM introduction]] (v0.17) <br/>This is a short introduction to the steps required to perform an analysis in the FEM Workbench: model your object, create a mesh, add constraints and forces, add a material, run the solver, and visualize the results.
Figure 11 Deformed Mesh.png|link=[[FEM Shear of a Composite Block]]|[[FEM Shear of a Composite Block|FEM shear analysis of a composite block]] (v0.17) <br/>Study the deformation of a block made of a hard nucleus surrounded by a softer material: create mesh regions, add materials, set up sliding constraints, add shear loads, run the solver, and visualize the results with a clip plane.
Figure 11 Deformed Mesh.png|link=[[FEM Shear of a Composite Block]]|[[FEM Shear of a Composite Block|FEM shear analysis of a composite block]] (v0.17) <br/>Study the deformation of a block made of a hard nucleus surrounded by a softer material: create mesh regions, add materials, set up sliding constraints, add shear loads, run the solver, and visualize the results with a clip plane.
Femconcrete_Wall_3D_rx_PSS.png|link=[[Analysis_of_reinforced_concrete_with_FEM]]|[[Analysis_of_reinforced_concrete_with_FEM|Analysis of reinforced concrete with FEM]] (v0.19) <br/>Estimate the level of reinforcement required in a concrete structure to prevent brittle failure under tension or shear.
FEM_post-processing_Paraview.png|link=[[Post-Processing_of_FEM_Results_with_Paraview]]|[[Post-Processing_of_FEM_Results_with_Paraview|Post-Processing of FEM results with Paraview]] (v0.19)<br/>This tutorial explains the basics of transferring data from the FEM Workbench to Paraview and shows some of the options and settings for displaying data.
</translate>
</translate>
</gallery>
</gallery>
Line 125: Line 137:
Exercise raytracing 05.jpg|link=[[Manual:Creating renderings]]|[[Manual:Creating renderings|Creating renderings]] <br/>Quickly produce a rendered image of your bodies with POV-Ray and LuxRender, if they are installed in your system.
Exercise raytracing 05.jpg|link=[[Manual:Creating renderings]]|[[Manual:Creating renderings|Creating renderings]] <br/>Quickly produce a rendered image of your bodies with POV-Ray and LuxRender, if they are installed in your system.
Raytracing tutorial result.png|link=[[Raytracing tutorial]]|[[Raytracing tutorial]] (v0.16) <br/>Describes the basic workflow of the Raytracing Workbench using POV-Ray or LuxRender: set the path to the renderers, create a project, set the camera position, select the model, run the renderer.
Raytracing tutorial result.png|link=[[Raytracing tutorial]]|[[Raytracing tutorial]] (v0.16) <br/>Describes the basic workflow of the Raytracing Workbench using POV-Ray or LuxRender: set the path to the renderers, create a project, set the camera position, select the model, run the renderer.
Povray_before_after.png|link=[http://forum.freecadweb.org/viewtopic.php?f=36&t=32745]|[https://forum.freecadweb.org/viewtopic.php?f=36&t=32745 FreeCAD / pov ray tutorial] (v0.18) <br/>Workflow to produce a better render with POV-Ray: create a project, select objects, set the camera, save the .pov file, manually edit the file to improve the information on textures, planes, camera, lights, and then run the renderer from the command line.
12_T04_FreeCAD_POVray_render_floor_wood_walls_radiosity_final.png|link=[[Tutorial FreeCAD POV ray]]|[[Tutorial FreeCAD POV ray|Intermediate FreeCAD and POV-ray tutorial]] (v0.18) <br/>Workflow to produce a better render with POV-Ray: create a project, add objects, set the camera, save the .pov file, manually edit the file to improve the textures, planes, lights, and then run the renderer.
07_T03_FreeCAD_Blender_EEVEE_render.png|link=[[Tutorial_Render_with_Blender]]|[[Tutorial Render with Blender|Rendering a FreeCAD assembly with Blender]] (v0.18) <br/>Export bodies from FreeCAD to Wavefront .obj, import the file into Blender, set up a simple Sun light, assign basic materials with the Principled BSDF shader, and produce a rendered image with EEVEE and Cycles.
</translate>
</translate>
</gallery>
</gallery>
Line 133: Line 146:


</translate>
</translate>
<gallery mode=packed-overlay heights=200px style="font-size:1.1em">
<gallery mode=packed heights=200px style="font-size:1.1em">
<translate>
<translate>
<!--T:20-->
<!--T:20-->
Robot Tutorial RobotSimulation.gif|link=[[Robot tutorial]]|[[Robot tutorial]] <br/>Robot movement simulation.
Robot Tutorial RobotSimulation.gif|link=[[Robot tutorial]]|[[Robot tutorial]] (v0.17) <br/>Simulate the movement of an industrial robot: set up a trajectory, set up home position, change the robot position, insert various waypoints, and simulate the robot movement.
</translate>
</translate>
</gallery>
</gallery>
Line 143: Line 156:
== Plotting == <!--T:28-->
== Plotting == <!--T:28-->
</translate>
</translate>
<gallery mode=packed-overlay heights=200px style="font-size:1.1em">
<gallery mode=packed heights=200px style="font-size:1.1em">
<translate>
<translate>
<!--T:29-->
<!--T:29-->
Plot_Trigonometric_Example.png|link=[[Plot Basic tutorial]]|[[Plot Basic tutorial]]<br/>The basic tutorial to drawing mathematical plots in FreeCAD.
Plot_Trigonometric_Example.png|link=[[Plot Basic tutorial]]|[[Plot Basic tutorial|Basic plot]] <br/>Draw simple mathematical functions in the Plot Workbench using the underlying Python plotting libraries: define the input list (X), two output lists (Y1, Y2), plot the functions (Y1 and Y2 against X), set the grid, line styles, legends, axes labels, plot title, and save the plot.
Plot_MultiAxes_Example.png|link=[[Plot MultiAxes tutorial]]|[[Plot MultiAxes tutorial]]<br/>Draw several axes and several plots in the same figure.
Plot_MultiAxes_Example.png|link=[[Plot MultiAxes tutorial]]|[[Plot MultiAxes tutorial|Multiaxes plot]] <br/>Draw a more complicated plot in the Plot Workbench with two different input lists (X, T), and three output lists (Y1, Y2, Y3), then create two sets of axes in the same plot, and plot the pairs of lists (Y1 against X, and Y2 and Y3 against T); set the axes labels and grid, and move the legends and title.
</translate>
</translate>
</gallery>
</gallery>
Line 155: Line 168:
{{VeryImportantMessage|Development of the [[Drawing Workbench]] stopped in FreeCAD 0.16. Consider using the [[TechDraw Workbench]] instead.}}
{{VeryImportantMessage|Development of the [[Drawing Workbench]] stopped in FreeCAD 0.16. Consider using the [[TechDraw Workbench]] instead.}}
</translate>
</translate>
<gallery mode=packed-overlay heights=200px style="font-size:1.1em">
<gallery mode=packed heights=200px style="font-size:1.1em">
<translate>
<translate>
<!--T:27-->
<!--T:27-->
Drawing_tutorial_result.png|link=[[Drawing tutorial]]|[[Drawing tutorial]] <br/>Intro to creating blueprints with the Drawing workbench.
Drawing_tutorial_result.png|link=[[Drawing tutorial]]|[[<tvar|VE>Special:MyLanguage/Drawing tutorial</>|Drawing tutorial]] (v0.16)<br/>This is the essential introduction to the tools of the Drawing Workbench to create blueprints.
Exercise drawing 01.jpg|link=[[Manual:Generating 2D drawings]]|[[Manual:Generating 2D drawings|Generating 2D drawings]]
Exercise drawing 01.jpg|link=[[Manual:Generating 2D drawings]]|[[Manual:Generating 2D drawings|Generating 2D drawings]] (v0.16)<br/>Generate 2D projections of your 3D models, and add dimensions.
</translate>
</translate>
</gallery>
</gallery>
Line 167: Line 180:
{{docnav|List of Commands|Interface Customization}}
{{docnav|List of Commands|Interface Customization}}


<!--T:22-->
[[Category:Tutorials]]
[[Category:User Documentation]]
</translate>
</translate>
{{Userdocnavi{{#translation:}}}}
[[Category:Tutorials{{#translation:}}]]

Revision as of 22:58, 27 March 2020

This page presents a selection of high quality written tutorials. A complete, unsorted list of tutorials can be found in Category:Tutorials.

Visit offsite tutorials and video tutorials for lists of tutorials hosted on external sites. A useful source of video tutorials is YouTube.

If you'd like to contribute with writing wiki documentation and tutorials, see the general wiki guidelines in WikiPages, and read the tutorial guidelines.

Please notice the version of FreeCAD used in the tutorial as some tutorials may use an old version of the program. Although the general modelling process may still work, some tools may have changed.

Architecture and BIM

Modeling parts

FreeCAD provides two main workflows to modeling parts:

Please note that the PartDesign Workbench workflow was considerably changed from FreeCAD 0.17 onward; some of the tutorials haven't been updated and may refer to the 0.16 version.

The Raspberry Pi project has made simple tutorials that are easy to follow, particularly for those new to CAD systems:

Drafting and Sketching

Technical Drawings

FEM

CNC & 3D Printing

Import and Export

Rendering

Robot workbench

Plotting

Drawings

Development of the Drawing Workbench stopped in FreeCAD 0.16. Consider using the TechDraw Workbench instead.
List of Commands
Interface Customization