Part Chamfer

Description
Chamfers the selected edge(s) of an object. A dialog allows you to choose which edge(s) to work on as well as modify various chamfer parameters.



How to Use

 * 1) Invoke the Chamfer command several ways in the [[Image:Workbench_Part.svg|24px]] Part Workbench
 * 2) * Press the button in the Part toolbar
 * 3) * Use the entry in the Part menu
 * 4) Select the shape to chamfer from the dialog.
 * 5) Select edges to chamfer by checking the corresponding box in the chamfer dialog or by selecting them on the model directly.
 * 6) Edit chamfer parameters.
 * 7) Press  to close the chamfer dialog and apply the chamfer.

Options

 * When selecting edges on the model, you have the option to select by edge or by face. Selecting by face will select all bordering edges of that face.
 * Constant length chamfer or variable length chamfer.
 * A constant length chamfer will create a chamfer with edges equidistant to the original edge at the distance specified.
 * A variable length chamfer will have edges that may be set to different distances from the original edge, allowing you to create a chamfer at a variable angle.

Properties



 * The shape onto which the chamfer is to be applied.
 * Specifies the orientation and position of the shape in the 3D space.
 * Label given to the object. Change to suit your needs.

Limitations
Chamfer might do nothing if the result would touch or cross the next adjacent edge. So if you do not get the expected result, try with a smaller value. This is the same for Part Fillet.

Also note that the Chamfer feature is affected by the Topological naming problem when the any change is done to a modeling step earlier in the chain that affects the number of facets or vertices. This could cause unpredictable result. Until that is resolved (possibly with V0.19) it is advised to apply Chamfer and Part Fillet operations at the last steps in the chain.

Scripting
The Chamfer tool can by used in macros and from the python console by adding a Chamfer object to the document.

Example Script:

Example Script Explanation:


 * Creates a 5 mm cube for us to apply chamfered edges to. See Part_API for an explanation of the makeBox method.


 * Adds a new object to the document of type Chamfer (from the Part module) with label "myChamfer".


 * Specifies that the base shape of the chamfer object should be "myCube".


 * Creates an empty array "myEdges" and then appends the array with each edge's chamfer parameters.
 * Syntax for each item should be (edge#, chamfer start length, chamfer end length)


 * Sets the Edges attribute of our Chamfer object equal to the array we just created.


 * This line simply hides "myCube" so that our newly created "myChamfer" object is the only one visible.


 * Recomputes all altered components on the screen and refreshes the display.