Feature editing/es

Introducción
This page explains the way the PartDesign Workbench is intended to be used starting with FreeCAD 0.17.

Mientras el Banco de trabajo de Pieza y otros bancos de trabajo de FreeCAD permiten crear piezas mediante la combinación de formas, el banco de trabajo de diseño de piezas se basa en. Una operación modifica la forma de una pieza.

Metodología de edición de operaciones
La primera operación es conoce como operación base. A medida que se van añadiendo operaciones, cada operación toma la forma resultante de la operación anterior y añade o quita material, creando una dependencia lineal entre cada operación y la siguiente. Desde el punto de vista de las operaciones sustractivas, esta metodología se asemeja al proceso de fabricación. Por ejemplo, a un bloque se le hace un corte a un lado, posteriormente a otro lado, luego se perforan agujeros, a continuación se redondean bordes, etc.

Todas las operaciones aparecen listadas de forma secuencial en el árbol del proyecto y pueden ser editadas en cualquier momento. El resultado de la última operación, aquella que ocupa el lugar inferior en la lista de operaciones, es el que determina la forma de la pieza final.

Las operaciones se clasifican en las siguientes categorías:


 * Basadas en perfil: Estas operaciones utilizan un perfil como punto de partida para definir la forma del material que va a ser añadido (operación aditiva) o eliminado (operación sustractiva). El perfil puede ser un croquis, una cara plana de la geometría (en cuyo caso el perfil se extrae de sus aristas), una forma unida o un objeto del banco de trabajo Draft que haya sido incluido en el cuerpo activo con anterioridad.


 * Aditiva: añade material al resultado de la operación anterior. Los iconos de las operaciones aditivas se caracterizan porque predomina en ellos el amarillo.


 * Sustractiva: elimina material del modelo existente. Los iconos de las operaciones sustractivas se caracterizan porque predominan en ellos el rojo y el azul.


 * Basadas en Primitivas: son operaciones basadas en primitivas geométricas como por ejemplo el cubo, el cilindro, el cono, el toro. Pueden ser tanto aditivas como sustractivas.


 * Operaciones de transformación: aplican transformaciones a una o varias operaciones anteriores (operación reflexión o simetría, patrón de repetición lineal, patrón de repetición polar o una transformada múltiple fruto de la combinación de las anteriores).


 * Operaciones de alteración: operaciones que alteran una arista o una cara determinada, como redondeos, chaflanes o cortes inclinados.


 * Operaciones de procedimiento: se dice de operaciones que no están basadas en croquis, como las operaciones de transformación y las de alteración.

Cuerpo
Trabajar en PartDesign requiere primero crear un Cuerpo. El Cuerpo es un contenedor que agrupa una secuencia de operaciones formando un único sólido continuo.



¿Qué es un único solido continuo? Es un objeto producido a partir de un único bloque de material. Si el objeto incluye clavos, tornillos, pegamento y soldado, entonces no es un único sólido continuo.

Un documento de FreeCAD puede contener varios cuerpos. Diferentes cuerpos puede combinarse para formar un único sólido continuo.

Only one body can be active in a document. The active body gets the new created features. A body can be activated or deactivated by double clicking on it. An activated body is highlighted in light blue. The highlighting color can be set in the preferences under Display/Colors/Active container since version 0.18.

When a model requires multiple bodies, like the previous wooden chair example, the general purpose Part container can be used to group them and move the whole as a unit.

Body visibility management
A body will present by default its most recent feature to the outside. This feature is defined by default as the tip. A good analogy is the expression the tip of the iceberg: only the tip is visible above the water, most of the iceberg's mass (the other features) is hidden. As a new feature is added to the body, visibility of the previous feature is turned off, and the new feature becomes the tip.

There can only be one feature visible at a time. It is possible to toggle the visibility of any feature in the body, by selecting it in the Model tree and pressing the spacebar, in effect going back in the history of the body.

Body Origin
The body has an Origin which consists of reference planes (XY, XZ, YZ) and axes (X, Y, Z) that can be used by sketches and features. Sketches can be attached to Origin planes, and they no longer need to be mapped to planar faces for features based on them to be added or subtracted from the model.

Moving and Reordering Objects
It is possible to temporarily redefine the tip to a feature in the middle of the Body tree to insert new objects (features, sketches or datum geometry). It is also possible to reorder features under a Body, or to move them to a different Body. Select the object and right-click to get a contextual menu that will offer 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.

Datum geometry
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 is a multitude of attachment possibilities for datums.

Cross-referencing
It is possible to cross-reference elements from a body in another body via datums. For example the datum shape binder allows to copy over faces from a body as reference in another one. This should make it easy to build a box with fitting cover in two different bodies. FreeCAD helps you to not accidentally link to other bodies and queries your intent.

Attachment
Object attachment is not a specific PartDesign tool, but rather a Part utility introduced in v0.17 that can be found in the Part menu. It is heavily used in the PartDesign workbench to attach sketches and reference geometry to the standard planes and axes of the Body. Very extensive ways of creating datum points, lines and planes are available. Optional attachment offset parameters make this tool very versatile.

More info can be found in the Attachment page.

Advice for creating stable models
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 issue that is still unresolved in FreeCAD. Compared to previous FreeCAD versions, breakage can be minimized when you respect the following design principles:


 * Avoid as much as possible mapping sketches to faces of the model. Place your sketches on standard planes, or on custom datum planes. Sketches attached to planes are less at risk of being unexpectedly reattached to a different reference.
 * When creating datum geometry, do not base it on the part topology, base it on standard planes/axes and/or sketches.
 * Use a "master sketch". That is a preferably not too complicated sketch which contains basic geometric elements of your model. These elements can be referenced when modeling subsequent features. Such a master sketch will often be the first sketch in the Body but it doesn't have to be; in fact you don't even have to use it at all for anything else but being referenced.
 * If you inevitably have to reference an intermediate feature, e.g. the result of a thickness operation, use the first reference possible in the list of subsequent features where the referenced geometric element occurs. From FreeCAD 0.17 on you don't have to use the latest feature. If you take an early feature as reference, all changes to intermediate steps won't break your model. And again it is better to reference a sketch than edges and vertices of a solid.