|
Menu location |
---|
TechDraw → TechDraw Views → Insert Broken View |
Workbenches |
TechDraw |
Default shortcut |
None |
Introduced in version |
1.0 |
See also |
TechDraw View |
The TechDraw BrokenView tool inserts a "broken view" that is either based on an existing part view, or one or more objects, such as Bodies or Parts. The broken view also requires one or more sketches that define the location and size of the areas to be removed. The BrokenView behaves similarly to other Views. The projection direction is taken from the existing part view, the 3D camera direction or the normal of a selected face.
A shape to be broken and the sketches defining the breaks
The result
See also: Property editor.
A Broken View, formally a TechDraw::DrawBrokenView
object, is derived from a Part View, formally a TechDraw::DrawViewPart
object, and inherits all its properties. It also has the following additional properties:
Broken View
LinkList
): Objects in the 3d view that define the start/end points and direction of breaks in this view.Length
): The separation distance for breaks in this view (unscaled 3d length).See also: Autogenerated API documentation and FreeCAD Scripting Basics.
A BrokenView can be created with macros and from the Python console by using the following functions:
doc = FreeCAD.ActiveDocument
box = doc.Box
profile = doc.Sketch
page = doc.Page
brokenView = doc.addObject("TechDraw::DrawBrokenView", "BrokenView")
page.addView(brokenView)
brokenView.Source= box
brokenView.Breaks = [doc.Sketch]