Draft Trimex/en

Description
The Draft Trimex command trims or extends a selected object. Intersections with the edge of another object can be used to determine new endpoints. The command can also be used to extrude a face, in which case it creates a Part Extrude object.



Usage

 * 1) Optionally select one object. The object must be a Draft Line, a Draft Wire, a Draft Arc or a Draft Circle (which can only be trimmed). If the selected object is closed it must have its  property set to.
 * 2) There are several ways to invoke the command:
 * 3) * Press the button.
 * 4) * Select the option from the menu.
 * 5) * Use the keyboard shortcut: then.
 * 6) If you have not yet selected an object: select an object in the 3D view.
 * 7) The  task panel opens. See Options for more information.
 * 8) Move the pointer in the 3D view so that the preview matches the desired result. If required use the modifier keys as explained in the Options.
 * 9) Do one of the following:
 * 10) * Pick a point in the 3D view.
 * 11) * Enter a or an . The distance is a delta distance. This option does not work if modifier keys are used.
 * 12) * Move the pointer over an edge belonging to another object, and click when this edge is highlighted, to trim or extend the selected object using an intersection with the highlighted edge as the new endpoint. When trimming, the projection of the point where the cutting edge is selected onto the object to be trimmed, determines the default result. Note that Draft Snaps can have an undesirable impact here. In some cases it can be useful to turn them off temporarily.

Options
The single character keyboard shortcut and the modifier keys mentioned here can be changed. See Draft Preferences.


 * Hold down to invert the default result of the command.
 * Hold down to restrict the operation to the current segment of a Draft Wire.
 * Press to switch Draft snapping on or off.

Here is an example to explain the modifier keys. The left edge or the bottom edge of the U-shaped wire was extended. All Draft Snaps were turned off.




 * 1) The arc was clicked near the bottom left corner of the wire. This is the default result.
 * 2)  was held down while the arc was clicked near the bottom left corner of the wire.
 * 3)  was pressed, and while hovering over the left edge  was held down and then the arc was clicked. Pressing  is only required for edges that are more or less parallel to the Y axis.

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:
 * 4) * Press the button.
 * 5) * Select the option from the menu.
 * 6) * Use the keyboard shortcut: then.
 * 7) If you have not yet selected an object or a face: select an object with a single face in the 3D view.
 * 8) The  task panel opens. See Options for more information.
 * 9) To define the extrusion direction and distance do one of the following:
 * 10) * Pick a point in the 3D view that does no lie on the same plane as the face.
 * 11) * Make sure the pointer is on the correct side of the face in the 3D view and enter a.

Options
The modifier key mentioned here can be changed. See Draft Preferences.


 * Hold to extrude in a direction that is not parallel to the normal of the face.

Preferences
See also: Preferences Editor and Draft Preferences.


 * To change the number of decimals used for the input of the distance:.

Scripting
See also: Autogenerated API documentation and FreeCAD Scripting Basics.

There is no Python method to trim objects. To extrude objects use the method of the Draft module.


 * is the object to be extruded.
 * is the extrusion direction and distance.
 * If is  a solid is created instead of a shell.
 * is returned with the created object.

Example: