Draft Trimex

Description
The Trimex tool trims or extends Draft Lines and Draft Wires so that they end at an intersection with another line or edge.

The Trimex tool also extrudes faces created from closed wires. In this respect, it's similar to Part Extrude and to  PartDesign Pad.



Usage

 * 1) Optionally select one object. The object must be a Draft Line, a Draft Wire, a Draft Arc or a Draft Circle. 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.


 * 1) Click a point in the 3D view, or enter a distance and press.

Trimming or extending is decided from the position of the pointer.
 * If the line is short it can be extended to approach and cross another line.
 * If the line is long and crosses another line, the excess length can be trimmed.
 * If the pointer is moved over another object or edge, the trim-extend operation will snap to that object, so that the trimmed or extended line ends exactly at the intersection with the object. This snapping works even without Draft Snap modes active.

A Draft Wire allows you to trim or extend any of its individual segments, which may affect the entire shape of the wire. In this case, the Trimex tool will work on the line segment that is closer to the pointer. Hold the key to keep trimming or extending the current segment independently of the position of the pointer.

When the selected object is a face, the Trimex tool switches to mode. In extrude mode the extrusion is done in the direction of the normal of the face. For example, if a rectangle lies on the XY plane, it should be extruded in the Z direction. To do this correctly, pressing the key may be necessary to constrain the distance to the Z direction. Alternatively, hold the key to extrude in any direction that is not the normal.

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


 * Hold to invert the direction of the operation.
 * Hold to restrict the operation to the current segment.



For the following solutions all Draft Snaps were turned off.


 * 1) The arc was clicked near the bottom left corner of the wire. The longest part of the wire was preserved. This is the default behavior.
 * 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: