SheetMetal Workbench: Difference between revisions

From FreeCAD Documentation
(Workbench pages should use {{TOCright}} to show the contents on the right and save vertical space)
(Marked this version for translation)
 
(95 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{UnfinishedDocu{{#translation:}}}}
<translate>
<translate>


== Overview == <!--T:39-->
<!--T:54-->
<!-- Note to editors: Moved tutorial to it's own page. -->
[[Image:Sheetmetal_workbench_icon.svg|thumb|128px|Sheet Metal External workbench icon]]


</translate>
{{TOCright}}
{{TOCright}}
<translate>

==Introduction== <!--T:39-->


<!--T:1-->
<!--T:1-->
[[File:SheetMetal SMLogo.svg|32px]] '''Sheet Metal''' is an add-on workbench to design and unfold sheet metal parts. It is not part of the standard FreeCAD install.
[[Image:Sheetmetal_workbench_icon.svg|32px]] [[SheetMetal_Workbench|Sheet Metal]] is an [[External_workbenches|external workbench]] and does not belong to the standard FreeCAD installation. It has been developed to supply tools to create and unfold sheet metal objects.


<!--T:67-->
Characteristics of sheet metal objects are:
* They have a constant thickness
* They can be unfolded, if they are made of planar walls and cylindrical connections only


<!--T:40-->
<!--T:68-->
The unfolding tool in both of its versions is not restricted to parts made with tools from this workbench, but can handle [[Part_Workbench|Part]] and [[PartDesign_Workbench|PartDesign]] objects as well, as long as they meet above characteristics.
::</translate>[[File:SheetMetal Example.png|600px|none]]<translate>

</translate>
[[Image:SheetMetal Example.png|600px]]
<translate>
<!--T:2-->
<!--T:2-->
''In the picture above: the sheet metal model built with the Sheet Metal add-on (rear); in front of it, the unfold solid; at the forefront, the unfold sketch with bending lines for export to DXF.
{{Caption|The sheet metal model built with the Sheet Metal add-on (rear); in front of it, the unfolded solid; at the forefront, the unfold sketch with bending lines for export to DXF.}}
Warning: If the export in DXF is used to control machines (Lasercut for example), you have to modify the DXF to remove the lines showing the folds, that this machine will take for cutting lines''


==References== <!--T:3-->
<!--T:46-->
If the export in DXF is used to control machines (Lasercut for example), you have to modify the DXF to remove the lines showing the folds, as these lines may be used for cutting by the machine.

<!--T:4-->
* Author:
** Folding tools: Copyright 2015-2018 by Shai Seger
** Unfolding tool: Copyright 2014 by Ulrich Brammer
* License: [https://www.gnu.org/licenses/gpl-3.0.en.html GPLv3]
* Official blog: [http://theseger.com/projects/2015/06/sheet-metal-addon-for-freecad/ Sheet metal Addon for FreeCAD]
* Source code on github: https://github.com/shaise/FreeCAD_SheetMetal


==Installation== <!--T:5-->
==Installation== <!--T:5-->


<!--T:6-->
<!--T:6-->
This workbench can be easily installed and updated from the [[Addon Manager]] available in FreeCAD 0.17 and above. For FreeCAD 0.16 users and other install methods, please refer to [[Installing#Installing_additional_contents|Installing_additional_contents]].
This workbench can be installed from the [[Std_AddonMgr|Addon Manager]]. For manual installation see [[Installing_more_workbenches|Installing more workbenches]].


==Tools== <!--T:7-->
==Tools== <!--T:7-->


<!--T:8-->
<!--T:8-->
A detailed description of the tools can be found [http://theseger.com/projects/2015/06/sheet-metal-addon-for-freecad/ on the author's blog].
A detailed description of the tools can be found [http://theseger.com/projects/2015/06/sheet-metal-addon-for-freecad/ on the author's blog]. It's a bit outdated now, since some new tools have been added.


<!--T:9-->
<!--T:55-->
*[[Image:SheetMetal_Bend.svg|32px]] '''Bend''': extends a wall from a side face of the metal sheet. Properties can be edited in the Data tab:
* [[Image:SheetMetal_AddBase.svg|32px]] [[SheetMetal_AddBase|Make Base Wall]]: Creates a sheet metal base object from a sketch, either a profile or a plate.
** {{PropertyData|angle}}: Bend angle.
** {{PropertyData|extend1}}: Extends the wall on the left side.
** {{PropertyData|extend2}}: Extends the wall on the right side.
** {{PropertyData|gap1}}: Gap from the left side.
** {{PropertyData|gap2}}: Gap from the right side.
** {{PropertyData|invert}}: Invert bend direction.
** {{PropertyData|length}}: Length of the wall.
** {{PropertyData|miterangle1}}: Bend miter angle on the left side.
** {{PropertyData|miterangle2}}: Bend miter angle on the right side.
** {{PropertyData|radius}}: Bend radius.
** {{PropertyData|relief Type}}: Rectangle or Round. Enabled only when a gap value is set.
** {{PropertyData|reliefd}}: Relief depth. Enabled only when a gap value is set.
** {{PropertyData|reliefw}}: Relief width. Enabled only when a gap value is set.
** {{PropertyData|kfactor}}: K factor (also known as neutral factor) for the bend. Used to calculate bend allowance when unfolding.
** {{PropertyData|unfold}}: False (default) or True. If true, unfolds the bend.
*[[Image:SheetMetal_Extrude.svg|32px]] '''Extrude''': extends a face along normal. Properties can be edited in the Data tab:
** {{PropertyData|gap1}}: Gap from the left side.
** {{PropertyData|gap2}}: Gap from the right side.
** {{PropertyData|length}}: Length of the wall.
*[[Image:SheetMetal_Unfold.svg|32px]] '''Unfold''': flattens folded sheet metal object and generates a solid and a sketch. The Unfold objects are not parametrically linked to the model; if edits are made to the model, the Unfold operation needs to be redone.


==Basic Usage== <!--T:10-->
<!--T:56-->
* [[Image:SheetMetal_AddWall.svg|32px]] [[SheetMetal_AddWall|Make Wall]]: Adds a flange on each selected edge of a base plate. (The flange can be turned into a hem by modifying its angle.)


<!--T:11-->
<!--T:57-->
* [[Image:SheetMetal_Extrude.svg|32px]] [[SheetMetal_Extrude|Extend Face]]: Extends a sheet metal plate at a selected edge face along its normal. (By adding an outline sketch it can be used to create interlocking geometry.)
The work flow is pretty simple: start with a base plate or sheet, select a thin face representing the thickness of the metal sheet, and click on the [[Image:SheetMetal_Bend.svg|32px]] '''Bend''' tool to add a bend, or on the [[Image:SheetMetal_Extrude.svg|32px]] '''Extrude''' tool to extend the face.


<!--T:12-->
<!--T:58-->
* [[Image:SheetMetal_AddFoldWall.svg|32px]] [[SheetMetal_AddFoldWall|Fold a Wall]]: Folds a face at a chosen line with a specified bend radius.
The workbench does not have a tool to create a base plate, so you need to start your model with one of those methods:
* A [[File:Part_Box.png|24px]] [[Part Box|Part Cube]]
* An extruded solid made with [[File:Part Extrude.png|24px]] [[Part Extrude]] from a [[File:Draft Rectangle.png|24px]] [[Draft Rectangle]], [[File:Draft Wire.png|24px]] [[Draft Wire]] or a [[File:Sketcher NewSketch.png|24px]] [[Sketcher NewSketch|Sketch]]
* A [[File:PartDesign Body.png|24px]] [[PartDesign Body]] containing an [[File:PartDesign AdditiveBox.png|24px]] [[PartDesign AdditiveBox|additive box]] or a [[File:PartDesign Pad.png|24px]] [[PartDesign Pad]] made from a [[Sketcher NewSketch|Sketch]].
If you start with a PartDesign Body, you can mix Sheet Metal features with PartDesign features such as [[File:PartDesign Pocket.png|24px]] [[PartDesign Pocket|pockets]] or [[File:PartDesign Hole.png|24px]] [[PartDesign Hole|holes]].


<!--T:13-->
<!--T:59-->
* [[Image:SheetMetal_Unfold.svg|32px]] [[SheetMetal_Unfold|Unfold]]: Flattens a folded sheet metal object and generates an unfold solid and an outline sketch with bend lines (provides a dialog to set parameters).
To unfold a sheet metal part, select a planar face and click on the [[Image:SheetMetal_Unfold.svg|32px]] '''Unfold''' icon.

<!--T:66-->
* [[Image:SheetMetal_UnattendedUnfold.svg|32px]] [[SheetMetal_UnattendedUnfold|Unattended Unfold]]: Flattens a folded sheet metal object and generates an unfold solid and an outline sketch with bend lines (if parameters have already been set).

<!--T:60-->
* [[Image:SheetMetal_AddCornerRelief.svg|32px]] [[SheetMetal_AddCornerRelief|Add Corner Relief]]: Adds a corner relief to a corner.

<!--T:61-->
* [[Image:SheetMetal_AddRelief.svg|32px]] [[SheetMetal_AddRelief|Make Relief]]: 1st step to convert a shell object into an unfoldable sheet metal object, adds a relief (cutout) to a corner.

<!--T:62-->
* [[Image:SheetMetal_AddJunction.svg|32px]] [[SheetMetal_AddJunction|Make Junction]]: 2nd step to convert a shell object into an unfoldable sheet metal object, creates an open junction on the edge of two walls.

<!--T:63-->
* [[Image:SheetMetal_AddBend.svg|32px]] [[SheetMetal_AddBend|Make Bend]]: 3rd step to convert a shell object into an unfoldable sheet metal object, replaces sharp edges with round bends.

<!--T:64-->
* [[Image:SheetMetal_SketchOnSheet.svg|32px]] [[SheetMetal_SketchOnSheet|Sketch On Sheet metal]]: Cuts a sketch based hole pattern along the folded walls of a sheet metal object.

<!--T:65-->
* [[Image:SheetMetal_Forming.svg|32px]] [[SheetMetal_Forming|Make Forming in Wall]]: Embosses shapes with or without holes into a sheet metal plate.

<!--T:99-->
* [[Image:SheetMetal_BaseShape.svg|32px]] [[SheetMetal_BaseShape|Add base shape]]: Adds a basic sheet metal object from parameters.

==Brief description== <!--T:69-->

<!--T:70-->
This workbench provides tools for the two main tasks:
* Create sheet metal objects
* Unfold sheet metal objects

<!--T:71-->
This section is meant to give a rough idea of how to use the supplied tools. More detailed information can be found on each tool's own page (see above) or in the linked tutorials (see below).

===Create a sheet metal object=== <!--T:72-->

====Start with a profile==== <!--T:73-->

<!--T:74-->
# Create an open polyline (preferably with the sketcher)
# Use the [[Image:SheetMetal_AddBase.svg|16px]] [[SheetMetal_AddBase|Make Base Wall]] command to create a sheet metal profile.

====Start with a blank==== <!--T:75-->

<!--T:76-->
# Create a closed polyline (preferably with the sketcher)
# Use the [[Image:SheetMetal_AddBase.svg|16px]] [[SheetMetal_AddBase|Make Base Wall]] command to create a sheet metal blank.

====Start with a PartDesign Pad==== <!--T:77-->

<!--T:78-->
# Create a closed polyline (preferably with the sketcher)
# Use the [[Image:PartDesign_Pad.svg|16px]] [[PartDesign_Pad|PartDesign Pad]] command to create a prismatic body.
# The [[Image:PartDesign_Thickness.svg|16px]] [[PartDesign_Thickness|PartDesign Thickness]] command will make it an object of constant thickness.
# To make it unfoldable it needs some gaps or connections between the walls:
## The [[Image:SheetMetal_AddRelief.svg|16px]] [[SheetMetal_AddRelief|Make Relief]] command will cut off selected corners.
## The [[Image:SheetMetal_AddJunction.svg|16px]] [[SheetMetal_AddJunction|Make Junction]] command will create junctions with gaps between adjoining walls that need to be disjoined.
## The [[Image:SheetMetal_AddBend.svg|16px]] [[SheetMetal_AddBend|Make Bend]] command will create cylindrical connections for the remaining walls that need to stay joined.

<!--T:79-->
Some parameters will be inherited from the parent object(s) but it is better to check the relevant parameters at each stage.

<!--T:80-->
It should now be checked if the resulting sheet metal object can be unfolded. (see [[#Unfold_a_sheet_metal_object|Unfold...]] below).

====Adding more features==== <!--T:81-->

<!--T:82-->
The unfoldable basic sheet metal objects can be extended:
# Use the [[Image:SheetMetal_Extrude.svg|16px]] [[SheetMetal_Extrude|Extend Face]] command to enlarge walls.
# The [[Image:SheetMetal_AddWall.svg|16px]] [[SheetMetal_AddWall|Make Wall]] command will add new flanges or hems to the existing object.
# Use the [[Image:SheetMetal_AddCornerRelief.svg|16px]] [[SheetMetal_AddCornerRelief|Add Corner Relief]] command to add or reshape corner reliefs.
# The [[Image:SheetMetal_AddFoldWall.svg|16px]] [[SheetMetal_AddFoldWall|Fold a Wall]] command will fold a wall at a chosen line, i.e. it will trimm a wall at said line, relocate the cut away side, and rejoin them with a cylindrical connection.
# Use the [[Image:SheetMetal_SketchOnSheet.svg|16px]] [[SheetMetal_SketchOnSheet|Sketch on Sheet metal]] command to cut holes into the object starting on a chosen wall and then following the adjoined walls and connections.
# The [[Image:SheetMetal_Forming.svg|16px]] [[SheetMetal_Forming|Make Forming in Wall]] command will stamp a shape into a plate (wall).
:: After the creation of a WallForming feature the SheetMetal object is '''no longer unfoldable'''!

<!--T:83-->
Several tools from other workbenches can be used to add holes or to reshape edges.

===Unfold a sheet metal object=== <!--T:84-->

<!--T:85-->
To unfold a sheet metal object activate the [[Image:SheetMetal_Unfold.svg|16px]] [[SheetMetal_Unfold|Unfold]] or the [[Image:SheetMetal_UnattendedUnfold.svg|16px]] [[SheetMetal_UnattendedUnfold|Unattended Unfold]] tool.

<!--T:86-->
The result will be a 3D object with an optional outline sketch including bend lines.

===Examples=== <!--T:87-->

<!--T:88-->
Until tutorial pages are available on this wiki there is an [[SheetMetal_Examples|Examples]] page.

</translate>
[[Image:SheetMetal_Example-01.png|100px]]
[[Image:SheetMetal_Example-02.png|100px]]
[[Image:SheetMetal_Example-03.png|100px]]
[[Image:SheetMetal_Example-04.png|100px]]
[[Image:SheetMetal_Example-05.png|100px]]
<translate>

<!--T:98-->
It contains some hints about [[SheetMetal_Examples#SheetMetal properties|properties]] as well.


==Limitations== <!--T:14-->
==Limitations== <!--T:14-->


<!--T:15-->
<!--T:15-->
* The workbench is affected by the [[Glossary#Topological Naming|topological naming issue]] that is inherent to FreeCAD. If an edit of a bend earlier in the history of the part renumbers the faces, then the following bends may be affected and switch faces. If the bend features do not break, you can double-click on it to get a dialog where you can select the proper face in the 3D view, and update the Bend.
* The workbench is affected by the [[Glossary#Topological Naming|topological naming issue]] that is inherent to FreeCAD. If an edit of a bend earlier in the history of the part renumbers the faces, then the following bends may be affected and switch faces. If the bend features do not break, you can double-click on it to get a dialog where you can select the proper face in the [[3D view]], and update the Bend.
* The Unfold tool has some limitations, and will fail in certain complex situations. When it fails, try to select a different face.
* The Unfold tool has some limitations, and will fail in certain complex situations. When it fails, try to select a different face.
* Frequent case of crash: take a lot of precautions not to cut in the hinges (the folds) either along the faces or in the angles nor to make holes or notches through the angles.


==Tutorials== <!--T:16-->
==Tutorials== <!--T:16-->


</translate><div class="mw-collapsible mw-collapsed toccolours" style="width:800px"><translate>
===Sheet Metal Tutorial by meme2704=== <!--T:17-->

<!--T:17-->
===Sheet Metal Tutorial by meme2704===
The following tutorial is reproduced from the PDF tutorial mentioned in [[#Links|Links]].
The following tutorial is reproduced from the PDF tutorial mentioned in [[#Links|Links]].
</translate><div class="mw-collapsible-content"><translate>


====Presentation of the workbench==== <!--T:18-->
====Presentation of the workbench==== <!--T:18-->
Line 93: Line 185:
</translate>[[Image:sm1.png|none]]<translate>
</translate>[[Image:sm1.png|none]]<translate>


====1st operation==== <!--T:20-->
====1st operation==== <!--T:89-->

<!--T:20-->
* Get the base: use either the workbenches "part" or "draft", make 1 sketch that will contain all holes and any cuts, extrude this base to the thickness of the sheet.
* Get the base: use either the workbenches "part" or "draft", make 1 sketch that will contain all holes and any cuts, extrude this base to the thickness of the sheet.
* Bear in mind that the edges will always be in addition as well as the folding radii.
* Bear in mind that the edges will always be in addition as well as the folding radii.
Line 99: Line 193:
</translate>[[Image:sm2.png|none]]<translate>
</translate>[[Image:sm2.png|none]]<translate>


====2nd operation==== <!--T:21-->
====2nd operation==== <!--T:90-->

<!--T:21-->
* Open the Sheet_metal workbench.
* Open the Sheet_metal workbench.
* Select 1 thickness of the edge (edge) of the base plate and click on the "bend" tool 90° default bend angle can be changed from 0 to 90°.
* Select 1 thickness of the edge (edge) of the base plate and click on the "bend" tool 90° default bend angle can be changed from 0 to 90°.
Line 131: Line 227:
</translate>[[Image:sm5a.png|none]]<translate>
</translate>[[Image:sm5a.png|none]]<translate>


====Unfolding==== <!--T:25-->
====Unfolding==== <!--T:91-->

<!--T:25-->
Choose 1 reference face (here the orange face) and click on the button in the toolbar. <br />
Choose 1 reference face (here the orange face) and click on the button in the toolbar. <br />
We obtain the blue part of which it is enough to modify the values X, Y, or Z to see it in totality. <br />
We obtain the blue part of which it is enough to modify the values X, Y, or Z to see it in totality. <br />
Line 137: Line 235:
</translate>[[Image:sm6.png|none]]<translate>
</translate>[[Image:sm6.png|none]]<translate>


====Cut the flaps at 45°==== <!--T:26-->
====Cut the flaps at 45°==== <!--T:92-->

<!--T:26-->
After folding the flaps without having made a withdrawal, the shape thus appears.
After folding the flaps without having made a withdrawal, the shape thus appears.


Line 156: Line 256:
</translate>[[Image:sm9.png|none]]<translate>
</translate>[[Image:sm9.png|none]]<translate>


====Piercing edges and flaps==== <!--T:29-->
====Piercing edges and flaps==== <!--T:93-->

<!--T:29-->
Make these holes and cuts after folding and before unfolding. <br />
Make these holes and cuts after folding and before unfolding. <br />
Always take care not to "scratch" the fold lines. <br />
Always take care not to "scratch" the fold lines. <br />
Line 162: Line 264:
</translate>[[Image:sm10.png|none]]<translate>
</translate>[[Image:sm10.png|none]]<translate>


====Make wired flaps==== <!--T:30-->
====Make wired flaps==== <!--T:94-->

<!--T:30-->
Make 1 fold on the edge of the side, at 45 ° of 0.1mm long, then 1 other reverse at 45 ° of the length of the contiguous flap, then extend the opposite side, it will pass over and they will not be merged. <br />
Make 1 fold on the edge of the side, at 45 ° of 0.1mm long, then 1 other reverse at 45 ° of the length of the contiguous flap, then extend the opposite side, it will pass over and they will not be merged. <br />


</translate>[[Image:sm11.png|none]]<translate>
</translate>[[Image:sm11.png|none]]<translate>


====Special case of this same pierced edge==== <!--T:31-->
====Special case of this same pierced edge==== <!--T:95-->

<!--T:31-->
In this particular case, unfolding only works by choosing the yellow face as a reference. <br />
In this particular case, unfolding only works by choosing the yellow face as a reference. <br />


</translate>[[Image:sm12.png|none]]<translate>
</translate>[[Image:sm12.png|none]]<translate>


====Special case hole straddling the folds==== <!--T:96-->


<!--T:32-->
====Special case hole straddling the folds==== <!--T:32-->
Previously it is said several times that it is not necessary to cut the folding lines. <br />
Previously it is said several times that it is not necessary to cut the folding lines. <br />
How to do ? <br />
How to do ? <br />
Line 185: Line 292:
* The result is the red piece above, and the unfolding works, stays the line that separated the 2 edges previously
* The result is the red piece above, and the unfolding works, stays the line that separated the 2 edges previously


</translate>[[Image:sm14.png|none]]<translate>
</translate>[[Image:sm14.png|none]]
</div> <!--END of Tutorial section collapsible div. Do not delete this line -->
</div> <!--END of Tutorial section collapsible div. Do not delete this line -->
<translate>


==Videos== <!--T:97-->

<!--T:45-->
* [https://www.youtube.com/watch?v=xidvQYkC4so The Elegant Sheet Metal Workbench] by Joko Engineering


==Links== <!--T:34-->
==Links== <!--T:34-->


<!--T:35-->
<!--T:35-->
* [[Macro_Sheet_Metal_Unfolder]], the original macro the Unfold tool is based on.
* [[Macro Sheet Metal Unfolder]], the original macro the Unfold tool is based on.
* [http://forum.freecadweb.org/viewtopic.php?t=11303 Sheet Metal Workbench] announcement on the FreeCAD Forum
* [https://forum.freecadweb.org/viewtopic.php?f=3&t=25002 An English and French tutorial in PDF format] on the FreeCAD forum.
* Report bugs/Request features: https://github.com/shaise/FreeCAD_SheetMetal/issues.
* [https://forum.freecadweb.org/viewtopic.php?f=3&t=25002 An English and French tutorial in PDF format] on the FreeCAD forum
* Videos:
* Files:
* Reporting bugs: https://github.com/shaise/FreeCAD_SheetMetal/issues


== External workbenches == <!--T:41-->
==References== <!--T:3-->


<!--T:42-->
<!--T:4-->
* Author:
FreeCAD workbenches are easy to program in [[Python|Python]], there are therefore many people developing additional workbenches outside of the FreeCAD main developers.
** Folding tools: Copyright 2015-2018 by Shai Seger

** Unfolding tool: Copyright 2014 by Ulrich Brammer
<!--T:43-->
* License: [https://www.gnu.org/licenses/gpl-3.0.en.html GPLv3]
The [[external workbenches|external workbenches]] page has some information and tutorials on some of them, and the [https://github.com/FreeCAD/FreeCAD-addons FreeCAD Addons] project aims at gathering them and making them easily installable from within FreeCAD.
* Source code on github: https://github.com/shaise/FreeCAD_SheetMetal

<!--T:44-->
New workbenches are in development, stay tuned!

<!--T:38-->
{{Userdocnavi}}


<!--T:36-->
[[Category:Addons]]


<!--T:37-->
[[Category:User Documentation]]
</translate>
</translate>
[[Category:SheetMetal{{#translation:}}]]
[[Category:Addons{{#translation:}}]]
[[Category:External Command Reference{{#translation:}}]]

Latest revision as of 13:36, 11 November 2023

This documentation is not finished. Please help and contribute documentation.

GuiCommand model explains how commands should be documented. Browse Category:UnfinishedDocu to see more incomplete pages like this one. See Category:Command Reference for all commands.

See WikiPages to learn about editing the wiki pages, and go to Help FreeCAD to learn about other ways in which you can contribute.

Sheet Metal External workbench icon

Introduction

Sheet Metal is an external workbench and does not belong to the standard FreeCAD installation. It has been developed to supply tools to create and unfold sheet metal objects.

Characteristics of sheet metal objects are:

  • They have a constant thickness
  • They can be unfolded, if they are made of planar walls and cylindrical connections only

The unfolding tool in both of its versions is not restricted to parts made with tools from this workbench, but can handle Part and PartDesign objects as well, as long as they meet above characteristics.

The sheet metal model built with the Sheet Metal add-on (rear); in front of it, the unfolded solid; at the forefront, the unfold sketch with bending lines for export to DXF.

If the export in DXF is used to control machines (Lasercut for example), you have to modify the DXF to remove the lines showing the folds, as these lines may be used for cutting by the machine.

Installation

This workbench can be installed from the Addon Manager. For manual installation see Installing more workbenches.

Tools

A detailed description of the tools can be found on the author's blog. It's a bit outdated now, since some new tools have been added.

  • Make Base Wall: Creates a sheet metal base object from a sketch, either a profile or a plate.
  • Make Wall: Adds a flange on each selected edge of a base plate. (The flange can be turned into a hem by modifying its angle.)
  • Extend Face: Extends a sheet metal plate at a selected edge face along its normal. (By adding an outline sketch it can be used to create interlocking geometry.)
  • Fold a Wall: Folds a face at a chosen line with a specified bend radius.
  • Unfold: Flattens a folded sheet metal object and generates an unfold solid and an outline sketch with bend lines (provides a dialog to set parameters).
  • Unattended Unfold: Flattens a folded sheet metal object and generates an unfold solid and an outline sketch with bend lines (if parameters have already been set).
  • Make Relief: 1st step to convert a shell object into an unfoldable sheet metal object, adds a relief (cutout) to a corner.
  • Make Junction: 2nd step to convert a shell object into an unfoldable sheet metal object, creates an open junction on the edge of two walls.
  • Make Bend: 3rd step to convert a shell object into an unfoldable sheet metal object, replaces sharp edges with round bends.

Brief description

This workbench provides tools for the two main tasks:

  • Create sheet metal objects
  • Unfold sheet metal objects

This section is meant to give a rough idea of how to use the supplied tools. More detailed information can be found on each tool's own page (see above) or in the linked tutorials (see below).

Create a sheet metal object

Start with a profile

  1. Create an open polyline (preferably with the sketcher)
  2. Use the Make Base Wall command to create a sheet metal profile.

Start with a blank

  1. Create a closed polyline (preferably with the sketcher)
  2. Use the Make Base Wall command to create a sheet metal blank.

Start with a PartDesign Pad

  1. Create a closed polyline (preferably with the sketcher)
  2. Use the PartDesign Pad command to create a prismatic body.
  3. The PartDesign Thickness command will make it an object of constant thickness.
  4. To make it unfoldable it needs some gaps or connections between the walls:
    1. The Make Relief command will cut off selected corners.
    2. The Make Junction command will create junctions with gaps between adjoining walls that need to be disjoined.
    3. The Make Bend command will create cylindrical connections for the remaining walls that need to stay joined.

Some parameters will be inherited from the parent object(s) but it is better to check the relevant parameters at each stage.

It should now be checked if the resulting sheet metal object can be unfolded. (see Unfold... below).

Adding more features

The unfoldable basic sheet metal objects can be extended:

  1. Use the Extend Face command to enlarge walls.
  2. The Make Wall command will add new flanges or hems to the existing object.
  3. Use the Add Corner Relief command to add or reshape corner reliefs.
  4. The Fold a Wall command will fold a wall at a chosen line, i.e. it will trimm a wall at said line, relocate the cut away side, and rejoin them with a cylindrical connection.
  5. Use the Sketch on Sheet metal command to cut holes into the object starting on a chosen wall and then following the adjoined walls and connections.
  6. The Make Forming in Wall command will stamp a shape into a plate (wall).
After the creation of a WallForming feature the SheetMetal object is no longer unfoldable!

Several tools from other workbenches can be used to add holes or to reshape edges.

Unfold a sheet metal object

To unfold a sheet metal object activate the Unfold or the Unattended Unfold tool.

The result will be a 3D object with an optional outline sketch including bend lines.

Examples

Until tutorial pages are available on this wiki there is an Examples page.

It contains some hints about properties as well.

Limitations

  • The workbench is affected by the topological naming issue that is inherent to FreeCAD. If an edit of a bend earlier in the history of the part renumbers the faces, then the following bends may be affected and switch faces. If the bend features do not break, you can double-click on it to get a dialog where you can select the proper face in the 3D view, and update the Bend.
  • The Unfold tool has some limitations, and will fail in certain complex situations. When it fails, try to select a different face.
  • Frequent case of crash: take a lot of precautions not to cut in the hinges (the folds) either along the faces or in the angles nor to make holes or notches through the angles.

Tutorials

Sheet Metal Tutorial by meme2704

The following tutorial is reproduced from the PDF tutorial mentioned in Links.

Presentation of the workbench

After downloading the extension and install, open it.

1st operation

  • Get the base: use either the workbenches "part" or "draft", make 1 sketch that will contain all holes and any cuts, extrude this base to the thickness of the sheet.
  • Bear in mind that the edges will always be in addition as well as the folding radii.

2nd operation

  • Open the Sheet_metal workbench.
  • Select 1 thickness of the edge (edge) of the base plate and click on the "bend" tool 90° default bend angle can be changed from 0 to 90°.
  • Edge height is 10mm by default, editable from 0.1 to xxxmm.
  • Bending radius is by default equal to thickness, editable from 0.1 to xxmm (never put 0).
  • Gap1, gap2 is the withdrawal of the folded edge from the corner of the base (0 accept).
  • Invert default: false folds to Z +, true to ZReliefd cuts the corner between the fold and the base (inactive if gap = 0).
  • Reliefw adds 1 slot between the crop and the edge (inactive if reliefd = 0).

Repeat as many times as there are sides to bend.
Folding 1 return with use of "extend".

To add 1 back repeat the same operation by selecting the thickness of the concerned edge.
To reduce the space between the 2 edges, use "extends".
Select the thickness and specify the length to add.
Note that if the extension of the 1st edge is made before the fold of the return, it will not be taken into account, if 1 identical fold is added to the extension, it will appear correct but the unfolding will not be done.

Folding of 1 2nd edge:
Now we must separate the 2 edges otherwise they will merge and unfolding will be impossible.

  • 1st method: make 1 withdrawal of 1 edge.
    • Give 1 value slightly greater than gap1 (or gap2), at zero there is still fusion.
  • 2nd method make 1 cut at 45 ° see further, use this tool.

Unfolding

Choose 1 reference face (here the orange face) and click on the button in the toolbar.
We obtain the blue part of which it is enough to modify the values X, Y, or Z to see it in totality.

Cut the flaps at 45°

After folding the flaps without having made a withdrawal, the shape thus appears.

To do it must split at 45 ° (or following the bisector flaps are unequal width).

  • Create 1 new skit related to the common part of the 2 flaps.
  • Create 1 linked stop by selecting the outer edge of the "hinge".
  • Draw 1 triangle whose top is constrained at the end, oriented 1 side at 45 °, give the small side 1 minimum width (0.1mm is enough), and make 1 pocket.

Be careful not to scratch the "hinge" where the nakedness of bound the tip of the triangle at the edge of the fold line.

Unfolding

Piercing edges and flaps

Make these holes and cuts after folding and before unfolding.
Always take care not to "scratch" the fold lines.

Make wired flaps

Make 1 fold on the edge of the side, at 45 ° of 0.1mm long, then 1 other reverse at 45 ° of the length of the contiguous flap, then extend the opposite side, it will pass over and they will not be merged.

Special case of this same pierced edge

In this particular case, unfolding only works by choosing the yellow face as a reference.

Special case hole straddling the folds

Previously it is said several times that it is not necessary to cut the folding lines.
How to do ?

  • Make the base with its half-round hole and make the 2 half-sided and the 2 half-folds separately.
  • Then make 1 extension on 1 of the sides of the width of the opening minus 0.1mm, the 2 edges thus remain separated.
  • Then on this extension (in green) draw the contour of the cut and make 1 pocket
  • The result is the red piece above, and the unfolding works, stays the line that separated the 2 edges previously

Videos

Links

References