SheetMetal AddWall: Difference between revisions

From FreeCAD Documentation
(V1.0 -> V0.21)
Tag: Manual revert
 
(37 intermediate revisions by 4 users not shown)
Line 3: Line 3:
<translate>
<translate>


<!--T:1-->
{{Docnav
{{Docnav
|[[SheetMetal_AddBase|AddBase]]
|
|[[SheetMetal_Extrude|Extrude]]
|
|[[SheetMetal_Workbench|SheetMetal Workbench]]
|[[SheetMetal_Workbench|SheetMetal Workbench]]
|IconL=
|IconL=SheetMetal_AddBase.svg
|IconR=SheetMetal_Extrude.svg
|IconC=Sheetmetal_workbench_icon.svg
|IconC=Sheetmetal_workbench_icon.svg
|IconR=
}}
}}


<!--T:2-->
{{GuiCommand
{{GuiCommand
|Name=SheetMetal Bend
|Name=SheetMetal AddWall
|MenuLocation=SheetMetal → Add Bend
|MenuLocation=SheetMetal → Make Wall
|Workbenches=[[SheetMetal Workbench|SheetMetal]]
|Workbenches=[[SheetMetal Workbench|SheetMetal]]
|Shortcut=None
|Shortcut={{KEY|W}}
|Version=
|SeeAlso=
}}
}}


==Description== <!--T:3-->


==Description== <!--T:39-->
<!--T:4-->
The [[Image:SheetMetal_AddWall.svg|24px]] '''SheetMetal AddWall''' command creates flanges on selected edges of a base plate. By changing the {{PropertyData|angle}} property a flange it can be turned into a hem.


<!--T:1-->
<!--T:36-->
A '''flange''' consists of a 90° cylindrical bend and a planar strip (wall).
:The SheetMetal workbench Bend tool [[Image:SheetMetal_Bend.svg|24px]] creates a bend on the selected edge.
:Selected edge before bend
:[[File:PreBend.png|center|320px]]


</translate>
:Click Bend tool [[Image:SheetMetal_Bend.svg|24px]] [[File:PostBend.png|center|320px]]
[[Image:SheetMetal_AddWall-12.png|200px]] [[Image:Button_right.svg|16px|link=]]
[[Image:SheetMetal_AddWall-13.png|200px]]
<translate>
<!--T:37-->
{{Caption|Two selected edges → two flanges}}


<!--T:38-->
==Usage==
Resetting the {{PropertyData|angle}} property to about 180° in a second step will create a '''hem''' instead.


</translate>
To add a Bend:
[[Image:SheetMetal_AddWall-14.png|200px]] [[Image:Button_right.svg|16px|link=]]
# Switch to the [[Image:Sheetmetal_workbench_icon.svg|22px]] [[SheetMetal Workbench]].
[[Image:SheetMetal_AddWall-15.png|200px]]
# Start with a base plate or sheet, select one or more edges to receive a bend.
<translate>
# Click on the [[Image:SheetMetal_Bend.svg|24px]] '''Bend''' tool to add a bend.
<!--T:39-->
{{Caption|Two selected edges → two hems}}


==Usage== <!--T:5-->
==Properties==


<!--T:6-->
===Data===
# Select one or more edge(s) of a base plate.
# Activate the [[Image:SheetMetal_AddWall.svg|16px]] '''SheetMetal AddWall''' command using one of the following:
#* The {{Button|[[Image:SheetMetal_AddWall.svg|16px]] [[SheetMetal_AddWall|Make Wall]]}} button.
#* The {{MenuCommand|SheetMetal → [[Image:SheetMetal_AddWall.svg|16px]] Make Wall}} menu option.
#* The keyboard shortcut: {{KEY|W}}.


==Notes== <!--T:40-->

<!--T:7-->
To create a base plate use a closed 2D outline - preferably a [[File:Sketcher_NewSketch.svg|16px]] [[Sketcher NewSketch|Sketch]] - with the [[Image:SheetMetal_AddBase.svg|16px]] [[SheetMetal_AddBase|Make Base Wall]] command.

