Part Spiral/ru: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{UnfinishedDocu}} |
|||
{{Docnav/ru |
{{Docnav/ru |
||
Line 23: | Line 22: | ||
==Описание== |
==Описание== |
||
A [[Image:Part_Spiral.svg|24px]] '''Part Spiral''' is a parametric shape that can be created with the [[Image:Part_Primitives.svg|24px]] [[Part_Primitives|Part Primitives]] command. In the coordinate system defined by its {{PropertyData|Placement}} property, the spiral lies on the XY plane with its center at the origin and its start point on the X axis. It widens as it turns counterclockwise. |
|||
[[Image:Part_Spiral_Example.png|400px]] |
|||
== Применение == |
== Применение == |
||
See [[Part_Primitives#Usage|Part Primitives]]. |
|||
Доступ к диалоговому окну Создания Примитивов можно получить с помощью ярлыка [[Part_Primitives|Примитивы]] [[Image:Part_Primitives.svg|32px]], расположенного в меню Деталь или на панели инструментов верстака Деталь. |
|||
== Example == |
|||
[[File:SpiralDefault_it.png]] |
|||
[[Image:Part_Spiral_Scripting_Example.png|thumb|Part Spiral from the scripting example]] |
|||
[[File:Spiral_x45_it.png]] |
|||
A Part Spiral object created with the [[#Scripting|scripting example]] below is shown here. |
|||
[[File:Spiral_y45_it.png]] |
|||
== Properties == |
|||
See also: [[Property_editor|Property editor]]. |
|||
A Part Spiral object is derived from a [[Part_Feature|Part Feature]] object and inherits all its properties. It also has the following additional properties: |
|||
=== Data === |
|||
{{TitleProperty|Attachment}} |
|||
The object has the same attachment properties as a [[Part_Part2DObject#Data|Part Part2DObject]]. |
|||
{{TitleProperty|Spiral}} |
|||
* {{PropertyData|Growth|Length}}: The distance between two consecutive turns of the spiral. The default is {{Value|1mm}}. |
|||
* {{PropertyData|Radius|Length}}: The start radius of the spiral, the distance between its center and its start point. Can be {{Value|0mm}}. The default is {{Value|1mm}}. |
|||
* {{PropertyData|Rotations|QuantityConstraint}}: The number of rotations, or turns, of the spiral. The default is {{Value|2}}. |
|||
* {{PropertyData|Segment Length|QuantityConstraint}}: The number of turns per spiral subdivision. The default is {{Value|1}}, meaning each full turn of the spiral is a separate segment. Use {{Value|0}} to suppress subdivision. |
|||
== Scripting == |
|||
See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation], [[Part_scripting|Part scripting]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]]. |
|||
A Part Spiral can be created with the {{Incode|addObject()}} method of the document: |
|||
{{Code|code= |
|||
spiral = FreeCAD.ActiveDocument.addObject("Part::Spiral", "mySpiral") |
|||
}} |
|||
* Where {{Incode|"mySpiral"}} is the name for the object. |
|||
* The function returns the newly created object. |
|||
Example: |
|||
{{Code|code= |
|||
import FreeCAD as App |
|||
doc = App.activeDocument() |
|||
spiral = doc.addObject("Part::Spiral", "mySpiral") |
|||
spiral.Growth = 2 |
|||
spiral.Radius = 3 |
|||
spiral.Rotations = 4 |
|||
spiral.Placement = App.Placement(App.Vector(1, 2, 3), App.Rotation(75, 60, 30)) |
|||
doc.recompute() |
|||
}} |
|||
Line 44: | Line 95: | ||
}} |
}} |
||
{{ |
{{Part_Tools_navi{{#translation:}}}} |
||
{{Userdocnavi{{#translation:}}}} |
{{Userdocnavi{{#translation:}}}} |
Latest revision as of 10:20, 3 March 2022
Плоская Cпираль |
Системное название |
---|
Part Spiral |
Расположение в меню |
Деталь → Создать примитивы... → Спираль |
Верстаки |
Part(Деталь) |
Быстрые клавиши |
Нет |
Представлено в версии |
0.14 |
См. также |
Создать примитивы... |
Описание
A Part Spiral is a parametric shape that can be created with the Part Primitives command. In the coordinate system defined by its ДанныеPlacement property, the spiral lies on the XY plane with its center at the origin and its start point on the X axis. It widens as it turns counterclockwise.
Применение
See Part Primitives.
Example
A Part Spiral object created with the scripting example below is shown here.
Properties
See also: Property editor.
A Part Spiral object is derived from a Part Feature object and inherits all its properties. It also has the following additional properties:
Data
Attachment
The object has the same attachment properties as a Part Part2DObject.
Spiral
- ДанныеGrowth (
Length
): The distance between two consecutive turns of the spiral. The default is1mm
. - ДанныеRadius (
Length
): The start radius of the spiral, the distance between its center and its start point. Can be0mm
. The default is1mm
. - ДанныеRotations (
QuantityConstraint
): The number of rotations, or turns, of the spiral. The default is2
. - ДанныеSegment Length (
QuantityConstraint
): The number of turns per spiral subdivision. The default is1
, meaning each full turn of the spiral is a separate segment. Use0
to suppress subdivision.
Scripting
See also: Autogenerated API documentation, Part scripting and FreeCAD Scripting Basics.
A Part Spiral can be created with the addObject()
method of the document:
spiral = FreeCAD.ActiveDocument.addObject("Part::Spiral", "mySpiral")
- Where
"mySpiral"
is the name for the object. - The function returns the newly created object.
Example:
import FreeCAD as App
doc = App.activeDocument()
spiral = doc.addObject("Part::Spiral", "mySpiral")
spiral.Growth = 2
spiral.Radius = 3
spiral.Rotations = 4
spiral.Placement = App.Placement(App.Vector(1, 2, 3), App.Rotation(75, 60, 30))
doc.recompute()
- Примитивы: Куб(Параллелограмм), Конус, Цилиндр, Сфера, Тор, Полый цилиндр,Примитивы, Связующие формы
- Создание и правка: Выдавливание, Построение фигуры вращения, Отражение, Скругление, Фаска, Создать плоскость из граней, Ruled Surface, Профиль, Sweep, Section, Cross sections, 3D Offset, 2D Offset, Создать полый объект, Projection on surface, Прикрепление
- Булевы операции: Соединить, Разорвать связь, Compound Filter, Булевы операции, Cut, Fuse, Common, Connect, Embed, Cutout, Boolean fragments, Slice apart, Slice, XOR
- Измерительные: Measure Linear, Measure Angular, Measure Refresh, Clear All, Toggle All, Toggle 3D, Toggle Delta
- Начинающим
- Установка: Загрузка, Windows, Linux, Mac, Дополнительных компонентов, Docker, AppImage, Ubuntu Snap
- Базовая: О FreeCAD, Интерфейс, Навигация мыши, Методы выделения, Имя объекта, Настройки, Верстаки, Структура документа, Свойства, Помоги FreeCAD, Пожертвования
- Помощь: Учебники, Видео учебники
- Верстаки: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web