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 sense, it's similar to Part Extrude and to PartDesign Pad.
Wire segment extended, then wire segment trimmed; face extruded into a solid body
- Select a line that you wish to trim or extend, or select a face that you wish to extrude.
- Press the Draft Trimex button, or press T then R keys.
- Click a point in the 3D view, or enter a distance and press Enter.
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 Shift 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 extrude 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 Z key may be necessary to constrain the distance to the Z direction. Alternatively, hold the Shift key to extrude in any direction that is not the normal.
- Press X, Y or Z to constrain the point on the given axis.
- Hold Shift to restrict the operation to the current segment, and avoid picking another one.
- In the case of extrude mode, hold Shift to extrude a face in a direction that is not the normal.
- Hold Alt while trimming to invert the direction of the operation, that is, the other end of the wire will be cut.
See also: Draft API and FreeCAD Scripting Basics.
There is no programming interface available for the Trimex tool. See the Part Extrude tool for extrusion of faces and other shapes.
- Basics: Coordinates, Constraining, Snapping (Near, Extension, Parallel, Grid, Endpoint, Midpoint, Perpendicular, Angle, Center, Ortho, Intersection, Special, Dimensions, Working plane)
- Drawing: Line, Polyline, Fillet, Circle, Arc, Arc 3 points, Ellipse, Polygon, Rectangle, Text, Dimension, BSpline, Point, ShapeString, Facebinder, Cubic Bezier Curve, Bezier Curve, Label
- Modifying: Move, Rotate, Offset, Trimex, Join, Split, Upgrade, Downgrade, Scale, Edit, SubelementHighlight, Wire to BSpline, Add point, Delete point, Shape 2D View, Draft to Sketch, Array, LinkArray, Polar Array, Circular Array, Path Array, Path LinkArray, Point Array, Clone, Drawing, Mirror, Stretch
- Utilities: Set working plane, Finish line, Close line, Undo line, Toggle construction mode, Toggle continue mode, Apply style, Toggle display mode, Add to group, Select group contents, Toggle snap, Toggle grid, Show snap bar, Heal, Flip Dimension, VisGroup, Slope, AutoGroup, Set Working Plane Proxy, Add to Construction group
- Additional: Preferences, Import-Export Preferences (DXF/DWG, SVG, OCA, DAT); Draft API
- Installation: Linux/Unix, Windows, Mac, Docker, AppImage; Getting started
- Basics: About FreeCAD, Workbenches, Preferences, Document structure, Interface Customization, Properties, Mouse Model; Tutorials, Video tutorials
- Workbenches: Std Base; Arch, Draft, FEM, Image, Inspection, Mesh, OpenSCAD, Part, PartDesign, Path, Plot, Points, Raytracing, Reverse Engineering, Robot, Ship, Sketcher, Spreadsheet, Start, Surface workbench, TechDraw, Test Framework, Web
- Scripting: Introduction to Python, FreeCAD scripting tutorial, FreeCAD Scripting Basics, How to install macros, Gui Command, Units Modules: Builtin modules, Workbench creation, Installing more workbenches Meshes: Mesh Scripting, Mesh Module Parts: The Part Module, Topological data scripting, PythonOCC, Mesh to Part Coin scenegraph: The Coin/Inventor scenegraph, Pivy Qt interface: PySide, Using the FreeCAD GUI, Dialog creation Parametric objects: Scripted objects Other: Code snippets, Line drawing function, Embedding FreeCAD, FreeCAD vector math library, Power users hub, Python, Macros, FreeCAD Scripting Basics, Topological data scripting