<!--T:41-->
Alternatively a base plate (blank) can be created with commands from the [[Image:Workbench_Part.svg|16px]] [[Part_Workbench|Part Workbench]] or [[Image:Workbench_PartDesign.svg|16px]] [[PartDesign_Workbench|PartDesign Workbench]].

<!--T:42-->
To create a blank with the [[Part_Workbench|Part Workbench]]:
# Create a solid using either:
#* [[File:Part_Box.svg|16px]] [[Part_Box|Part Box]].
#* [[File:Part_Extrude.svg|16px]] [[Part_Extrude|Part Extrude]] from:
#** A [[File:Draft_Rectangle.svg|16px]] [[Draft_Rectangle|Draft Rectangle]].
#** A [[File:Draft_Wire.svg|16px]] [[Draft_Wire|Draft Wire]].
#** A [[File:Sketcher_NewSketch.svg|16px]] [[Sketcher_NewSketch|Sketch]].
# Make sure one the dimensions of the Box or the extrusion distance equals the sheet metal thickness.

<!--T:43-->
To create a blank with the [[PartDesign_Workbench|PartDesign Workbench]]:
# Create a solid using either:
#* [[File:PartDesign_AdditiveBox.svg|16px]] [[PartDesign_AdditiveBox|Additive Box]].
#* [[File:PartDesign_Pad.svg|16px]] [[PartDesign Pad]] from a [[File:Sketcher_NewSketch.svg|16px]] [[Sketcher NewSketch|Sketch]].
# Make sure one the dimensions of the Box or the {{PropertyData|Length}} property of the Pad equals the sheet metal thickness.

<!--T:8-->
If you start with a [[File:PartDesign_Body.svg|16px]] [[PartDesign_Body|PartDesign Body]], you can mix SheetMetal features with PartDesign features such as [[File:PartDesign_Pocket.svg|16px]] [[PartDesign_Pocket|PartDesign Pocket]] or [[File:PartDesign_Hole.svg|16px]] [[PartDesign_Hole|PartDesign Hole]].

==Properties== <!--T:9-->

<!--T:26-->
See also: [[Property_editor|Property editor]].

<!--T:27-->
A SheetMetal Bend object is derived from a [[Part_Feature|Part Feature]] object and inherits all its properties. It also has the following additional properties and its label has a default value:

===Data=== <!--T:10-->

<!--T:11-->
{{Properties_Title|Base}}
{{Properties_Title|Base}}


<!--T:12-->
* {{PropertyData|Label}}: User name of the object in the [[Tree_view|Tree view]].
* {{PropertyData|Label|String}}: Default value: {{value|Bend}} (+ a sequential number for second and following items). </br>The user editable name of this object, it may be any arbitrary UTF8 string.
* {{PropertyData|Base Feature|Link|hidden}}: Base Feature. Link to the parent feature.
* {{PropertyData|_Body|LinkHidden|hidden}}: Hidden link to the parent body.


<!--T:13-->
{{Properties_Title|Parameters}}
{{Properties_Title|Parameters}}


<!--T:14-->
* {{PropertyData|radius}}: Bend radius.
* {{PropertyData|Bend Type|Enumeration}}: "Bend Type". {{value|Material Outside}} (default), {{value|Material Inside}}, {{value|Thickness Outside}}, {{value|Offset}}.
* {{PropertyData|thickness}}: Thickness of bend ({{Emphasis|True}}Typically needs to match thickness of the sheet metal).
* {{PropertyData|Length Spec|Enumeration}}: "Type of Length Specification". {{value|Leg}} (default), {{value|Outer Sharp}}, {{value|Inner Sharp}}, {{value|Tangential}}. {{Version|0.21}}
* {{PropertyData|angle|Angle}}: "Bend Angle". Default angle: {{value|90,00°}}.
* {{PropertyData|base Object|LinkSub}}: "Base Object". Link to the planar face to receive a bend.
* {{PropertyData|gap1|Distance}}: "Gap from Left side". Default: {{value|0,00 mm}}.
* {{PropertyData|gap2|Distance}}: "Gap from Right side". Default: {{value|0,00 mm}}.
* {{PropertyData|invert|Bool}}: "Invert Bend Direction". Default: {{FALSE}}.
* {{PropertyData|length|Length}}: "Length of Wall". Default: {{value|10,00 mm}}.
* {{PropertyData|radius|Length}}: "Bend Radius". Default: {{value|1,00 mm}}.


