PartDesign PolarPattern/cs: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 26: Line 26:


[[File:PartDesign PolarPattern example.png|none]]
[[File:PartDesign PolarPattern example.png|none]]
{{Caption|A slot-shaped pocket (B) made on top of a base pad (A, also referred to as support) is used for a polar pattern. The result (C) is shown on the right.}}

''Above: a slot-shaped pocket (B) made on top of a base solid (A, also referred to as support) is used for a polar pattern. The result (C) is shown on the right.''


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 33: Line 32:
</div>
</div>


==== To create a pattern ====
=== Create ===


# Optionally [[PartDesign_Body#Active_status|activate]] the correct Body.
# (Optional) Select the feature (or {{Version|0.19}} several features) to be patterned.
# Optionally select one or more features in the [[Tree_view|Tree view]] or the [[3D_view|3D view]].
# Press the {{Button|[[Image:PartDesign_PolarPattern.svg|16px]] '''PolarPattern'''}} button.
# There are several ways to invoke the tool:
#* If you didn't initially select any features, you'll be able to select a ''single'' base feature
#* Press the {{Button|[[Image:PartDesign_PolarPattern.svg|16px]] [[PartDesign_PolarPattern|PolarPattern]]}} button.
# Define the '''Axis'''. See [[#Options|Options]].
#* Select the {{MenuCommand|Part Design → Apply a pattern → [[Image:PartDesign_PolarPattern.svg|16px]] PolarPattern}} option from the menu.
# Define the '''Angle''' between the last copied occurrence and the original feature.
# 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.
# Set the number of '''Occurrences'''.
# 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.
# If you have several features in the pattern, their order can be important, see the image below.
# The {{MenuCommand|PolarPattern parameters}} [[Task_panel|task panel]] opens. See [[#Options|Options]] for more information.
# Press {{Button|OK}}.
# Press the {{Button|OK}} button to finish.


==== Ordering features ====
=== Edit ===


# Do one of the following:
[[File:PartDesign_feature-order.gif]]
#* Double-click the PolarPattern object in the [[Tree_view|Tree view]].
{{Caption|Effect of the feature order}}
#* Right-click the PolarPattern object in the [[Tree_view|Tree view]] and select {{MenuCommand|Edit PolarPattern}} from the context menu.

# The {{MenuCommand|PolarPattern parameters}} [[Task_panel|task panel]] opens. See [[#Options|Options]] for more information.
{{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 the {{Button|OK}} button to finish.

==== Adding features ====

====== v0.18 ======

# Press {{Button|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.

====== v0.19 ======

# Press {{Button|Add feature}} to add a feature to be patterned.
# Switch to the Model tree;
# Select in the tree the feature to be added.
# Repeat to add other features.

==== Removing features ====

* Right-click on the feature in the list and select ''Remove''.

or

====== v0.18 ======

# Press {{Button|Remove feature}} to remove a feature from the list. The feature must be visible in the [[3D_view|3D view]]:
# Switch to the Model tree;
# Select in the tree the feature to be removed 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 have been removed from the list.
# Repeat to remove other features.

====== v0.19 ======

# Press {{Button|Remove feature}} to remove a feature from the list.
# Switch to the Model tree;
# Select in the tree the feature to be removed.
# Repeat to remove other features.


==Volby==
==Volby==


* To add features:
[[File:Polarpattern parameters.png|frame|left]]
*# 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 [[#Ordering_features|Ordering features]].
* Specify the {{MenuCommand|Axis}} 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|Angle}} to be covered by the pattern.
* 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.


== Ordering features ==
===Axis===


If some of the selected features are additive and others subtractive, their order can have have an impact on the final result. You can change the order by dragging individual features in the list. {{Version|0.19}}
Při vytvoření polárních vzorků nabízí doalogové okno 'parametry polarního vzoru' dva odlišné způsoby specifikování rotační osy.


[[File:PartDesign_feature-order.gif]]
====Normal sketch axis====
{{Caption|Effect of the feature order}}

An axis being normal to the sketch and starting in the origin of the sketch of the feature being used is taken as axis for the polar pattern.<br />
The pattern direction can be reversed by ticking 'Reverse direction'.

====Horizontal sketch axis====

Uses the horizontal axis of the sketch for axis.

====Vertical sketch axis====

Uses the vertical axis of the sketch for axis.

====Custom Sketch Axis====

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====

{{VersionPlus|0.17}} Select one of the Body Origin's standard axis (X, Y or Z) as axis.

====Select reference...====

Allows you to select either a DatumLine or an edge of an object or a line of a sketch to use for axis.

===Angle and Occurrences ===

<div class="mw-translate-fuzzy">
===Úhel a výskyty ===
Určuje úhel, který má být vzorky pokryt a celkový počet vzorků (včetně originálního). Například čtyři výskyty v úhlu 180 stupňů dá 60 stupnů mezi vzorky. Je zde jedna výjimka: Je-li úhel 360, protože první a poslední výskyt je identický, čtyři výskyty budou po 90 stupních.
</div>


==Omezení==
==Omezení==


* Any shape in the pattern that does not overlap the parent feature will be excluded. This ensures that a PartDesign Body always consists of a single, connected solid.
<div class="mw-translate-fuzzy">
* The PartDesign patterns are not yet as optimized as their Draft counterparts. So for a large number of instances you should consider using a [[Draft_PolarArray|Draft PolarArray]] instead, combined with a Part boolean operation. This may require major changes to your model as you are leaving PartDesign and therefore cannot simply continue with further PartDesign features in the same body. An example is shown in [https://forum.freecadweb.org/viewtopic.php?f=3&t=55192 this Forum topic].
* Podívejte se na [[PartDesign_LinearPattern/cs|Lineární vzorky]]
* A pattern cannot be applied directly to another pattern, be it polar, linear or a mirror. For this you need a [[PartDesign_MultiTransform|PartDesign MultiTransform]].
{{clear}}
</div>





Revision as of 14:29, 16 June 2022

Návrh dílu Polární vzorky

Umístění Menu
Návrh dílu -> Polární vzorky
Pracovní stoly
Návrh dílu
Výchozí zástupce
Nikdo
Představen ve verzi
-
Viz také
Nikdo

Popis

Tento nástroj vezme skupinu jednoho nebo více objektů (originály) a vytvoří z nich druhou skupinu objektů pootočenou kolem dané osy.

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

Použití

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 PolarPattern button.
    • Select the Part Design → Apply a pattern → PolarPattern 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 PolarPattern 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 PolarPattern object in the Tree view.
    • Right-click the PolarPattern object in the Tree view and select Edit PolarPattern from the context menu.
  2. The PolarPattern parameters task panel opens. See Options for more information.
  3. Press the OK button to finish.

Volby

  • 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 Ordering features.
  • Specify the Axis 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 Angle 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.

Ordering features

If some of the selected features are additive and others subtractive, their order can have have an impact on the final result. You can change the order by dragging individual features in the list. introduced in version 0.19

Effect of the feature order

Omezení

  • Any shape in the pattern that does not overlap the parent feature will be excluded. This ensures that a PartDesign Body always consists of a single, connected solid.
  • The PartDesign patterns are not yet as optimized as their Draft counterparts. So for a large number of instances you should consider using a Draft PolarArray instead, combined with a Part boolean operation. This may require major changes to your model as you are leaving PartDesign and therefore cannot simply continue with further PartDesign features in the same body. An example is shown in this Forum topic.
  • A pattern cannot be applied directly to another pattern, be it polar, linear or a mirror. For this you need a PartDesign MultiTransform.