BIM ExtrudeFace

BIM ExtrudeFace

Menu location
Modification → ExtrudeFace
Workbenches
BIM
Default shortcut
T R
Introduced in version
26.3
See also
Part Extrude, Draft Trimex

Description

The BIM ExtrudeFace command extrudes a face, creating a Part Extrude object. It was split out from Draft Trimex into its own command, since face extrusion is a distinct operation from trimming or extending geometry. introduced in 26.3

Usage

See also: Draft Snap and Draft Constrain.

  1. It can be helpful to first change the Draft working plane so that it is not coplanar with the face you want to extrude.
  2. Optionally select a single face or an object with a single face.
  3. There are several ways to invoke the command:
    • Press the BIM ExtrudeFace button.
    • Select the Modification → ExtrudeFace option from the menu.
    • Use the keyboard shortcut: T then R.
  4. If you have not yet selected an object or a face: select an object with a single face in the 3D View.
  5. The Extrude Face task panel opens. See Options for more information.
  6. To define the extrusion direction and distance do one of the following:
    • Pick a point in the 3D View that does not lie on the same plane as the face.
    • Make sure the pointer is on the correct side of the face in the 3D View and enter a Distance.

Options

Scripting

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

To extrude objects use the extrude method of the Draft module.

extrusion = extrude(obj, vector, solid=False)

Example:

import FreeCAD as App
import Draft

doc = App.newDocument()

rectangle = Draft.make_rectangle(1500, 500)
doc.recompute()

vector = App.Vector(0, 0, 300)
solid = Draft.extrude(rectangle, vector, solid=True)
doc.recompute()