Draft: Taglia/Estendi

From FreeCAD Documentation
Revision as of 19:37, 4 September 2021 by Heda (talk | contribs)

Tronca/Estendi

Posizione nel menu
Draft → Tronca/Estendi
Ambiente
Draft, Architettura
Avvio veloce
T R
Introdotto nella versione
-
Vedere anche
Parte → Estrudi

Descrizione

Lo strumento Tronca/Estendi taglia o estende le Linee e le Polilinee in modo che finiscano in un'intersezione con un'altra linea o bordo.

Segmento del contorno esteso, poi segmento tagliato; faccia estrusa in un corpo solido

Trim or extend

Usage

  1. Selezionare una linea che si desidera accorciare o estendere, oppure selezionare una faccia che si desidera estrudere
  2. Premere il pulsante Tronca/Estendi, o premere i tasti T e R
  3. Cliccare un punto nella vista 3D, oppure immettere una distanza e premere Invio.

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.

  • Premere il tasto X, Y o Z per vincolare il punto sull'asse dato.
  • Tenere premuto Maiusc per limitare l'operazione al segmento corrente ed evitare di prenderne un altro.
    • Nel caso della modalità estrusione, Tenere premuto Maiusc per estrudere una faccia in una direzione che non è la normale.
  • Tenere premuto Alt durante il taglio per invertire la direzione dell'operazione, cioè per tagliare l'altra estremità del contorno.

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

Non ci sono opzioni per questo strumento. Per l'estrusione di facce e altre forme consultare lo strumento Estrudi del modulo Parte.

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