Table of Contents

Class Constr3DFillet

Namespace
CADability.Actions
Assembly
CADability.dll

Construction action that rounds (fillets) edges of a solid or shell with a constant radius. The user picks edges one by one, or all edges of a face, or all edges of a shell or solid, and enters the radius; connected edges are rounded together. The owning shell is replaced by the result (see MakeFillet(Edge[], double, out Shell)). Menu id: "Constr.Fillet".

public class Constr3DFillet : ConstructAction, ICommandHandler, IPropertyEntry
Inheritance
Constr3DFillet
Implements
Inherited Members

Constructors

Constr3DFillet()

Creates the action with no edges preselected; the user picks them in the view.

public Constr3DFillet()

Constr3DFillet(IEnumerable<Edge>)

Creates the action with the given edges already selected, e.g. from the context menu of a selection. The edge input is then fixed and the focus starts at the radius input.

public Constr3DFillet(IEnumerable<Edge> preselected)

Parameters

preselected IEnumerable<Edge>

The edges to round

Methods

GetID()

Must be implemented by derived class. Returns an identification string. All CADability actions return the unique strings like "Draw.Line.TwoPoints" or "Zoom"

public override string GetID()

Returns

string

the identification of the action

OnDone()

Called, when the ConstructAction is done, i.e. all non-optional inputs have been fixed. The default implementation adds the active object (if it exists and HasValidData() returns true) to the active model and removes this action. Override this method if you need a different behaviour.

public override void OnDone()

OnSetAction()

Implements OnSetAction(). If you override this method don't forget to call the base implementation.

public override void OnSetAction()