TechDraw NewProjGroup

From FreeCAD Documentation
Jump to: navigation, search
Other languages:
Deutsch • ‎English • ‎français • ‎italiano • ‎română • ‎русский
Arrow-left.svg Techdraw-view.png New View Previous:

TechDraw NewProjGroup.png TechDraw NewProjGroup

Menu location
TechDraw → Insert Projection Group
Workbenches
TechDraw
Default shortcut
None
Introduced in version
-
See also
TechDraw NewView, TechDraw NewSection


Description

The ProjectionGroup tool creates multiple orthographic projections of one or more 3D objects. Isometric views of the 4 front corners can be included.

If you only want to produce a single view, there is no advantage in using ProjectionGroup; you should use TechDraw NewView instead. If you do not wish to use the traditional First/Third Angle view layout, you should use multiple TechDraw NewView instead of ProjectionGroup.

TechDraw ProjGroup example.png

Three orthogonal views and one isometric view of a solid object


How to use

  1. Select one or more Body and/or Part objects 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 Techdraw-projgroup.svg Insert Projection Group button
  4. A dialog will open in which you can select which views should appear in the group, the group's scale and other parameters.
  5. You can move the group as a whole by dragging the central view. You can also move individual views by dragging.

TaskProjGroup.png

Taskview with dialog to choose the options of the projection group, including the secondary views, and the scale


Properties

  • DATAAnchor: The central view in the group. Normally the Front view.
  • DATAProjectionType: "First Angle" or Third Angle".
  • DATAAutoDistribute: If true, space out individual views automatically. Use false to position manually.
  • DATAspacingX: Horizontal space between views when automatically positioned. Note that Scale and the size of other views in the group also influence the spacing.
  • DATAspacingY: Vertical space between views when automatically positioned.

The ProjectionGroup as a whole inherits X, Y, ScaleType, Scale and Rotation from the basic View.

Individual Views within the group inherit all part view properties, but the ProjectionGroup object controls the scale of all its member Views.

Note that the central box displays the current projection direction of the primary view. It cannot be used to change the direction.

Scripting

See also: TechDraw API and FreeCAD Scripting Basics.

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

group = FreeCAD.ActiveDocument.addObject('TechDraw::DrawProjGroup','pGroup')
group.Source = [fusion]
group.ScaleType = "Document"
anchorView = group.addProjection("Front")
group.Anchor = anchorView

leftView = group.addProjection("Left")
topView = group.addProjection("Top")
page.addView(group)


Arrow-left.svg Techdraw-view.png New View Previous: