Part Wedge/pt-br

Description
A Part Wedge is a parametric solid that can be created with the  Part Primitives command. It has four to six planar faces. It is defined by virtual front and rear main planes on which a rectangular face (the default), a single straight edge or a single vertex is created. These base shapes define the four quadrilateral or triangular faces that connect them. The resulting solid is only a true wedge if one of the base shapes is a rectangular face and the other a straight edge. In the coordinate system defined by its property, the virtual front and rear main planes of the wedge are plane-parallel to XZ plane, and the edges of the base shapes are parallel to the X or Z axis. All its coordinates are relative to that coordinate system.



Usage
See Part Primitives.

Example


A Part Wedge object created with the scripting example below is shown here.

Properties
See also: Property editor.

A Part Wedge object is derived from a Part Feature object and inherits all its properties. It also has the following additional properties:

Data
The object has the same attachment properties as a Part Part2DObject.


 * : The lowest X coordinate of the front face of the wedge. The default is.
 * : The Y coordinate of the front face of the wedge. The default is.
 * : The lowest Z coordinate of the front face of the wedge. The default is.
 * : The lowest X coordinate of the rear face of the wedge. The default is.
 * : The lowest Z coordinate of the rear face of the wedge. The default is.
 * : The highest X coordinate of the front face of the wedge. The default is.
 * : The Y coordinate of the rear face of the wedge. The default is.
 * : The highest Z coordinate of the front face of the wedge. The default is.
 * : The highest X coordinate of the rear face of the wedge. The default is.
 * : The highest Z coordinate of the rear face of the wedge. The default is.

Scripting
See also: Autogenerated API documentation, Part scripting and FreeCAD Scripting Basics.

A Part Wedge can be created with the method of the document:


 * Where is the name for the object.
 * The function returns the newly created object.

Example: