CAM Area Workplane

This is an experimental feature. See Enable Experimental Features. The command appears in the CAM  Area Workplane menu and on the Helpful Tools toolbar only when experimental features are enabled.

CAM Area Workplane CAM Area Workplane

Menu location

CAM  Area Workplane

Workbenches

CAM

Default shortcut

None

Introduced in version

-

See also

CAM Area

Description

The Area Workplane command (tooltip: "Selects a workplane for a feature area") assigns a planar shape as the WorkPlane of a FeatureArea. The workplane defines the plane used for coplanarity checks and, with SectionMode = Workplane, the starting height of Z sections.

Usage

  1. Select exactly one FeatureArea object and one planar shape: a whole 2D object, or a single face or edge sub-element of an object (an edge is expanded to its wire). The command is enabled only when a FeatureArea is part of the selection.

  2. Press the CAM Area Workplane Area Workplane button. The shape is stored in the area’s WorkPlane property and the area is made visible. Errors such as "Select one feature area only", "Select one sub shape object for plane only" or "Selected shape is not 2D" are printed in the Report view.

Properties

This command creates no object of its own. It sets the WorkPlane (PartShape) property of the selected Area.

Scripting

Example:

import PathCommands

area = FreeCAD.ActiveDocument.FeatureArea
area.WorkPlane = PathCommands.findShape(FreeCAD.ActiveDocument.Sketch.Shape, 'Edge1', 'Wires')
FreeCAD.ActiveDocument.recompute()