Part Sweep/ru: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 21: Line 21:
==Описание==
==Описание==


<div class="mw-translate-fuzzy">
Инструмент [[Image:Part_Sweep.svg|24px]] [[Part_Sweep/ru|построения профиля по траектории]] позволяет создать: грань, оболочку или твёрдое тело из одного или последовательности нескольких контуров, путем смещения их вдоль заданной траектории.
Инструмент [[Image:Part_Sweep.svg|24px]] [[Part_Sweep/ru|построения профиля по траектории]] позволяет создать: грань, оболочку или твёрдое тело из одного или последовательности нескольких контуров, путем смещения их вдоль заданной траектории.
</div>


<div class="mw-translate-fuzzy">
В отличии от похожего инструмента [[Image:Part_Loft.svg|24px]] [[Part_Loft/ru|Лофт]], в данный инструмент добавлена траектория для определения направления смещения контуров.
В отличии от похожего инструмента [[Image:Part_Loft.svg|24px]] [[Part_Loft/ru|Лофт]], в данный инструмент добавлена траектория для определения направления смещения контуров.
</div>


[[File:Part_Sweep_simple.png]]
<div class="mw-translate-fuzzy">
[[File:Part Sweep simple.png|none]]
[[File:Part Sweep simple.png|none]]
''Контур и траектория для построения твердого тела (A) результат построения профиля по заданной траектории (B).''
''Контур и траектория для построения твердого тела (A) результат построения профиля по заданной траектории (B).''
</div>


<span id="Usage"></span>
<span id="Usage"></span>
==Применение==
==Применение==


# There are several ways to invoke the command:
# Press the {{KEY|[[Image:Part_Sweep.svg|16px]] '''Sweep...'''}} button. This opens the Sweep parameters in the [[Task_panel|Task panel]].
#* Press the {{Button|[[Image:Part_Sweep.svg|16px]] [[Part_Sweep|Sweep...]]}} button.
# In the ''Available Profiles'' left column (previously ''Vertex/Edge/Wire/Face'' in v0.16), click on the element to be used as sweep profile, then click on the right arrow to place it in the ''Selected profiles'' right column (previously ''Sweep'' in v0.16). Repeat if more than one profile is desired. Use the up and down arrows to reorder the selected profiles.
#* Select the {{MenuCommand|Part → [[Image:Part_Sweep.svg|16px]] Sweep...}} option from the menu.
# Click on the {{KEY|Sweep Path}} button, then choose either mode of selection:
# The Sweep [[Task_panel|task panel]] opens.
#* ''Single segment selection'': select one or more contiguous edges in the [[3D view]] (press {{KEY|CTRL}} for multiple selection) and click {{KEY|Done}}. The sweep will only be generated along the selected edges.
# In the ''Available Profiles'' list on the left select a profile and click on the right arrow to place it in the ''Selected profiles'' list on the right.
#* ''Complete path selection'': switch to the Model tab, select the 2D object to be used as path in the tree, switch back to the [[Task_panel|Task panel]] and click {{KEY|Done}}. The sweep will be generated along all the contiguous edges found in the 2D object.
# Repeat if more than one profile is desired.
# The up and down arrows have no purpose, the position of the profiles along the spine determines in which order they are used.
# Click on the {{Button|Sweep Path}} button, then choose either mode of selection:
#* ''Segment selection'': select one or more contiguous edges in the [[3D_view|3D view]] (press {{KEY|CTRL}} for multiple selection) and click {{Button|Done}}. The sweep will only be generated along the selected edges.
#* ''Complete path selection'': switch to the [[Tree_view|Tree view]], select the object to be used as spine, switch back to the task panel and click {{Button|Done}}. The sweep will be generated along all the contiguous edges found in the object.
# Define options [[#Solid|Solid]] and [[#Frenet|Frenet]].
# Define options [[#Solid|Solid]] and [[#Frenet|Frenet]].
# Click {{Button|OK}}
# Click {{Button|OK}}.


