1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Attention: this wiki is deactivated

The new wiki is up and running at http://www.freecadweb.org/wiki

Important: Do not edit this wiki anymore, it will be deleted soon. If you have edit rights here, please read this article to know how to regain your edit rights on the new wiki.

Arch Roof

From free-cad

Jump to: navigation, search

Arch Roof

Menu location
Arch -> Roof
Workbenches
Arch
Default shortcut
R F
See also
None

Contents


Description

The Roof tool allows you to create a sloped roof from a selected face. Any face of any shape-based object can be used, and the created roof object is parametric, keeping its relationship with the base object. Please note that this tool is still in development, and might fail with very complex shapes.

How to use

  1. Select an existing face
  2. Press the Arch Roof button, or press R then F keys

Properties

  • DATA Angle: The slope angle of the roof
  • DATA Face: The face index of the base object to be used

Scripting

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

makeRoof (baseobj,[facenr],[angle],[name]) : Makes a roof based on a face from an existing object. You can provide the number of the
face to build the roof on (default = 1), the angle in degrees (default=45) and a name (default = roof).

Example:

import Arch, Draft
rect = Draft.makeRectangle(2,4)
Arch.makeRoof(rect,angle=30)
Available translations of this page:
Personal tools