<!--T:28-->
=== View ===
{{Properties_Title|Parameters Ex}}


<!--T:29-->
The parameter descriptions of the {{Emphasis|View}} tab will be found in [[Property_editor|Property editor]], further below at {{Emphasis|Example of the properties of a PartDesign object}}.
* {{PropertyData|Auto Miter|Bool}}: "Enable Auto Miter". Default: {{TRUE}}.
* {{PropertyData|extend1|Distance}}: "Extend from Left Side". Default: {{value|0,00 mm}}.
* {{PropertyData|extend2|Distance}}: "Extend from Right Side". Default: {{value|0,00 mm}}.
* {{PropertyData|kfactor|FloatConstraint}}: "Location of Neutral Line. Caution: Using ANSI standards, not DIN.". </br> Default: {{value|0,50}}. K factor (also known as neutral factor) for the bend. Used to calculate bend allowance when unfolding.
* {{PropertyData|max Extend Dist|Length}}: "Auto Miter maximum Extend Distance". Default: {{value|5,00 mm}}.
* {{PropertyData|min Gap|Length}}: "Auto Miter Minimum Gap". Default: {{value|5,00 mm}}.
* {{PropertyData|miterangle1|Angle}}: "Bend Miter Angle from Left Side". Default angle: {{value|0,00°}}.
* {{PropertyData|miterangle2|Angle}}: "Bend Miter Angle from Right Side". Default angle: {{value|0,00°}}.
* {{PropertyData|offset|Distance}}: "Offset Bend". Default: {{value|0,00 mm}}.
* {{PropertyData|unfold|Bool}}: "Shows Unfold View of Current Bend". Default: {{FALSE}} </br> {{TRUE}} unfolds the bend.


<!--T:30-->
==Notes==
{{Properties_Title|Parameters Ex2}}


<!--T:31-->
* {{Emphasis|clearance}}: At a gear pair, clearance is the distance between the tooth tip of the first gear and the tooth root of the second gear.
* {{PropertyData|Sketch|Link}}: "Sketch Object".
* {{Emphasis|double_gear}}: To use the double helical gearing the helix angle β ({{Emphasis|beta}}) for the helical gearing must first be entered.
* {{PropertyData|sketchflip|Bool}}: "Flip Sketch Direction". Default: {{FALSE}}.
* {{Emphasis|module}}: Using ISO (International Organization for Standardization) guidelines, Module size is designated as the unit representing gear tooth-sizes. Module (m): m = 1 (p = 3.1416), m = 2 (p = 6.2832), m = 4 (p = 12.566). If you multiply Module by Pi, you can obtain Pitch (p). Pitch is the distance between corresponding points on adjacent teeth.
* {{PropertyData|sketchinvert|Bool}}: "Invert Sketch Start". Default: {{FALSE}}.
* {{Emphasis|shift}}: Profile shift is not merely used to prevent undercut. It can be used to adjust center distance between two gears. If a positive correction is applied, such as to prevent undercut in a pinion, the tooth thickness at top is thinner.
* {{Emphasis|teeth}}: If the number of teeth is changed, the pitch diameter also changes ({{Emphasis|dw}}).
* {{Emphasis|undercut}}: Undercut is used when the number of teeth of a gear is too small. Otherwise the mating gear will cut into the tooth root. The undercut not only weakens the tooth with a wasp-like waist, but also removes some of the useful involute adjacent to the base circle.
* {{Emphasis|pressure_parameter}}: 20° is a standard value here. The pressure angle is defined as the angle between the line-of-action (common tangent to the base circles) and a perpendicular to the line-of-centers. Thus, for standard gears, 14.5° pressure angle gears have base circles much nearer to the roots of teeth than 20° gears. It is for this reason that 14.5° gears encounter greater undercutting problems than 20° gears. Important. the pressure angle changes with a profile shift. Only change the parameter, if sufficient knowledge of the gear geometry is available.
* {{Emphasis|reversed_backslash}}: If there are several gears, pay attention to which gear the parameter is set for.


