BIM ExtrudeFace/en

BIM ExtrudeFace

Menu location
Modify → Extrude Face
Workbenches
BIM
Default shortcut
None
Introduced in version
26.3
See also
Part Extrude, Draft Trimex

Description

The BIM ExtrudeFace tool extrudes a face, creating a Part Extrude object. It was split out from Draft Trimex into its own tool, 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 tool:
    • Press the Extrude Face button.
    • Select the Modifiy → Extrude Face option from the menu.
  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()