Draft Trimex/pt-br

Draft Trimex

Menu location
Modification → Trimex
Modify → Trimex
Workbenches
Draft, BIM
Default shortcut
T R
Introduced in version
-
See also
Part Extrude

Descrição

The Draft Trimex command trims or extends a selected Draft object, or a supported BIM object. Intersections with the edge of another object can be used to determine new endpoints. introduced in 26.3: extruding a face is now a separate command, see BIM ExtrudeFace.

A Draft Wire extended and then trimmed.

Trim or extend

Utilização

  1. Optionally select one object. The object must be a Draft Line, a Draft Wire, a Draft Arc, a Draft Circle (which can only be trimmed), or a supported BIM object (Wall, Pipe, Structure, Frame, Truss, or a baseless Panel). introduced in 26.3 If the selected object is closed it must have its DadosMake Face property set to false.
  2. There are several ways to invoke the command:
    • Press the Trimex button.
    • Draft: Select the Modification → Trimex option from the menu.
    • BIM: Select the Modify → Trimex option from the menu.
    • Use the keyboard shortcut: T then R.
  3. If you have not yet selected an object: select an object in the 3D View.
  4. The Trimex task panel opens. See Options for more information.
  5. 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.
  6. Do one of the following:
    • Pick a point in the 3D View.
    • Enter a Distance or an Angle. The distance is a delta distance. This option does not work if modifier keys are used.
    • 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 snaps can have an undesirable impact here. In some cases it can be useful to turn them off temporarily.

introduced in 26.3: For supported BIM objects, picking one of the object's end faces trims or extends it by adjusting its length and placement instead of its underlying wire geometry.

Opções

The single character keyboard shortcuts available in the task panel can be changed. See Draft Preferences. The shortcuts mentioned here are the default shortcuts.

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. Alt was held down while the arc was clicked near the bottom left corner of the wire.
  3. Y was pressed, and while hovering over the left edge Shift was held down and then the arc was clicked. Pressing Y is only required for edges that are more or less parallel to the Y axis.

Extrude

1.1 and below: This command could also extrude a face into a Part Extrude object. This functionality is now a separate command, see BIM ExtrudeFace. introduced in 26.3

Scripting

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

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

introduced in 26.3: The extrude method example below remains valid; the GUI equivalent is now BIM ExtrudeFace rather than this command.

extrusion = extrude(obj, vector, solid=False)

Example:

import FreeCAD as App
import Draft

doc = App.newDocument()

rectangle = Draft.make_rectangle(1500, 500)
doc.recompute()

vector = App.Vector(0, 0, 300)
solid = Draft.extrude(rectangle, vector, solid=True)
doc.recompute()