Feature editing/ru

Введение

На этой странице объясняется, как использовать Верстак PartDesign, начиная с версии FreeCAD 0.17.

Твёрдое тело

Работа в верстаке PartDesign, начинается с добавления Тела. Тело в PartDesign это контейнер, хранящий в себе последовательность добавления конструктивных элементов, совокупность которых формирует единое твёрдое тело.

Feature editing in practice. From left to right:
Body with a box feature.
Body with a box and a chamfer feature.
Body with a box, a chamfer and a pocket feature.

A document can contain multiple Bodies, but only one Body can be active. New features are added to the active Body. A Body can be activated or deactivated by double clicking it in the Tree view. The activate Body is highlighted in the Tree view.

What is a contiguous solid?

Что подразумевается под единым твердым телом? Можно сказать, что это предмет изготовленный в процессе наращивания или вырезания материала из металлической заготовки. Если предмет включает в себя гвозди, винты, клей или пайку, это уже не единое твёрдое тело. Например, деревянный стул изготавливается из нескольких тел, по одному для каждого из компонентов (ножки, планки, сиденья и так далее).

In FreeCAD version 1.0 an experimental property was introduced that allows the Body to have non-contiguous solids. This can also be set in the Preferences as default for newly created Bodies. This is not intended to be used to build, as in the example, a chair in one Body. It is meant to allow features that may produce disconnected solids that will be made contiguous by later features.

Когда модель требует несколько тел, как в предыдущем примере деревянного стула, может быть использован Part container общего назначения для их группировки и совместного их перемещения как единого целого.

Body visibility management

По умолчанию тело (Body) представляется извне самым последним элементом. Этот элемент определяется по умолчанию как верхушка. Хорошая аналогия - выражение верхушка айсберга: только верхушка видна над водой, большая часть объёма айсберга (остальные элементы) скрыты. Когда новые feature добавляются к телу, видимость предыдущих отключается, и верхушкой становятся новые.

Только одна feature может быть видима одновременно. Возможно переключение видимости любой feature в теле, выбрав её в древе Модели и нажав пробел, получив в результате откат в истории создания тела.

Перемещение и реорганизация объектов

The features of a Body can be reordered, or moved to a different Body. Select the feature and right-click to get a context menu that offers both options. The operation may be prevented if the object has dependencies in the source Body, such as being attached to a face. To move a sketch to another Body, it should not contain links to external geometry.

Schematic representation of the PartDesign workflow.

Опорная геометрия

Datum geometry consists of custom planes, lines, points or externally linked shapes. They can be created for use as reference by sketches and features. There are many attachment options for datum objects.

In FreeCAD, datum planes make sense if you are placing sketches in non-standard orientations, that is, on planes offset or rotated around the three main axes. But since sketches can also be placed in non-standard orientations and have the same attachment options as datum planes, there is often no need to use them. Datum planes make the most sense if there is more than one sketch with the same non-standard orientation. Adjusting the orientation of the datum plane will then adjust all associated sketches and the features created from those sketches.

Although FreeCAD version 1.0 already has code to mitigate the topological naming problem, it is still best practice to attach both sketches and datum planes to the base planes of the Body's Origin whenever possible. Referencing generated geometry (geometry that is the result of a feature operation, for example a pad or pocket) may yet result in less stable models. See Advice for creating stable models below.

Советы для создания стабильных моделей

The idea of parametric modeling implies that you can change the values of certain parameters and subsequent steps are changed according to the new values. However, when severe changes are made, the model can break due to the topological naming problem. Breakage can be minimized if you respect the following design principles:

Материалы для самостоятельного изучения

The tutorials page provides some examples of using the feature editing method of the PartDesign Workbench.

Сопутствующая информация