<span id="Accepted_geometry"></span>
<span id="Accepted_geometry"></span>
Line 44: Line 56:
<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Профили могут быть точками (вершинами), линиями (рёбрами), полилиниями или гранями. Рёбра и полилинии могут быть открытыми или замкнутыми. Есть различные [[Part_Sweep#Profile limitations and complications|ограничения и сложности с профилями]], указанные ниже, тем не менее профили могут браться из примитивов модуля Part, форма модуля Draft и элементы модуля Sketch.
Профили могут быть точками (вершинами), линиями (рёбрами), полилиниями или гранями. Рёбра и полилинии могут быть открытыми или замкнутыми. Есть различные [[Part_Sweep#Profile limitations and complications|ограничения и сложности с профилями]], указанные ниже, тем не менее профили могут браться из примитивов модуля Part, форма модуля Draft и элементы модуля Sketch.
</div>
</div>


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 55: Line 67:
==Свойства==
==Свойства==


See also: [[Property_editor|Property editor]].

A Part Sweep object is derived from a [[Part_Feature|Part Feature]] object and inherits all its properties. It also has the following additional properties:

===Data===

{{TitleProperty|Sweep}}

* {{PropertyData|Sections|LinkList}}: lists the sections used.
* {{PropertyData|Spine|LinkSub}}: spine (path) to sweep along.
* {{PropertyData|Solid|Bool}}: true or false (default). True creates a Solid.
* {{PropertyData|Frenet|Bool}}: true or false (default). True uses Frenet algorithm.
* {{PropertyData|Transition|Enumeration}}: transition mode. Options are ''Transformed'', ''Right corner'' or ''Round corner''.

<span id="Solid"></span>
<div class="mw-translate-fuzzy">
===Solid===
===Solid===
</div>


<div class="mw-translate-fuzzy">
Если параметр "Solid" установлен в "true" (отмечен бокс "Создать твёрдое тело"), FreeCAD создаёт твёрдое тело если профиль замкнутой геометрии, если "false", FreeCAD создаёт грань или (если несколько граней) оболочку для открытых или закрытых профилей.
Если параметр "Solid" установлен в "true" (отмечен бокс "Создать твёрдое тело"), FreeCAD создаёт твёрдое тело если профиль замкнутой геометрии, если "false", FreeCAD создаёт грань или (если несколько граней) оболочку для открытых или закрытых профилей.
</div>


<span id="Frenet"></span>
<div class="mw-translate-fuzzy">
===Frenet===
===Frenet===
</div>


[[File:Sweep-frenet-comp.png|500px|right]]
[[File:Sweep-frenet-comp.png|500px|right]]


<div class="mw-translate-fuzzy">
Параметр "Frenet" (устанавливается, если отметить бокс "Френе") управляет тем, как ориентация профиля изменяется по пути следования. Если "Frenet" равен "false", ориентация профиля остаётся неизменной от точки к точке. Итоговый профиль имеет минимально возможное кручение. Упрощённо, когда профиль идёт вдоль винтовой линии, это приводит к тому, что ориентация профиля медленно сползает (поворачивается) вслед за спиралью. Установка "Frenet" в "true" предотвращает это сползание.
Параметр "Frenet" (устанавливается, если отметить бокс "Френе") управляет тем, как ориентация профиля изменяется по пути следования. Если "Frenet" равен "false", ориентация профиля остаётся неизменной от точки к точке. Итоговый профиль имеет минимально возможное кручение. Упрощённо, когда профиль идёт вдоль винтовой линии, это приводит к тому, что ориентация профиля медленно сползает (поворачивается) вслед за спиралью. Установка "Frenet" в "true" предотвращает это сползание.
</div>


<div class="mw-translate-fuzzy">
Если "Frenet" равен "true", ориентация профиля вычисляется на базе местной кривизны и касательной к пути. Это сохраняет ориентацию профиля постоянной при кручении вдоль винтовой линии (поскольку вектор кривизны прямой спирали всегда указывает на их оси). Тем не менее, если путь не винтовой, результирующая форма в некоторых случаях будет содержать странные кручения. Дальнейшую информацию смотрите в [http://ru.wikipedia.org/wiki/Трёхгранник_Френе Frenet Serret formulas].
Если "Frenet" равен "true", ориентация профиля вычисляется на базе местной кривизны и касательной к пути. Это сохраняет ориентацию профиля постоянной при кручении вдоль винтовой линии (поскольку вектор кривизны прямой спирали всегда указывает на их оси). Тем не менее, если путь не винтовой, результирующая форма в некоторых случаях будет содержать странные кручения. Дальнейшую информацию смотрите в [http://ru.wikipedia.org/wiki/Трёхгранник_Френе Frenet Serret formulas].
</div>

====Transition====

"Transition" sets the transition style of the Sweep at non-tangential joints in the path. The property is not exposed in the task panel and can be found in the [[Property_editor|properties]] after the Sweep has been created.

==Limitations==

===Vertex or point===

A vertex or point may only be used as the first and/or last profile.<br>
For example:
* You cannot Sweep from a circle to a point, to an ellipse.
* You can however Sweep from a point to a circle to an ellipse to another point.

===Profiles===
In one Sweep, all profiles (lines wires etc.) must be either open or closed.<br>
For example:
* FreeCAD cannot Sweep between a Part Circle and a Part Line.

===Sketches===

* The profile may be created with a sketch. However only valid sketches will be available for selection in the task panel.
* The sketch must contain only one open or closed wire or line (can be multiple lines, if those lines are all connected as they are then a single wire).


===Transition===
===Draft Workbench objects===


A profile can be a [[Draft_Workbench|Draft Workbench]] object.<br>
"Transition" sets the transition style of the Sweep at a joint in the path, if the path does not define the corner transition (for example where the path is a wire). The property is not exposed in the [[Task_panel|Task panel]] and can be found in properties after the Sweep has been created.
The following objects can be valid profiles:
* Point
* Line, Wire
* B-spline, Bézier Curve
* Circle, Ellipse
* Rectangle, Polygon


===Part Workbench objects===
==Profile limitations and complications==


A profile can be a Part object created with the [[Part_Primitives|Part Primitives]] command.<br>
*A vertex or point
The following objects can be valid profiles:
** vertex or point may only be used as the first and/or last profile in the list of profiles.
* Point (Vertex)
***For example
* Line (Edge)
****you can not Sweep from a circle to a point, to a ellipse.
* Helix, Spiral
****However you could Sweep from a point to a circle to an ellipse to another point.
* Circle, Ellipse
*Open or closed geometry profiles can not be mixed in one single Sweep
* Regular Polygon
**In one Sweep, all profiles (lines wires etc.) must be either open or closed.
* Plane (Face)
***For example
****FreeCAD can not Sweep between one Part Circle and one default Part Line.
*Draft Workbench features
**Draft Workbench features can be directly used as a profile in FreeCAD 0.14 or later.
***For example the following Draft features can be used as profiles in a Part Sweep
****Draft Polygon.
****Draft Point, Line, wire,
****Draft B-spline, Bezier Curve
****Draft Circle, Ellipse, Rectangle
*PartDesign Sketches
**The profile may be created with a sketch. However only a valid sketch will be shown in the list to be available for selection.
**The sketch must contain only one open or closed wire or line (can be multiple lines, if those lines are all connected as they are then a single wire)
*Part Workbench
**the profile can be a valid Part geometric primitive which can be created with the [[Part_Primitives|Part Primitives tool]]
***For example the following Part geometric primitives can be a valid profile
****Point (Vertex), Line (Edge)
****Helix, Spiral
****Circle, Ellipse
****Regular Polygon
****Plane (Face)


<span id="Links"></span>
<span id="Links"></span>

Revision as of 17:42, 4 October 2023

Развёртка

Системное название
Part_Sweep
Расположение в меню
Деталь → Развёртка
Верстаки
Верстак Part
Быстрые клавиши
Нет
Представлено в версии
-
См. также
Лофт

Описание

Инструмент построения профиля по траектории позволяет создать: грань, оболочку или твёрдое тело из одного или последовательности нескольких контуров, путем смещения их вдоль заданной траектории.

В отличии от похожего инструмента Лофт, в данный инструмент добавлена траектория для определения направления смещения контуров.

Контур и траектория для построения твердого тела (A) результат построения профиля по заданной траектории (B).

Применение

  1. There are several ways to invoke the command:
    • Press the Sweep... button.
    • Select the Part → Sweep... option from the menu.
  2. The Sweep task panel opens.
  3. In the Available Profiles list on the left select a profile and click on the right arrow to place it in the Selected profiles list on the right.
  4. Repeat if more than one profile is desired.
  5. The up and down arrows have no purpose, the position of the profiles along the spine determines in which order they are used.
  6. Click on the Sweep Path button, then choose either mode of selection:
    • Segment selection: select one or more contiguous edges in the 3D view (press CTRL for multiple selection) and click Done. The sweep will only be generated along the selected edges.
    • Complete path selection: switch to the Tree view, select the object to be used as spine, switch back to the task panel and click Done. The sweep will be generated along all the contiguous edges found in the object.
  7. Define options Solid and Frenet.
  8. Click OK.

Допустимые типы геометрических примитивов

Профили могут быть точками (вершинами), линиями (рёбрами), полилиниями или гранями. Рёбра и полилинии могут быть открытыми или замкнутыми. Есть различные ограничения и сложности с профилями, указанные ниже, тем не менее профили могут браться из примитивов модуля Part, форма модуля Draft и элементы модуля Sketch.

Путь может быть линией (гранью) или серией соединённых линий, полилинией или различными примитивами модуля Part, формами модуля Draft или элементами модуля Sketch. Путь обычно выбирается прямо из окна модели, тем не менее он так же может выбираться из древа проекта. Путь может быть либо подходящая форма полностью, или подходящий суб-компонент более сложной формы (например, в качестве пути может быть выбрана грань Куба). Путь может быть открыт или замкнут, и соответственно будет создана открытая или замкнутая фигура. Замкнутый путь, вроде круга, создаёт замкнутую фигуру. Например, сдвиг по отношению маленького круга вокруг пути большой окружности создаёт тор.

Свойства

See also: Property editor.

A Part Sweep object is derived from a Part Feature object and inherits all its properties. It also has the following additional properties:

Data

Sweep

  • ДанныеSections (LinkList): lists the sections used.
  • ДанныеSpine (LinkSub): spine (path) to sweep along.
  • ДанныеSolid (Bool): true or false (default). True creates a Solid.
  • ДанныеFrenet (Bool): true or false (default). True uses Frenet algorithm.
  • ДанныеTransition (Enumeration): transition mode. Options are Transformed, Right corner or Round corner.

Solid

Если параметр "Solid" установлен в "true" (отмечен бокс "Создать твёрдое тело"), FreeCAD создаёт твёрдое тело если профиль замкнутой геометрии, если "false", FreeCAD создаёт грань или (если несколько граней) оболочку для открытых или закрытых профилей.

Frenet

Параметр "Frenet" (устанавливается, если отметить бокс "Френе") управляет тем, как ориентация профиля изменяется по пути следования. Если "Frenet" равен "false", ориентация профиля остаётся неизменной от точки к точке. Итоговый профиль имеет минимально возможное кручение. Упрощённо, когда профиль идёт вдоль винтовой линии, это приводит к тому, что ориентация профиля медленно сползает (поворачивается) вслед за спиралью. Установка "Frenet" в "true" предотвращает это сползание.

Если "Frenet" равен "true", ориентация профиля вычисляется на базе местной кривизны и касательной к пути. Это сохраняет ориентацию профиля постоянной при кручении вдоль винтовой линии (поскольку вектор кривизны прямой спирали всегда указывает на их оси). Тем не менее, если путь не винтовой, результирующая форма в некоторых случаях будет содержать странные кручения. Дальнейшую информацию смотрите в Frenet Serret formulas.

Transition

"Transition" sets the transition style of the Sweep at non-tangential joints in the path. The property is not exposed in the task panel and can be found in the properties after the Sweep has been created.

Limitations

Vertex or point

A vertex or point may only be used as the first and/or last profile.
For example:

  • You cannot Sweep from a circle to a point, to an ellipse.
  • You can however Sweep from a point to a circle to an ellipse to another point.

Profiles

In one Sweep, all profiles (lines wires etc.) must be either open or closed.
For example:

  • FreeCAD cannot Sweep between a Part Circle and a Part Line.

Sketches

  • The profile may be created with a sketch. However only valid sketches will be available for selection in the task panel.
  • The sketch must contain only one open or closed wire or line (can be multiple lines, if those lines are all connected as they are then a single wire).

Draft Workbench objects

A profile can be a Draft Workbench object.
The following objects can be valid profiles:

  • Point
  • Line, Wire
  • B-spline, Bézier Curve
  • Circle, Ellipse
  • Rectangle, Polygon

Part Workbench objects

A profile can be a Part object created with the Part Primitives command.
The following objects can be valid profiles:

  • Point (Vertex)
  • Line (Edge)
  • Helix, Spiral
  • Circle, Ellipse
  • Regular Polygon
  • Plane (Face)

Ссылки