Part Cone/ru: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
(39 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Docnav|[[Part_Box|Box]]|[[Part_Cylinder|Cylinder]]|[[Part_Module|Part]]|IconL=Part_Box.png|IconC=Workbench_Part.svg|IconR=Part_Cylinder.png}} |
|||
{{Docnav/ru |
|||
<div class="mw-translate-fuzzy"> |
|||
|[[Part_Sphere/ru|Сфера]] |
|||
|[[Part_Torus/ru|Тор]] |
|||
|[[Part_Workbench/ru|Верстак Part]] |
|||
|IconL=Part_Sphere.svg |
|||
|IconR=Part_Torus.svg |
|||
|IconC=Workbench_Part.svg |
|||
}} |
|||
{{GuiCommand/ru |
{{GuiCommand/ru |
||
|Name=Part Cone |
|Name=Part Cone |
||
|Name/ru=Конус |
|Name/ru=Конус |
||
|MenuLocation=Деталь → Примитивы → Конус |
|MenuLocation=Деталь → Примитивы → Конус |
||
|Workbenches=[[ |
|Workbenches=[[Part_Workbench/ru|Part]] |
||
|SeeAlso=[[ |
|SeeAlso=[[Part_Primitives/ru|Создать примитивы]] |
||
}} |
}} |
||
== Описание == |
|||
<div class="mw-translate-fuzzy"> |
|||
Параметрический усечённый конус доступен из панели инструментов верстака Part, через меню (подменю примитивы), диалогового окна Создать примитивы. |
|||
</div> |
</div> |
||
The default Part Cone is truncated. It can be turned into a full, untruncated, cone by changing its {{PropertyData|Radius1}} or {{PropertyData|Radius2}} property to zero. It can be turned into a segment of a cone by changing its {{PropertyData|Angle}} property. |
|||
== Description == |
|||
A parametric truncated Part Cone primitive is available in the Part workbench from the Part tool bar, Part menu (primitives sub-menu) and the Create Primitives dialogue. |
|||
[[Image:Part_Cone_Example.png|400px]] |
|||
== How to use == |
|||
In the workbench Part click on the cone icon [[Image:Part Cone.png|32px]]. |
|||
== Применение == |
|||
The default values create a truncated parametric cone, defined by radius1, radius2 height and angle, parameters. The default cone will be positioned at origin (point 0,0,0) on creation. The angle parameter permits the creation of a portion of cone (it is set to 360° by default), and the radius 1 and 2 correspond to base and top radius of the truncated cone. |
|||
<div class="mw-translate-fuzzy"> |
|||
== Options == |
|||
# Переключитесь на [[Image:Workbench_Part.svg|16px]] [[Part_Workbench/ru|верстак Part]] |
|||
{| |
|||
# Существует два способа вызова данной команды: |
|||
| [[File:PartConeProperty_en.png]] |
|||
#* Нажатием на иконку {{Button|[[Image:Part_Cone.svg|16px]] Конуса}} на панели инструментов. |
|||
| |
|||
#* Или через пункт меню {{MenuCommand|Деталь → Примитивы → [[Image:Part_Cone.svg|16px]] Конус}}. |
|||
{{KEY|Cone}} |
|||
</div> |
|||
*Radius 1 - radius of the arc or circle defining the lower face |
|||
*Radius 2 - radius of the arc or circle defining the upper face |
|||
*Height - the height of the Part Cone |
|||
*Angle - the number of degrees of the arc or circles defining the upper and lower faces of the truncated cone. The default 360 creates circular faces, a lower value will create a portion of a cone as defined by upper and lower faces each with edges defined by an arc of the number of degrees and two radii. |
|||
|} |
|||
== Example == |
|||
[[Image:Part_Cone_Scripting_Example.png|thumb|Part Cone from the scripting example]] |
|||
The image below shows a Part Cone with the parameter "Angle" set to 270 degrees and all other parameters are at their default values. |
|||
A Part Cone object created with the [[#Scripting|scripting example]] below is shown here. |
|||
[[File:Otherwisedefault270degree_Part_Cone.png]] |
|||
== Notes == |
|||
* A Part Cone can also be created with the [[Image:Part_Primitives.svg|16px]] [[Part_Primitives|Part Primitives]] command. With that command you can specify the dimensions and placement at creation time. |
|||
{{Docnav|[[Part_Box|Box]]|[[Part_Cylinder|Cylinder]]|[[Part_Module|Part]]|IconL=Part_Box.png|IconC=Workbench_Part.svg|IconR=Part_Cylinder.png}} |
|||
== Свойства == |
|||
{{Part Tools navi}} |
|||
See also: [[Property_editor|Property editor]]. |
|||
{{Userdocnavi}} |
|||
A Part Cone 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|Cone}} |
|||
<div class="mw-translate-fuzzy"> |
|||
* '''Радиус 1 (Radius 1):''' радиус дуги или окружности, определяющей нижнюю грань |
|||
* '''Радиус 2 (Radius 2):''' радиус дуги или окружности, определяющей верхнюю грань |
|||
* '''Высота (Height):''' высота Конуса |
|||
* '''Угол (Angle):''' размер дуги в градусах или полные окружности, определяющих верхнюю и нижнюю грани усеченного конуса. По умолчанию значение 360 создает полностью круговые грани, меньшее значение создаст часть(сектор) конуса, определяемую верхней и нижней гранями, каждая из которых имеет рёбра, определяемые длиной дуги в градусах и двумя радиусами. |
|||
</div> |
|||
== Scripting == |
|||
See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation], [[Part_scripting|Part scripting]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]]. |
|||
A Part Cone can be created with the {{Incode|addObject()}} method of the document: |
|||
{{Code|code= |
|||
cone = FreeCAD.ActiveDocument.addObject("Part::Cone", "myCone") |
|||
}} |
|||
* Where {{Incode|"myCone"}} is the name for the object. |
|||
* The function returns the newly created object. |
|||
Example: |
|||
{{Code|code= |
|||
import FreeCAD as App |
|||
doc = App.activeDocument() |
|||
cone = doc.addObject("Part::Cone", "myCone") |
|||
cone.Radius1 = 5 |
|||
cone.Radius2 = 10 |
|||
cone.Height = 50 |
|||
cone.Angle = 270 |
|||
cone.Placement = App.Placement(App.Vector(1, 2, 3), App.Rotation(30, 60, 15)) |
|||
doc.recompute() |
|||
}} |
|||
{{Docnav/ru |
|||
|[[Part_Sphere/ru|Сфера]] |
|||
|[[Part_Torus/ru|Тор]] |
|||
|[[Part_Workbench/ru|Верстак Part]] |
|||
|IconL=Part_Sphere.svg |
|||
|IconR=Part_Torus.svg |
|||
|IconC=Workbench_Part.svg |
|||
}} |
|||
{{Part_Tools_navi{{#translation:}}}} |
|||
{{clear}} |
|||
{{Userdocnavi{{#translation:}}}} |
Latest revision as of 08:56, 4 March 2022
Конус |
Системное название |
---|
Part Cone |
Расположение в меню |
Деталь → Примитивы → Конус |
Верстаки |
Part |
Быстрые клавиши |
Нет |
Представлено в версии |
- |
См. также |
Создать примитивы |
Описание
Параметрический усечённый конус доступен из панели инструментов верстака Part, через меню (подменю примитивы), диалогового окна Создать примитивы.
The default Part Cone is truncated. It can be turned into a full, untruncated, cone by changing its ДанныеRadius1 or ДанныеRadius2 property to zero. It can be turned into a segment of a cone by changing its ДанныеAngle property.
Применение
- Переключитесь на верстак Part
- Существует два способа вызова данной команды:
Example
A Part Cone object created with the scripting example below is shown here.
Notes
- A Part Cone can also be created with the Part Primitives command. With that command you can specify the dimensions and placement at creation time.
Свойства
See also: Property editor.
A Part Cone 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.
Cone
- Радиус 1 (Radius 1): радиус дуги или окружности, определяющей нижнюю грань
- Радиус 2 (Radius 2): радиус дуги или окружности, определяющей верхнюю грань
- Высота (Height): высота Конуса
- Угол (Angle): размер дуги в градусах или полные окружности, определяющих верхнюю и нижнюю грани усеченного конуса. По умолчанию значение 360 создает полностью круговые грани, меньшее значение создаст часть(сектор) конуса, определяемую верхней и нижней гранями, каждая из которых имеет рёбра, определяемые длиной дуги в градусах и двумя радиусами.
Scripting
See also: Autogenerated API documentation, Part scripting and FreeCAD Scripting Basics.
A Part Cone can be created with the addObject()
method of the document:
cone = FreeCAD.ActiveDocument.addObject("Part::Cone", "myCone")
- Where
"myCone"
is the name for the object. - The function returns the newly created object.
Example:
import FreeCAD as App
doc = App.activeDocument()
cone = doc.addObject("Part::Cone", "myCone")
cone.Radius1 = 5
cone.Radius2 = 10
cone.Height = 50
cone.Angle = 270
cone.Placement = App.Placement(App.Vector(1, 2, 3), App.Rotation(30, 60, 15))
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