<!--T:32-->
==Limitations==
{{Properties_Title|Parameters Ex3}}


<!--T:33-->
Limitation are not known yet.
* {{PropertyData|Length List|FloatList}}: "Length of Wall List". Default: {{value|[10,00]}}.
* {{PropertyData|bend AList|FloatList}}: "Bend Angle List". Default: {{value|[90,00]}}.


<!--T:34-->
==Scripting==
{{Properties_Title|Parameters Relief}}

<!--T:35-->
* {{PropertyData|Relief Factor|Float}}: "Relief Factor". Default: {{value|0,70}}.
* {{PropertyData|Use Relief Factor|Bool}}: "Use Relief Factor". Default: {{FALSE}}.
* {{PropertyData|min Relief Gap|Length}}: "Minimum Gap to Relief Cut". Default: {{value|1,00 mm}}.
* {{PropertyData|relief Type|Enumeration}}: "Relief Type". {{value|Rectangle}} (default), {{value|Round}}. Enabled only when a gap value is set.
* {{PropertyData|reliefd|Length}}: "Relief Depth". Default: {{value|1,00 mm}}. Enabled only when a gap value is set.
* {{PropertyData|reliefw|Length}}: "Relief Width". Default: {{value|0,80 mm}}. Enabled only when a gap value is set.

== Example == <!--T:18-->


Use the power of python to automate your gear modeling:
</translate>
</translate>
[[Image:SheetMetal_AddWall-01.png|300px]]
{{Code|code=
import FreeCAD as App
import freecad.gears.commands
gear = freecad.gears.commands.CreateInvoluteGear.create()
gear.teeth = 20
gear.beta = 20
gear.height = 10
gear.double_helix = True
App.ActiveDocument.recompute()
Gui.SendMsgToActiveView("ViewFit")
}}
<translate>
<translate>
<!--T:19-->
{{Caption|A simple tray}}
<div class="mw-collapsible mw-collapsed">
<div class="mw-collapsible-content">

=== Preparation === <!--T:20-->

<!--T:21-->
This tray is made of a rectangular blank with walls added to its outline edges.
And so one outline sketch for the blank has to be prepared in advance.

</translate>
[[Image:SheetMetal_AddWall-02.png|200px]]
<translate>
<!--T:22-->
{{Caption|Just a rectangular outline}}

=== Workflow === <!--T:23-->

<!--T:24-->
# Create a blank
## Select the outline sketch </br> [[Image:SheetMetal_AddWall-03.png|240px]]
## Press the {{Button|[[Image:SheetMetal_AddBase.svg|16px]] [[SheetMetal_AddBase|Make Base Wall]]}} button </br> or use the keyboard shortcut: {{KEY|C}} then {{KEY|F}} </br> [[Image:SheetMetal_AddWall-04.png|240px]] </br> (The blank is padded in z direction </br> </br>
# Add walls to the outline edges
## Select the blank's '''outline edges''' </br> [[Image:SheetMetal_AddWall-05.png|240px]]
## Press the {{Button|[[Image:SheetMetal_AddWall.svg|16px]] [[SheetMetal_AddWall|Make Wall]]}} button </br> or use the keyboard shortcut: {{KEY|W}} </br> [[Image:SheetMetal_AddWall-06.png|240px]]
## If the fold is 90° down set the value of '''invert''' property to true to reverse the direction (and '''length''' to a lower value for smaller walls) </br> [[Image:SheetMetal_AddWall-01.png|240px]] </br> </br>
# Add some more walls
## Select the tray's '''upper outside edges''' </br> [[Image:SheetMetal_AddWall-08.png|240px]]
## Press the {{Button|[[Image:SheetMetal_AddWall.svg|16px]] [[SheetMetal_AddWall|Make Wall]]}} button </br> or use the keyboard shortcut: {{KEY|W}} </br> [[Image:SheetMetal_AddWall-09.png|240px]] </br>
## The walls are a bit too long (but nicely trimmed) and so the '''length''' property has to be set to a lower value </br> [[Image:SheetMetal_AddWall-10.png|240px]]
## If you like the folds swing outward set the '''invert''' value to true </br> [[Image:SheetMetal_AddWall-11.png|240px]]

