PartDesign LinearPattern: Difference between revisions

From FreeCAD Documentation
(Description)
(Marked this version for translation)
(10 intermediate revisions by the same user not shown)
Line 17: Line 17:
|MenuLocation=Part Design → Apply a pattern → LinearPattern
|MenuLocation=Part Design → Apply a pattern → LinearPattern
|Workbenches=[[PartDesign_Workbench|PartDesign]]
|Workbenches=[[PartDesign_Workbench|PartDesign]]
|SeeAlso=[[PartDesign_MultiTransform|PartDesign MultiTransform]]
}}
}}


Line 32: Line 33:
==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 {{Button|[[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 {{Button|OK}}.


<!--T:28-->
<!--T:31-->
# Optionally [[PartDesign_Body#Active_status|activate]] the correct Body.
To add or remove features from an existing pattern:
# Press {{Button|Add feature}} to add a feature to be patterned. The feature must be visible in the [[3D_view|3D view]]:
# 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:
## Switch to the Model tree;
#* Press the {{Button|[[Image:PartDesign_LinearPattern.svg|16px]] [[PartDesign_LinearPattern|LinearPattern]]}} button.
## Select in the tree the feature to be added and press {{KEY|Space}} to make it visible in the [[3D_view|3D view]];
#* Select the {{MenuCommand|Part Design → Apply a pattern → [[Image:PartDesign_LinearPattern.svg|16px]] LinearPattern}} option from the menu.
## Switch back to the Tasks panel;
# 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.
## Select the feature in the 3D view; it will be added to the list.
# 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.
## Repeat to add other features.
# The {{MenuCommand|LinearPattern parameters}} [[Task_panel|task panel]] opens. See [[#Options|Options]] for more information.
# Press {{Button|Remove feature}} to remove a feature from the list, or right-click on the feature in the list and select {{Button|Remove}}
# Press the {{Button|OK}} button to finish.


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


<!--T:9-->
<!--T:33-->
# Do one of the following:
[[File:Linearpattern_parameters_v017.png|frame|right|LinearPattern parameters]]
#* 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.


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


<!--T:11-->
<!--T:34-->
* To add features:
When creating a linear pattern feature, the '''LinearPattern parameters''' dialogue offers different ways of specifying the pattern direction.
*# Press the {{Button|Add feature}} button.

*# Select a feature in the [[Tree_view|Tree view]] or the [[3D_view|3D view]].
====Horizontal sketch axis==== <!--T:12-->
*# Repeat to add more features.

* To remove features:
<!--T:13-->
*# Press the {{Button|Remove feature}} button.
Uses the horizontal axis of the sketch for direction.
*# Do one of the following:

*#* Select a feature in the [[Tree_view|Tree view]] or the [[3D_view|3D view]].
====Vertical sketch axis==== <!--T:14-->
*#* 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.
<!--T:15-->
*# Repeat to remove more features.
Uses the vertical axis of the sketch for direction.
* 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:
====Normal sketch axis==== <!--T:16-->
** {{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).
<!--T:17-->
Uses the normal axis of the sketch for direction.
** {{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.
====Select reference...==== <!--T:18-->
** {{MenuCommand|Base Y axis}}: The Y axis of the Body.

** {{MenuCommand|Base Z axis}}: The Z axis of the Body.
<!--T:19-->
** {{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]].
Allows you to select a DatumLine, a straight edge from an object or a line from a sketch to use for direction.
* Check the {{MenuCommand|Reverse direction}} checkbox to reverse the pattern.

* Specify the {{MenuCommand|Length}} to be covered by the pattern.
====Custom Sketch Axis==== <!--T:20-->
* 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.
<!--T:21-->
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''.

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

<!--T:23-->
Select one of the Body Origin's standard axis (X, Y or Z) as direction.


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


<!--T:3-->
<!--T:35-->
See [[PartDesign_PolarPattern#Limitations|PartDesign PolarPattern]].
* 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.
* The PartDesign patterns are not yet as optimized as their Draft counterparts. So for a bigger number of instances you should consider using [[Draft_OrthoArray|Draft array]] instead, combined with a Part boolean operation. This may include major changes to your model as you are leaving PartDesign, which means that you cannot simply continue with further PartDesign features in the same body. An example is shown in this [https://forum.freecadweb.org/viewtopic.php?f=3&t=55192 Forum topic].
* A LinearPattern cannot be applied directly to another pattern, be it polar, linear or a mirror. For this you need a [[PartDesign_MultiTransform|PartDesign MultiTransform]].





Revision as of 14:28, 16 June 2022

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 to be covered by the pattern.
  • 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.