Part Primitives/ru: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Docnav |
{{Docnav |
||
|[[Part_Tube|Tube]] |
|[[Part_Tube|Tube]] |
||
|[[ |
|[[Part_Plane|Plane]] |
||
|[[Part_Module|Part]] |
|[[Part_Module|Part]] |
||
|IconL=Part_Tube.svg |
|IconL=Part_Tube.svg |
||
|IconR= |
|IconR=Part_Plane.svg |
||
|IconC=Workbench_Part.svg |
|IconC=Workbench_Part.svg |
||
}} |
}} |
||
Line 17: | Line 18: | ||
}} |
}} |
||
==Description== |
== Description == |
||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
Line 26: | Line 27: | ||
{{Caption|Primitive shapes that can be created with the [[Part_Workbench|Part Workbench]].}} |
{{Caption|Primitive shapes that can be created with the [[Part_Workbench|Part Workbench]].}} |
||
==Usage== |
== Usage == |
||
To create a primitive, either |
To create a primitive, either |
||
Line 45: | Line 46: | ||
# Edits its properties in the Properties table. |
# Edits its properties in the Properties table. |
||
<div class="mw-translate-fuzzy"> |
|||
*В настоящее время этот инструмент может создать параметрические: |
*В настоящее время этот инструмент может создать параметрические: |
||
**[[Part_Plane/ru|Плоскость]] |
**[[Part_Plane/ru|Плоскость]] |
||
Line 62: | Line 64: | ||
**[[Part_Point/ru|Точка]] (Вершина) |
**[[Part_Point/ru|Точка]] (Вершина) |
||
**[[Part_RegularPolygon/ru|Правильный многоугольник]] {{Version|0.14}}*: |
**[[Part_RegularPolygon/ru|Правильный многоугольник]] {{Version|0.14}}*: |
||
</div> |
|||
The following primitives can be created: |
|||
*[[Image:Part_Plane.svg|32px]] [[Part_Plane|Plane]]: Creates a plane. |
|||
*[[Image:Tree_Part_Box_Parametric.svg|32px]] [[Part_Box|Box]]: Creates a box. This object can also be created with the [[Image:Part_Box.svg|32px]] [[Part_Box|Box]] tool. |
|||
*[[Image:Tree_Part_Cylinder_Parametric.svg|32px]] [[Part_Cylinder|Cylinder]]: Creates a cylinder. This object can also be created with the [[Image:Part_Cylinder.svg|32px]] [[Part_Cylinder|Cylinder]] tool. |
|||
*[[Image:Tree_Part_Cone_Parametric.svg|32px]] [[Part_Cone|Cone]]: Creates a cone. This object can also be created with the [[Image:Part_Cone.svg|32px]] [[Part_Cone|Cone]] tool. |
|||
*[[Image:Tree_Part_Sphere_Parametric.svg|32px]] [[Part_Sphere|Sphere]]: Creates a sphere. This object can also be created with the [[Image:Part_Sphere.svg|32px]] [[Part_Sphere|Sphere]] tool. |
|||
*[[Image:Part_Ellipsoid.svg|32px]] [[Part_Ellipsoid|Ellipsoid]]: Creates a ellipsoid. |
|||
*[[Image:Tree_Part_Torus_Parametric.svg|32px]] [[Part_Torus|Torus]]: Creates a torus. This object can also be created with the [[Image:Part_Torus.svg|32px]] [[Part_Torus|Torus]] tool. |
|||
*[[Image:Part_Prism.svg|32px]] [[Part_Prism|Prism]]: Creates a prism. |
|||
*[[Image:Part_Wedge.svg|32px]] [[Part_Wedge|Wedge]]: Creates a wedge. |
|||
*[[Image:Part_Helix.svg|32px]] [[Part_Helix|Helix]]: Creates a helix. |
|||
*[[Image:Part_Spiral.svg|32px]] [[Part_Spiral|Spiral]]: Creates a spiral. |
|||
*[[Image:Part_Circle.svg|32px]] [[Part_Circle|Circle]]: Creates a circular edge. |
|||
*[[Image:Part_Ellipse.svg|32px]] [[Part_Ellipse|Ellipse]]: Creates an elliptical edge. |
|||
*[[Image:Part_Point.svg|32px]] [[Part_Point|Point]]: Creates a point (vertex). |
|||
*[[Image:Part_Line.svg|32px]] [[Part_Line|Line]]: Creates a line (edge). |
|||
*[[Image:Part_RegularPolygon.svg|32px]] [[Part_RegularPolygon|Regular Polygon]]: Creates a regular polygon. |
|||
== Inheritance == |
|||
All part primitives are objects which derive from the {{incode|Part::Primitive}} class. This class in turn derives from the basic [[Part_Feature|Part Feature]] object ({{incode|Part::Feature}} class). |
|||
[[File:FreeCAD_core_objects.svg|800px]] |
|||
{{Caption|Simplified diagram of the relationships between the core objects in the program. The {{incode|Part::Primitive}} class is derived from the {{incode|Part::Feature}} object. It includes an extension that allows it to be attached to faces and planes.}} |
|||
== Scripting == |
== Scripting == |
||
Line 114: | Line 109: | ||
{{Docnav |
{{Docnav |
||
|[[Part_Tube|Tube]] |
|[[Part_Tube|Tube]] |
||
|[[ |
|[[Part_Plane|Plane]] |
||
|[[Part_Module|Part]] |
|[[Part_Module|Part]] |
||
|IconL=Part_Tube.svg |
|IconL=Part_Tube.svg |
||
|IconR= |
|IconR=Part_Plane.svg |
||
|IconC=Workbench_Part.svg |
|IconC=Workbench_Part.svg |
||
}} |
}} |
Revision as of 16:03, 25 February 2021
Создать примитивы |
Системное название |
---|
Part Primitives |
Расположение в меню |
Деталь -> Создать примитивы... |
Верстаки |
Part |
Быстрые клавиши |
Нет |
Представлено в версии |
- |
См. также |
Построитель форм |
Description
Инструмент для создания геометрических параметризованных примитивов.
Primitive shapes that can be created with the Part Workbench.
Usage
To create a primitive, either
- In the appearing dialog select primitive type, set its parameters and location, finally press Create
The dialog keeps open so that you can subsequently create further primitives.
To edit a primitives there are 2 ways:
Using the dialog: introduced in version 0.19
- Select the primitive in the tree and double-click on it.
- The same dialog will open that was also used to create the primitive. Change there the parameters and you get a live preview of the changed primitive.
- To finish the editing press OK.
Using the property editor:
- Select the primitive in the tree.
- Edits its properties in the Properties table.
- В настоящее время этот инструмент может создать параметрические:
The following primitives can be created:
- Plane: Creates a plane.
- Box: Creates a box. This object can also be created with the Box tool.
- Cylinder: Creates a cylinder. This object can also be created with the Cylinder tool.
- Cone: Creates a cone. This object can also be created with the Cone tool.
- Sphere: Creates a sphere. This object can also be created with the Sphere tool.
- Ellipsoid: Creates a ellipsoid.
- Torus: Creates a torus. This object can also be created with the Torus tool.
- Prism: Creates a prism.
- Wedge: Creates a wedge.
- Helix: Creates a helix.
- Spiral: Creates a spiral.
- Circle: Creates a circular edge.
- Ellipse: Creates an elliptical edge.
- Point: Creates a point (vertex).
- Line: Creates a line (edge).
- Regular Polygon: Creates a regular polygon.
Scripting
See also: Part scripting
Test the creation of the primitives with a script. introduced in version 0.19
This can be run from the Python console.
import parttests.part_test_objects as pto
pto.create_test_file("example_file")
This script is located in the installation directory of the program, and can be examined to see how the basic primitives are built.
$INSTALL_DIR/Mod/Part/parttests/part_test_objects.py
It can be used as input to the program as well.
freecad $INSTALL_DIR/Mod/Part/parttests/part_test_objects.py
Part
- Примитивы: Куб(Параллелограмм), Конус, Цилиндр, Сфера, Тор, Полый цилиндр,Примитивы, Связующие формы
- Создание и правка: Выдавливание, Построение фигуры вращения, Отражение, Скругление, Фаска, Создать плоскость из граней, 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