PartDesign LinearPattern: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
 
(37 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
<translate>
<translate>

<!--T:24-->
<!--T:24-->
{{Docnav
{{Docnav
Line 14: Line 15:
{{GuiCommand
{{GuiCommand
|Name=PartDesign LinearPattern
|Name=PartDesign LinearPattern
|MenuLocation=PartDesign → LinearPattern
|MenuLocation=Part Design → Apply a pattern → LinearPattern
|Workbenches=[[PartDesign_Workbench|PartDesign]]
|Workbenches=[[PartDesign_Workbench|PartDesign]]
|SeeAlso=[[PartDesign_MultiTransform|PartDesign MultiTransform]]
|Version=
|SeeAlso=
}}
}}


Line 23: Line 23:


<!--T:4-->
<!--T:4-->
The {{KEY|[[File:PartDesign_LinearPattern.svg|24px]] '''LinearPattern'''}} tool creates evenly spaced copies of a feature in a linear direction. As of {{VersionPlus|0.17}} the Linear pattern tool can pattern multiple features.
The [[Image:PartDesign_LinearPattern.svg|24px]] '''PartDesign LinearPattern''' tool creates a linear pattern of one or more features.


</translate>
</translate>
[[File:PartDesign LinearPattern example.svg|none]]
[[File:PartDesign LinearPattern example.svg|none]]
<translate>
<translate>

<!--T:5-->
<!--T:5-->
''Above: An L-shaped pad (B) made on top of a base pad (A, also referred to as ''support'') is used for a linear pattern. The result (C) is shown on the right.''
{{Caption|An L-shaped pad (B) made on top of a base pad (A, also referred to as support) is used for a linear pattern. The result (C) is shown on the right.}}


==Usage== <!--T:6-->
==Usage== <!--T:6-->


<!--T:7-->
=== Create === <!--T:30-->
To create a pattern:
# Select the feature ({{Version|0.19}} or several features) to be patterned.
# Press the {{KEY|[[File:PartDesign_LinearPattern.svg|24px]] '''LinearPattern'''}} button.
# Define the '''Direction'''. See [[#Options|Options]].
# Define the '''Length''' (distance) between the last copied occurrence and the original feature.
# Set the number of '''Occurrences'''.
# If you have several features in the pattern, their order can be important, see for example the image in the [[PartDesign_PolarPattern#Usage|PolarPattern feature]]. {{Version|0.19}} You can change the order by dragging the feature in the list and you will see the result immediately as preview.
# Press {{KEY|OK}}.

<!--T:28-->
To add or remove features from an existing pattern:
# Press {{KEY|Add feature}} to add a feature to be patterned. The feature must be visible in the [[3D_view|3D view]]:
## Switch to the Model tree;
## Select in the tree the feature to be added and press {{KEY|Space}} to make it visible in the [[3D_view|3D view]];
## Switch back to the Tasks panel;
## Select the feature in the 3D view; it will be added to the list.
## Repeat to add other features.
# Press {{KEY|Remove feature}} to remove a feature from the list, or right-click on the feature in the list and select {{Button|Remove}}

==Options == <!--T:8-->

<!--T:9-->
[[File:Linearpattern_parameters.png|frame|left|LinearPattern parameters in v0.16 and below.]]
[[File:Linearpattern parameters v017.png|frame|left|LinearPattern parameters in v0.17 and above.]]

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

<!--T:11-->
When creating a linear pattern feature, the '''LinearPattern parameters''' dialogue offers different ways of specifying the pattern direction.

====Horizontal sketch axis==== <!--T:12-->

<!--T:13-->
Uses the horizontal axis of the sketch for direction.

====Vertical sketch axis==== <!--T:14-->

<!--T:15-->
Uses the vertical axis of the sketch for direction.

====Normal sketch axis==== <!--T:16-->


<!--T:17-->
<!--T:31-->
# Optionally [[PartDesign_Body#Active_status|activate]] the correct Body.
{{VersionPlus|0.17}} Uses the normal axis of the sketch for direction.
# Optionally select one or more features in the [[Tree_view|Tree view]] or the [[3D_view|3D view]].
# There are several ways to invoke the tool:
#* Press the {{Button|[[Image:PartDesign_LinearPattern.svg|16px]] [[PartDesign_LinearPattern|LinearPattern]]}} button.
#* Select the {{MenuCommand|Part Design → Apply a pattern → [[Image:PartDesign_LinearPattern.svg|16px]] LinearPattern}} option from the menu.
# If there is no active Body, and there are two or more Bodies in the document, the {{MenuCommand|Active Body Required}} dialog will open and prompt you to activate one. If there is a single Body it will be activated automatically.
# If no features were selected the {{MenuCommand|Select feature}} [[Task_panel|task panel]] opens: select one or more (hold down the {{KEY|Ctrl}} key) from the list and press the {{Button|OK}} button.
# The {{MenuCommand|LinearPattern parameters}} [[Task_panel|task panel]] opens. See [[#Options|Options]] for more information.
# Press the {{Button|OK}} button to finish.


====Select reference...==== <!--T:18-->
=== Edit === <!--T:32-->


<!--T:19-->
<!--T:33-->
# Do one of the following:
Allows you to select either a DatumLine or an edge of an object or a line of a sketch to use for direction.
#* Double-click the LinearPattern object in the [[Tree_view|Tree view]].
#* Right-click the LinearPattern object in the [[Tree_view|Tree view]] and select {{MenuCommand|Edit LinearPattern}} from the context menu.
# The {{MenuCommand|LinearPattern parameters}} [[Task_panel|task panel]] opens. See [[#Options|Options]] for more information.
# Press the {{Button|OK}} button to finish.


====Custom Sketch Axis==== <!--T:20-->
== Options == <!--T:8-->


<!--T:21-->
<!--T:34-->
* To add features:
If the sketch which defines the feature to be patterned also contains a construction line (or lines), then the drop down list will contain one custom sketch axis for each construction line. The first construction line will be labelled ''Sketch axis 0''.
*# Press the {{Button|Add feature}} button.
*# Select a feature in the [[Tree_view|Tree view]] or the [[3D_view|3D view]].
*# Repeat to add more features.
* To remove features:
*# Press the {{Button|Remove feature}} button.
*# Do one of the following:
*#* Select a feature in the [[Tree_view|Tree view]] or the [[3D_view|3D view]].
*#* Select a feature in the list and press the {{KEY|Del}} key.
*#* Right-click a feature in the list and select {{MenuCommand|Remove}} from the context menu.
*# Repeat to remove more features.
* If there are several features in the pattern, their order can be important. See [[PartDesign_PolarPattern#Ordering_features|PartDesign PolarPattern]].
* Specify the {{MenuCommand|Direction}} of the pattern:
** {{MenuCommand|Normal sketch axis}}: The Z axis of the sketch (only available for sketch-based features).
** {{MenuCommand|Vertical sketch axis}}: The Y axis of the sketch (idem).
** {{MenuCommand|Horizontal sketch axis}}: The X axis of the sketch (idem).
** {{MenuCommand|Construction line #}}: A separate entry for each construction line in the sketch (idem).
** {{MenuCommand|Base X axis}}: The X axis of the Body.
** {{MenuCommand|Base Y axis}}: The Y axis of the Body.
** {{MenuCommand|Base Z axis}}: The Z axis of the Body.
** {{MenuCommand|Select reference...}}: Select a [[PartDesign_Line|Datum Line]] in the [[Tree_view|Tree view]] or a [[PartDesign_Line|Datum Line]] or edge in the [[3D_view|3D view]].
* Check the {{MenuCommand|Reverse direction}} checkbox to reverse the pattern.
* Specify the {{MenuCommand|Length}} from the start of the first occurrence to the start of the last occurrence.
* Specify the number of {{MenuCommand|Occurrences}} (including the original feature).
* If the {{MenuCommand|Update view}} checkbox is checked the view will update in real time.


====Base (X/Y/Z) axis==== <!--T:22-->
==Limitations== <!--T:29-->


<!--T:23-->
<!--T:35-->
See [[PartDesign_PolarPattern#Limitations|PartDesign PolarPattern]].
{{VersionPlus|0.17}} Select one of the Body Origin's standard axis (X, Y or Z) as direction.
{{clear}}


==Limitations== <!--T:3-->
* Pattern shapes may not overlap one another except for the special case of only two occurrences (original plus one copy)
* Any pattern shapes that do not overlap the original's support will be excluded. This ensures that a PartDesign feature always consists of a single, connected solid
* For further limitations, see the [[PartDesign_Mirrored|mirrored feature]]
{{clear}}


<!--T:25-->
<!--T:25-->

Latest revision as of 11:48, 18 April 2024

PartDesign LinearPattern

Menu location
Part Design → Apply a pattern → LinearPattern
Workbenches
PartDesign
Default shortcut
None
Introduced in version
-
See also
PartDesign MultiTransform

Description

The PartDesign LinearPattern tool creates a linear pattern of one or more features.

An L-shaped pad (B) made on top of a base pad (A, also referred to as support) is used for a linear pattern. The result (C) is shown on the right.

Usage

Create

  1. Optionally activate the correct Body.
  2. Optionally select one or more features in the Tree view or the 3D view.
  3. There are several ways to invoke the tool:
    • Press the LinearPattern button.
    • Select the Part Design → Apply a pattern → LinearPattern option from the menu.
  4. If there is no active Body, and there are two or more Bodies in the document, the Active Body Required dialog will open and prompt you to activate one. If there is a single Body it will be activated automatically.
  5. If no features were selected the Select feature task panel opens: select one or more (hold down the Ctrl key) from the list and press the OK button.
  6. The LinearPattern parameters task panel opens. See Options for more information.
  7. Press the OK button to finish.

Edit

  1. Do one of the following:
    • Double-click the LinearPattern object in the Tree view.
    • Right-click the LinearPattern object in the Tree view and select Edit LinearPattern from the context menu.
  2. The LinearPattern parameters task panel opens. See Options for more information.
  3. Press the OK button to finish.

Options

  • To add features:
    1. Press the Add feature button.
    2. Select a feature in the Tree view or the 3D view.
    3. Repeat to add more features.
  • To remove features:
    1. Press the Remove feature button.
    2. Do one of the following:
      • Select a feature in the Tree view or the 3D view.
      • Select a feature in the list and press the Del key.
      • Right-click a feature in the list and select Remove from the context menu.
    3. Repeat to remove more features.
  • If there are several features in the pattern, their order can be important. See PartDesign PolarPattern.
  • Specify the Direction of the pattern:
    • Normal sketch axis: The Z axis of the sketch (only available for sketch-based features).
    • Vertical sketch axis: The Y axis of the sketch (idem).
    • Horizontal sketch axis: The X axis of the sketch (idem).
    • Construction line #: A separate entry for each construction line in the sketch (idem).
    • Base X axis: The X axis of the Body.
    • Base Y axis: The Y axis of the Body.
    • Base Z axis: The Z axis of the Body.
    • Select reference...: Select a Datum Line in the Tree view or a Datum Line or edge in the 3D view.
  • Check the Reverse direction checkbox to reverse the pattern.
  • Specify the Length from the start of the first occurrence to the start of the last occurrence.
  • Specify the number of Occurrences (including the original feature).
  • If the Update view checkbox is checked the view will update in real time.

Limitations

See PartDesign PolarPattern.