Draft Trimex

From FreeCAD Documentation
Revision as of 19:43, 19 July 2021 by FuzzyBot (talk | contribs) (Updating to match new version of source page)

Draft Trimex

Menüeintrag
Entwurf → Stutzen/Strecken
Arbeitsbereich
Entwurf, Arch
Standardtastenkürzel
T R
Eingeführt in Version
-
Siehe auch
Part Extrudieren

Beschreibung

Das Trimex Werkzeug stutzt oder streckt Entwurf Linien und Entwurf Draht so, dass sie an einem Schnittpunkt mit einer anderen Linie oder Kante enden.

Drahtsegment gestreckt, dann Drahtsegment gestutzt; Fläche zu einem festen Körper extrudiert

Trim or extend

Usage

  1. Wähle eine Linie, die Du stutzen oder strecken möchtest, oder wähle eine Fläche, die Du extrudieren möchtest.
  2. Drücke die Draft Trimex Taste, oder drücke T dann R Tasten.
  3. Klicke auf einen Punkt in der 3D Ansicht oder gib eine Entfernung ein und drücke Enter.

Options

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

  • The solution with the largest length determines the default direction of the command. Hold down Alt to invert this direction.
  • Hold down Shift to restrict the operation to the current segment of a Draft Wire.
  • Press S 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.

  • Drücke X, Y oder Z, um den Punkt auf der angegebenen Achse zu beschränken.
  • Halte Shift gedrückt, um den Vorgang auf das aktuelle Segment zu begrenzen, und vermeide, ein anderes auszuwählen.
    • Im Falle des Extrusionsmodus halte Shift gedrückt, um eine Fläche in eine andere Richtung zu extruieren.
  • Halte Alt während des Stutzens gedrückt, um die Richtung des Vorgangs umzukehren, d.h. das andere Ende des Drahtes wird beschnitten.

Extrude

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

Options

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

  • Hold Shift 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: Edit → Preferences... → General → Units → Units settings → Number of decimals.

Scripting

Skripten

Siehe auch: Draft API und FreeCAD Scripting Grundlagen.

Für das Trimex Werkzeug ist keine Programmierschnittstelle verfügbar. Siehe das Teilextrusion Werkzeug für die Extrusion von Flächen und anderen Formen.

extrusion = extrude(obj, vector, solid=False)
  • obj is the object to be extruded.
  • vector is the extrusion direction and distance.
  • If solid is True a solid is created instead of a shell.
  • extrusion is returned with the created object.

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()