Surface Sections/en

Description
is used to create a surface from edges that represent transversal sections of a surface.



Usage

 * 1) Make sure you have at lease two edges or curves in space. For example, these can be created with tools of the Workbench_Draft.svg Draft Workbench or the Workbench_Sketcher.svg Sketcher.
 * 2) Press the  button.
 * 3) Press.
 * 4) Use the pointer to pick the desired edges in the 3D view; a preview of the final shape will be shown after selecting two valid edges.
 * 5) Press  to complete the operation.

Options

 * : press once to start picking edges in the 3D view. Individual lines such as and  can be chosen, as well as any edge from solid objects, like those of  and.
 * : press once to start picking edges in the 3D view; these must be edges that were previously picked with.
 * : open the context menu and select, or press in the keyboard, to remove the currently selected edge in the list.
 * : drag the currently selected element in the list in order to change the order in which it will be processed; the list is processed from top to bottom.
 * Press or  to abort the current operation.

Properties
A Surface Sections ( class) is derived from the basic Part Feature ( class, through the subclass), therefore it shares all the latter's properties.

In addition to the properties described in Part Feature, the Surface Sections has the following properties in the property editor.

Data

 * : a list of edges that will be used to build the surface.

View

 * : it defaults to ; if set to, it will show an overlay with the control points of the surface.

Twisting of the surface
The shape of the surface depends on the direction of the chosen edges; if edges are selected and the result is a surface that "twists" on itself, one of the edges may need its list of vertices in the reverse order. See the information in for a more complete explanation.



Scripting
FreeCAD Scripting Basics.

The Surface Sections tool can be used in macros and from the Python console by adding the object.
 * The edges to be used to define the surface must be assigned as a LinkSubList to the property of the object.
 * All objects with edges need to be computed before they can be used as input for the properties of the Sections object.