TechDraw NewSection

Description
The Section tool creates a cross section view based on an existing part view.



How to use

 * 1) Select a part view in the 3D window or tree.
 * 2) If you have multiple drawing pages in your document, you will also need to select the desired page in the tree.
 * 3) Press the  button
 * 4) A dialog will open which will help calculate the various Section properties.  The dialog calculates reasonable starting points for SectionNormal and view Direction, but these may be changed after creation for special needs.
 * 5) If you make a mistake, or change your mind while setting up the Section parameters, press the  button, and you can start over.



Data

 * : The part view on which this ViewSection is based.
 * : A vector describing the direction normal to the cutting plane.
 * : A vector describing a point on the cutting plane. Typically the centroid of the original part.


 * : Appearance of cut surface - Hide, Color, SvgHatch, PatHatch.
 * : Full path to SVG hatch pattern file.
 * : Full path to PAT pattern file.
 * : Name of PAT pattern to use (blank for Svg hatch).

View

 * : Highlight the section surface if true. OBSOLETE - use CutSurfaceDisplay
 * : Solid color for surface highlight.
 * : Color for surface hatch lines.
 * : Line weight for surface hatch lines.

Note: Section inherits all applicable View properties.

Scripting
TechDraw API and FreeCAD Scripting Basics.

The New Section tool can be used in macros and from the Python console by using the following functions: