Part CreatePrimitives

From FreeCAD Documentation
(Redirected from Part CreatePrimitives/ru)
Jump to navigation Jump to search
This page is a translated version of the page Part Primitives and the translation is 5% complete.
Outdated translations are marked like this.
Other languages:
Deutsch • ‎English • ‎Türkçe • ‎español • ‎français • ‎italiano • ‎polski • ‎română • ‎svenska • ‎čeština • ‎русский • ‎中文(中国大陆)‎
Arrow-left.svg Previous: Part Tube.svg Tube
Next: Plane Part Plane.svg Arrow-right.svg

Part Primitives.svg Создать примитивы

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

Description

Инструмент для создания геометрических параметризованных примитивов.

Part Primitives example.png

Primitive shapes that can be created with the Part Workbench.

Usage

To create a primitive, either

    • press the Part Primitives.svg Create primitives button in the toolbar.
    • select the Part → Create primitives... from the menu bar.
  1. 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

  1. Select the primitive in the tree and double-click on it.
  2. 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.
  3. To finish the editing press OK.

Using the property editor:

  1. Select the primitive in the tree.
  2. Edits its properties in the Properties table.

The following primitives can be created:

  • Part Plane.svg Plane: Creates a plane.
  • Tree Part Box Parametric.svg Box: Creates a box. This object can also be created with the Part Box.svg Box tool.
  • Tree Part Cylinder Parametric.svg Cylinder: Creates a cylinder. This object can also be created with the Part Cylinder.svg Cylinder tool.
  • Tree Part Cone Parametric.svg Cone: Creates a cone. This object can also be created with the Part Cone.svg Cone tool.
  • Tree Part Sphere Parametric.svg Sphere: Creates a sphere. This object can also be created with the Part Sphere.svg Sphere tool.
  • Part Ellipsoid.svg Ellipsoid: Creates a ellipsoid.
  • Tree Part Torus Parametric.svg Torus: Creates a torus. This object can also be created with the Part Torus.svg Torus tool.
  • Part Prism.svg Prism: Creates a prism.
  • Part Wedge.svg Wedge: Creates a wedge.
  • Part Helix.svg Helix: Creates a helix.
  • Part Spiral.svg Spiral: Creates a spiral.
  • Part Circle.svg Circle: Creates a circular edge.
  • Part Ellipse.svg Ellipse: Creates an elliptical edge.
  • Part Point.svg Point: Creates a point (vertex).
  • Part Line.svg Line: Creates a line (edge).
  • Part RegularPolygon.svg 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


Arrow-left.svg Previous: Part Tube.svg Tube
Next: Plane Part Plane.svg Arrow-right.svg