Draft Trimex/es: Difference between revisions

From FreeCAD Documentation
(Created page with '{{GuiCommand|Name=Draft_Trimex|Workbenches=Croquis|MenuLocation=Croquis -> Recortar/Extender|Shortcut=T R|SeeAlso=Extrusión}} ====Descri…')
 
(Updating to match new version of source page)
 
(38 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<languages/>
{{GuiCommand|Name=Draft_Trimex|Workbenches=[[Draft Module/es|Croquis]]|MenuLocation=Croquis -> Recortar/Extender|Shortcut=T R|SeeAlso=[[Part Extrude/es|Extrusión]]}}


{{Docnav
====Descripción====
|[[Draft_Offset|Offset]]
|[[Draft_Stretch|Stretch]]
|[[Draft_Workbench|Draft]]
|IconL=Draft_Offset.svg
|IconR=Draft_Stretch.svg
|IconC=Workbench_Draft.svg
}}


<div class="mw-translate-fuzzy">
{{GuiCommand/es
|Name=Draft Trimex
|Name/es=Draft Trimex
|MenuLocation=Croquis -> Recortar/Extender
|Workbenches=[[Draft_Workbench/es|Croquis]], [[Arch_Workbench/es|Arquitectura]]
|Shortcut={{KEY|T}} {{KEY|R}}
|SeeAlso=[[Part Extrude/es|Extrusión]]
}}
</div>

<span id="Description"></span>
==Descripción==

<div class="mw-translate-fuzzy">
Esta herramienta recorta/corta y extiende líneas y polilíneas, y extruye caras.
Esta herramienta recorta/corta y extiende líneas y polilíneas, y extruye caras.
</div>


[[Image:Draft trimex example.jpg|400px]]
====Utilización====
{{Caption|Top: a Draft Wire extended and then trimmed.<br>
Bottom: a face extruded into a solid body.}}


==Trim or extend==

===Usage===

<div class="mw-translate-fuzzy">
# Selecciona el contorno que quieres recortar o extender, o selecciona una cara que quieras extruir
# Presiona el botón {{KEY|[[Image:Draft Trimex.png|16px]] [[Draft Trimex/es|Recortar]]}}, o presiona las teclas {{KEY|T}} y {{KEY|R}}
# Designa un punto en la vista 3D
</div>

===Options===

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

* Hold down {{KEY|Alt}} to invert the default result of the command.
* Hold down {{KEY|Shift}} to restrict the operation to the current segment of a [[Draft_Wire|Draft Wire]].
* Press {{KEY|S}} to switch [[Draft_Snap|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_Snap|Draft Snaps]] were turned off.

[[Image:Draft_Trimex_example2.png]]

<div class="mw-translate-fuzzy">
* Recortar o extender se decide de forma automática en función de la posición del cursor
* Recortar o extender se decide de forma automática en función de la posición del cursor
* Si mueves el cursor sobre otro objeto, la operación de recortar/extender se ajustará a dicho objeto o segmento
* Si mueves el cursor sobre otro objeto, la operación de recortar/extender se ajustará a dicho objeto o segmento
* Presionando {{KEY|SHIFT}} se realizará una [[Draft_Constrain/es|restricción]] al segmento que está siendo actualmente recortado o extendido.
* Presionando {{KEY|SHIFT}} se realizará una [[Draft_Constrain/es|restricción]] al segmento que está siendo actualmente recortado o extendido.
* Presionando {{KEY|ALT}} se invierte el orden del recorte.
* Presionando {{KEY|ALT}} se invertirá la dirección del recorte
* Los chaflanes y redondeos aún no están soportados pero si planificados.
* Cuando el objeto seleccionado es una cara, o cuando se selecciona una cara de un objeto existente, la herramienta de recortar/extender cambia al modo extruir. En modo extruir, presionando {{KEY|SHIFT}} se restringe la extrusión a la normal a la cara.
* Cuando el objeto seleccionado es una cara, o cuando se selecciona una cara de un objeto existente, la herramienta de recortar/extender cambia al modo extruir. En modo extruir, presionando {{KEY|SHIFT}} se restringe la extrusión a la normal a la cara.
</div>

==Extrude==

===Usage===

See also: [[Draft_Snap|Draft Snap]] and [[Draft_Constrain|Draft Constrain]].

# It can be helpful to first change the [[Draft_SelectPlane|Draft working plane]] so that it is not coplanar with the face you want to extrude.
# Optionally select a single face or an object with a single face.
# There are several ways to invoke the command:
#* Press the {{Button|[[Image:Draft_Trimex.svg|16px]] [[Draft_Trimex|Draft Trimex]]}} button.
#* Select the {{MenuCommand|Modification → [[Image:Draft_Trimex.svg|16px]] Trimex}} option from the menu.
#* Use the keyboard shortcut: {{KEY|T}} then {{KEY|R}}.
# If you have not yet selected an object or a face: select an object with a single face in the [[3D_view|3D view]].
# The {{MenuCommand|Trimex}} task panel opens. See [[#Options_2|Options]] for more information.
# To define the extrusion direction and distance do one of the following:
#* Pick a point in the [[3D_view|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|3D view]] and enter a {{MenuCommand|Distance}}.

===Options===

The modifier key mentioned here can be changed. See [[Draft_Preferences|Draft Preferences]].

* Hold {{KEY|Shift}} to extrude in a direction that is not parallel to the normal of the face.

==Scripting==

<div class="mw-translate-fuzzy">
==Programación==
</div>

<div class="mw-translate-fuzzy">
No disponible. Mira la herramienta [[Part Extrude/es|Extrusión]].
</div>

{{Code|code=
extrusion = extrude(obj, vector, solid=False)
}}

* {{incode|obj}} is the object to be extruded.
* {{incode|vector}} is the extrusion direction and distance.
* If {{incode|solid}} is {{incode|True}} a solid is created instead of a shell.
* {{incode|extrusion}} is returned with the created object.

Example:

{{Code|code=
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()
}}


{{Docnav
|[[Draft_Offset|Offset]]
|[[Draft_Stretch|Stretch]]
|[[Draft_Workbench|Draft]]
|IconL=Draft_Offset.svg
|IconR=Draft_Stretch.svg
|IconC=Workbench_Draft.svg
}}


{{languages | {{en|Draft Trimex}} {{se|Draft Trimex/se}} }}
{{Draft Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 05:07, 9 January 2024

Draft Trimex

Ubicación en el Menú
Croquis -> Recortar/Extender
Entornos de trabajo
Croquis, Arquitectura
Atajo de teclado por defecto
T R
Introducido en versión
-
Ver también
Extrusión

Descripción

Esta herramienta recorta/corta y extiende líneas y polilíneas, y extruye caras.

Top: a Draft Wire extended and then trimmed.
Bottom: a face extruded into a solid body.

Trim or extend

Usage

  1. Selecciona el contorno que quieres recortar o extender, o selecciona una cara que quieras extruir
  2. Presiona el botón Recortar, o presiona las teclas T y R
  3. Designa un punto en la vista 3D

Options

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

  • Hold down Alt to invert the default result of the command.
  • 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.

  • Recortar o extender se decide de forma automática en función de la posición del cursor
  • Si mueves el cursor sobre otro objeto, la operación de recortar/extender se ajustará a dicho objeto o segmento
  • Presionando SHIFT se realizará una restricción al segmento que está siendo actualmente recortado o extendido.
  • Presionando ALT se invertirá la dirección del recorte
  • Cuando el objeto seleccionado es una cara, o cuando se selecciona una cara de un objeto existente, la herramienta de recortar/extender cambia al modo extruir. En modo extruir, presionando SHIFT se restringe la extrusión a la normal a la cara.

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.

Scripting

Programación

No disponible. Mira la herramienta Extrusión.

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