|
Menu location |
---|
TechDraw → TechDraw Views → Insert Section View |
Workbenches |
TechDraw |
Default shortcut |
None |
Introduced in version |
- |
See also |
TechDraw ComplexSection, TechDraw View |
The TechDraw SectionView tool inserts a cross-section view based on an existing part view.
Sectioning an already placed view, which shows the internal holes and a hatched cut surface.
The top image shows the ANSI arrow format.
The bottom image shows the ISO arrow format.
Taskview to define the sectional cut of a view
See also: Property editor.
In the properties of the DataBase View you can change the appearance of the section line.
A Section View, formally a TechDraw::DrawViewSection
object, is derived from a Part View, formally a TechDraw::DrawViewPart
object, and inherits all its properties. It also has the following additional properties:
Appearance
FloatConstraint
): Adjusts the length of the section line. 1.0
is normal length, 1.1
would be 10% longer, 0.9
would be 10% shorter. introduced in version 1.0Cut Operation
Bool
): Fuse the source shapes before performing the section cut.Bool
): Additionally trim the resulting shape after the section cut to remove any unwanted pieces. introduced in version 0.21Bool
) Use the cut shape from the base view instead of the original object. introduced in version 1.0Cut Surface Format
Enumeration
): Appearance of the cut surface. Options:
Hide
: Hides the cut surface, only the outline will be displayed.Color
: Colors the cut surface using the setting of Cut Surface Color in the TechDraw preferences.SvgHatch
: Hatches the section cut using a hatchPatHatch
: Hatches the section cut using a geometric hatchFile
): Full path to SVG hatch pattern file.File
): Full path to PAT pattern file.FileIncluded
): Full path to the included SVG hatch pattern file.FileIncluded
): Full path to the included PAT pattern file.String
): Name of the PAT pattern to use.Float
): Hatch pattern size adjustment.Float
): Rotation of hatch pattern in degrees counter-clockwise. introduced in version 0.21Vector
): Hatch pattern offset. introduced in version 0.21Section
String
): The identifier for this section.Link
): The view on which this section is based.Vector
): A vector describing the direction normal to the cutting plane.Vector
): A vector describing a point on the cutting plane. Typically the centroid of the original part.Enumeration
): The direction in the Base View for this section. Options: Aligned
, Right
, Left
, Up
or Down
.Cut Surface
Color
): Solid color for surface highlight. Used if DataCut Surface Display is set to Color
.Bool
): Show/hide the cut surface.Surface Hatch
Color
): The color of the Geometric hath pattern.Color
): The color of the Svg hatch pattern.Bool
): Hatch the cut surface.Float
): Line weight of the Geometric hatch pattern.ANSI
option uses "pulling arrows" (known as the "traditional format" in some areas) and the ISO
option uses "pushing arrows" (also known as the "reference arrow format").See also: Autogenerated API documentation and FreeCAD Scripting Basics.
A SectionView can be created with macros and from the Python console by using the following functions:
doc = FreeCAD.ActiveDocument
box = doc.Box
page = doc.Page
view = doc.addObject("TechDraw::DrawViewPart", "View")
page.addView(view)
view.Source = box
view.Direction = (0, 0, 1)
section = doc.addObject("TechDraw::DrawViewSection", "Section")
page.addView(section)
section.Source = box
section.BaseView = view
section.Direction = (0, 1, 0)
section.SectionNormal = (-1, 0, 0)
doc.recompute()
For some more information about section views and some use cases, have a look at: TechDraw section examples.