Arch: Cadru/Frame

From FreeCAD Documentation
Revision as of 08:11, 20 November 2018 by Luc (talk | contribs) (Created page with "Arch: Frame")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎română • ‎svenska • ‎čeština • ‎русский • ‎українська

Arch Frame.svg Arch Frame

Menu location
Arch → Frame
Default shortcut
Introduced in version
See also


The Frame tool is used to build all kinds of frame objects based on a profile and a layout. The profile is extruded along the edges of the layout, which can be any 2D object such as a sketch, or a draft object. It is especially useful to create railings, or frame walls. Frame objects can then easily be turned into wall or structure objects.

Arch Frame example.jpg

In the above image, a line has been turned into an array, and a frame object has been made using the array as layout, and a circle as profile.

How to use

  1. Create a layout object and a profile object, for example with the Draft Workbench or the Sketcher Workbench
  2. Select the layout object first, then, with CTRL pressed, select the profile object
  3. Press the Arch Frame.png Arch Frame button, or press F then R keys


  • Frames share the common properties and behaviours of all Arch Components
  • The frame object can be placed at a certain distance from the layout object, by setting its Offset property
  • The profile will be copied at the base of each edge of the layout object, then extruded along it. You can control how the profile is placed at the base of each edge with the Align and Rotation properties.


  • DataBase: The layout this frame is based on.
  • DataProfile: The profile this frame is based on.
  • DataAlign: Specifies if the profile must be rotated to have its normal axis aligned with each edge.
  • DataOffset: An optional distance between the layout object and the frame object.
  • DataRotation: The rotation of the profile around its extrusion axis.


The Frame tool can by used in macros and from the python console by using the following function:

makeFrame ( layout,profile )
  • Creates a frame object from a base sketch (or any other object containing wires) and a profile object (an extrudable 2D object containing faces or closed wires)
  • Returns the new frame object, or None if the operation failed.


import Draft, Arch
layout = Draft.makeLine(FreeCAD.Vector(0,0,0),FreeCAD.Vector(2,0,0))
profile = Draft.makeCircle(.2)