Draft Trimex: Difference between revisions

From FreeCAD Documentation
m (Docnav)
m ([[ | ]](Vertical Docnav))
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:
<translate>
<translate>
<!--T:16-->
<!--T:16-->
{{Docnav
{{Docnav|[[Draft_Offset|Offset]]|[[Draft_Join|Join]]|[[Draft_Module|Draft]]|IconL=Draft_Offset.svg|IconC=Workbench_Draft.svg|IconR=Draft_Join.svg}}
|[[Draft_Offset|Offset]]
|[[Draft_Join|Join]]
|[[Draft_Module|Draft]]
|IconL=Draft_Offset.svg
|IconC=Workbench_Draft.svg
|IconR=Draft_Join.svg
}}


<!--T:1-->
<!--T:1-->
Line 9: Line 16:
|MenuLocation=Draft → Trim/Extend
|MenuLocation=Draft → Trim/Extend
|Workbenches=[[Draft Module|Draft]], [[Arch Module|Arch]]
|Workbenches=[[Draft Module|Draft]], [[Arch Module|Arch]]
|Shortcut=T R
|Shortcut={{KEY|T}} {{KEY|R}}
|SeeAlso=[[Part Extrude|Part Extrude]]
|SeeAlso=[[Part Extrude|Part Extrude]]
}}
}}
Line 16: Line 23:


<!--T:3-->
<!--T:3-->
The Trimex tool trims or extends [[Draft Line]]s and [[Draft Wire]]s so that they end at an intersection with another line or edge.
The Trimex tool trims or extends [[Draft Line|Draft Line]]s and [[Draft Wire|Draft Wire]]s so that they end at an intersection with another line or edge.


<!--T:10-->
<!--T:10-->
The Trimex tool also extrudes faces created from closed wires. In this sense, it's similar to [[Part Extrude]] and to [[PartDesign Pad]].
The Trimex tool also extrudes faces created from closed wires. In this sense, it's similar to [[Part Extrude|Part Extrude]] and to [[PartDesign Pad|PartDesign Pad]].


</translate>
</translate>
Line 27: Line 34:
{{Caption|Wire segment extended, then wire segment trimmed; face extruded into a solid body}}
{{Caption|Wire segment extended, then wire segment trimmed; face extruded into a solid body}}


==How to use== <!--T:4-->
==Usage== <!--T:4-->


<!--T:5-->
<!--T:5-->
# Select a line that you wish to trim or extend, or select a face that you wish to extrude.
# Select a line that you wish to trim or extend, or select a face that you wish to extrude.
# Press the {{Button|[[Image:Draft Trimex.svg|16px]] [[Draft Trimex]]}} button, or press {{KEY|T}} then {{KEY|R}} keys.
# Press the {{Button|[[Image:Draft Trimex.svg|16px]] [[Draft Trimex|Draft Trimex]]}} button, or press {{KEY|T}} then {{KEY|R}} keys.
# Click a point in the 3D view, or enter a distance and press {{KEY|Enter}}.
# Click a point in the 3D view, or enter a distance and press {{KEY|Enter}}.


Line 38: Line 45:
* If the line is short it can be extended to approach and cross another line.
* 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 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.
* 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|Draft Snap]] modes active.


<!--T:13-->
<!--T:13-->
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|Shift}} key to keep trimming or extending the current segment independently of the position of the pointer.
A [[Draft Wire|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|Shift}} key to keep trimming or extending the current segment independently of the position of the pointer.


<!--T:14-->
<!--T:14-->
Line 55: Line 62:


==Scripting== <!--T:8-->
==Scripting== <!--T:8-->
{{Emphasis|See also:}} [[Draft API]] and [[FreeCAD Scripting Basics]].
{{Emphasis|See also:}} [[Draft API|Draft API]] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]].


<!--T:9-->
<!--T:9-->
There is no programming interface available for the Trimex tool. See the [[Part Extrude]] tool for extrusion of faces and other shapes.
There is no programming interface available for the Trimex tool. See the [[Part Extrude|Part Extrude]] tool for extrusion of faces and other shapes.


<!--T:15-->
<!--T:15-->
{{Docnav
{{Docnav|[[Draft_Offset|Offset]]|[[Draft_Join|Join]]|[[Draft_Module|Draft]]|IconL=Draft_Offset.svg|IconC=Workbench_Draft.svg|IconR=Draft_Join.svg}}
|[[Draft_Offset|Offset]]
|[[Draft_Join|Join]]
|[[Draft_Module|Draft]]
|IconL=Draft_Offset.svg
|IconC=Workbench_Draft.svg
|IconR=Draft_Join.svg
}}


<!--T:17-->
<!--T:17-->

Revision as of 10:13, 28 January 2020

Draft Trimex

Menu location
Draft → Trim/Extend
Workbenches
Draft, Arch
Default shortcut
T R
Introduced in version
-
See also
Part Extrude

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 sense, it's similar to Part Extrude and to PartDesign Pad.

Wire segment extended, then wire segment trimmed; face extruded into a solid body

Usage

  1. Select a line that you wish to trim or extend, or select a face that you wish to extrude.
  2. Press the Draft Trimex button, or press T then R keys.
  3. 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.

Options

  • 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.

Scripting

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.