Rysunek techniczny: Grupa rzutów

From FreeCAD Documentation
Jump to navigation Jump to search
This page is a translated version of the page TechDraw ProjectionGroup and the translation is 5% complete.
Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎polski • ‎русский
Arrow-left.svg Previous: TechDraw ActiveView.svg ActiveView

TechDraw ProjectionGroup.svg TechDraw ProjectionGroup

Menu location
TechDraw → Insert Projection Group
Default shortcut
Introduced in version
See also
TechDraw View, TechDraw Section View


The TechDraw ProjectionGroup.svg ProjectionGroup tool creates a multiview projection of one or more 3D objects. The isometric views of the 4 front corners can also be included.

If you only want to produce a single view, there is no advantage in using ProjectionGroup; you should then use Insert View instead. If you do not wish to use the traditional first- / third-angle projection, you should use multiple Views (Insert View) instead of ProjectionGroup.

TechDraw ProjGroup example.png

Three orthogonal views and one isometric view of a solid object


  1. Select one or more Body and/or Part objects in the 3D window or tree. If you have multiple drawing pages in your document, you will also need to select the desired page in the tree.
  2. Press the TechDraw ProjectionGroup.svg Insert Projection Group button.
  3. A dialog will open in which you can select which views should appear in the group, the group's scale and other parameters:


Projection Group task panel. The central field indicates the current view direction with percentages of the x, y and z-axes.

After you created the Projection Group you can move the group as a whole by dragging the central view. You can also move the projection views by dragging.


  • DANEAnchor: The central view in the group. Normally the Front view.
  • DANEProjectionType: "First Angle" or Third Angle".
  • DANEAutoDistribute: If true, space out individual views automatically. Use false to position manually.
  • DANEspacingX: Horizontal space between views when automatically positioned. Note that Scale and the size of other views in the group also influence the spacing.
  • DANEspacingY: 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.

The RotationVector property of individual Views within the group is deprecated as of v0.19. Use XDirection instead.

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


See also: TechDraw API and FreeCAD Scripting Basics.

The NewProjGroup tool can be used in macros and from the Python console. A full script is available in the Source distribution in "source-dir/src/Mod/TechDraw/TDTest/DProjGroupTest.py".

#make a page
    print("making a page")
    page = FreeCAD.ActiveDocument.addObject('TechDraw::DrawPage','Page')
    FreeCAD.ActiveDocument.Template.Template = templateFileSpec
    FreeCAD.ActiveDocument.Page.Template = FreeCAD.ActiveDocument.Template

    #make projection group
    group = FreeCAD.ActiveDocument.addObject('TechDraw::DrawProjGroup','ProjGroup')
    rc = page.addView(group)
    group.Source = [fusion]

    #add Front(Anchor) view
    frontView = group.addProjection("Front")               ##need an Anchor

    #update group
    group.Anchor.Direction = FreeCAD.Vector(0,0,1)
    group.Anchor.RotationVector = FreeCAD.Vector(1,0,0)

    #add more projections
    leftView = group.addProjection("Left")
    topView = group.addProjection("Top")
    rightView = group.addProjection("Right")
    rearView = group.addProjection("Rear")
    BottomView = group.addProjection("Bottom")

    #remove a view from projection group
    iv = group.removeProjection("Left")

Programming note: The Projection Group should always be added to the Page (ex. page.addView(group) before adding projections to the Group. This allows the Projection Group to use default parameter values derived from the parent page.

Arrow-left.svg Previous: TechDraw ActiveView.svg ActiveView