<!--T:25-->
Done!
</div> <!-- End of collapsible element for content section. Do not remove! -->
</div> <!-- End of collapsible element for ... section. Do not remove! -->


<!--T:17-->
{{Docnav
{{Docnav
|[[SheetMetal_AddBase|AddBase]]
|
|[[SheetMetal_Extrude|Extrude]]
|
|[[SheetMetal_Workbench|SheetMetal Workbench]]
|[[SheetMetal_Workbench|SheetMetal Workbench]]
|IconL=
|IconL=SheetMetal_AddBase.svg
|IconR=SheetMetal_Extrude.svg
|IconC=Sheetmetal_workbench_icon.svg
|IconC=Sheetmetal_workbench_icon.svg
|IconR=
}}
}}

</translate>
</translate>
[[Category:Addons{{#translation:}}]]
[[Category:SheetMetal{{#translation:}}]]
[[Category:SheetMetal{{#translation:}}]]
[[Category:Addons{{#translation:}}]]
[[Category:External Command Reference{{#translation:}}]]
[[Category:External Command Reference{{#translation:}}]]

Latest revision as of 20:29, 29 April 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.

Other languages:

SheetMetal AddWall

Menu location
SheetMetal → Make Wall
Workbenches
SheetMetal
Default shortcut
W
Introduced in version
-
See also
None

Description

The SheetMetal AddWall command creates flanges on selected edges of a base plate. By changing the Dataangle property a flange it can be turned into a hem.

A flange consists of a 90° cylindrical bend and a planar strip (wall).

Two selected edges → two flanges

Resetting the Dataangle property to about 180° in a second step will create a hem instead.

Two selected edges → two hems

Usage

  1. Select one or more edge(s) of a base plate.
  2. Activate the SheetMetal AddWall command using one of the following:
    • The Make Wall button.
    • The SheetMetal → Make Wall menu option.
    • The keyboard shortcut: W.

Notes

To create a base plate use a closed 2D outline - preferably a Sketch - with the Make Base Wall command.

Alternatively a base plate (blank) can be created with commands from the Part Workbench or PartDesign Workbench.

To create a blank with the Part Workbench:

  1. Create a solid using either:
  2. Make sure one the dimensions of the Box or the extrusion distance equals the sheet metal thickness.

To create a blank with the PartDesign Workbench:

  1. Create a solid using either:
  2. Make sure one the dimensions of the Box or the DataLength property of the Pad equals the sheet metal thickness.

If you start with a PartDesign Body, you can mix SheetMetal features with PartDesign features such as PartDesign Pocket or PartDesign Hole.

Properties

See also: Property editor.

A SheetMetal Bend object is derived from a Part Feature object and inherits all its properties. It also has the following additional properties and its label has a default value:

Data

Base

  • DataLabel (String): Default value: Bend (+ a sequential number for second and following items).
    The user editable name of this object, it may be any arbitrary UTF8 string.
  • Data (hidden)Base Feature (Link): Base Feature. Link to the parent feature.
  • Data (hidden)_Body (LinkHidden): Hidden link to the parent body.

Parameters

  • DataBend Type (Enumeration): "Bend Type". Material Outside (default), Material Inside, Thickness Outside, Offset.
  • DataLength Spec (Enumeration): "Type of Length Specification". Leg (default), Outer Sharp, Inner Sharp, Tangential. introduced in version 0.21
  • Dataangle (Angle): "Bend Angle". Default angle: 90,00°.
  • Database Object (LinkSub): "Base Object". Link to the planar face to receive a bend.
  • Datagap1 (Distance): "Gap from Left side". Default: 0,00 mm.
  • Datagap2 (Distance): "Gap from Right side". Default: 0,00 mm.
  • Datainvert (Bool): "Invert Bend Direction". Default: false.
  • Datalength (Length): "Length of Wall". Default: 10,00 mm.
  • Dataradius (Length): "Bend Radius". Default: 1,00 mm.

Parameters Ex

  • DataAuto Miter (Bool): "Enable Auto Miter". Default: true.
  • Dataextend1 (Distance): "Extend from Left Side". Default: 0,00 mm.
  • Dataextend2 (Distance): "Extend from Right Side". Default: 0,00 mm.
  • Datakfactor (FloatConstraint): "Location of Neutral Line. Caution: Using ANSI standards, not DIN.".
    Default: 0,50. K factor (also known as neutral factor) for the bend. Used to calculate bend allowance when unfolding.
  • Datamax Extend Dist (Length): "Auto Miter maximum Extend Distance". Default: 5,00 mm.
  • Datamin Gap (Length): "Auto Miter Minimum Gap". Default: 5,00 mm.
  • Datamiterangle1 (Angle): "Bend Miter Angle from Left Side". Default angle: 0,00°.
  • Datamiterangle2 (Angle): "Bend Miter Angle from Right Side". Default angle: 0,00°.
  • Dataoffset (Distance): "Offset Bend". Default: 0,00 mm.
  • Dataunfold (Bool): "Shows Unfold View of Current Bend". Default: false
    true unfolds the bend.

Parameters Ex2

  • DataSketch (Link): "Sketch Object".
  • Datasketchflip (Bool): "Flip Sketch Direction". Default: false.
  • Datasketchinvert (Bool): "Invert Sketch Start". Default: false.

Parameters Ex3

  • DataLength List (FloatList): "Length of Wall List". Default: [10,00].
  • Databend AList (FloatList): "Bend Angle List". Default: [90,00].

Parameters Relief

  • DataRelief Factor (Float): "Relief Factor". Default: 0,70.
  • DataUse Relief Factor (Bool): "Use Relief Factor". Default: false.
  • Datamin Relief Gap (Length): "Minimum Gap to Relief Cut". Default: 1,00 mm.
  • Datarelief Type (Enumeration): "Relief Type". Rectangle (default), Round. Enabled only when a gap value is set.
  • Datareliefd (Length): "Relief Depth". Default: 1,00 mm. Enabled only when a gap value is set.
  • Datareliefw (Length): "Relief Width". Default: 0,80 mm. Enabled only when a gap value is set.

Example

A simple tray

Preparation

This tray is made of a rectangular blank with walls added to its outline edges. And so one outline sketch for the blank has to be prepared in advance.

Just a rectangular outline

Workflow

  1. Create a blank
    1. Select the outline sketch
    2. Press the Make Base Wall button
      or use the keyboard shortcut: C then F

      (The blank is padded in z direction

  2. Add walls to the outline edges
    1. Select the blank's outline edges
    2. Press the Make Wall button
      or use the keyboard shortcut: W
    3. If the fold is 90° down set the value of invert property to true to reverse the direction (and length to a lower value for smaller walls)


  3. Add some more walls
    1. Select the tray's upper outside edges
    2. Press the Make Wall button
      or use the keyboard shortcut: W

    3. The walls are a bit too long (but nicely trimmed) and so the length property has to be set to a lower value
    4. If you like the folds swing outward set the invert value to true

Done!