Draft Circle/es: Difference between revisions

From FreeCAD Documentation
(| instead of \)
(Updating to match new version of source page)
Line 1: Line 1:
{{GuiCommand/es|Name=Draft_Circle|Workbenches=[[Draft Module/es|Croquis]], [[Arch Module/es|Arquitectura]]|MenuLocation=Boceto Circunferencia|Shortcut=C I|SeeAlso=[[Draft Arc/es|Arco]]}}
{{GuiCommand|Name=Draft_Circle|Workbenches=[[Draft Module|Draft]], [[Arch Module|Arch]]|MenuLocation=Draft -> Circle|Shortcut=C I|SeeAlso=[[Draft Arc]]}}


==Description==
====Descripción====
The Circle tool creates a circle in the current [[Draft Workingplane|work plane]] by entering two points, the center and the radius, or by picking tangents, or any combination of those. It takes the [[Draft Linestyle|linewidth and color]] previously set on the Tasks tab. This tool works the same way as the [[Draft Arc]] tool, except that it stops after entering the radius.

La herramienta Circunferencia crea una circunferencia en el [[Draft Workingplane/es|plano de trabajo]] actual introduciendo dos puntos, el centro y el radio, o seleccionando las tangentes o cualquier combinación de ellas. Toma el [[Draft Linestyle/es|espesor de línea y color]] previamente establecido en la pestaña de tareas. Esta herramienta funciona del mismo modo que la herramienta [[Draft Arc/es|Arco]], excepto que termina después de introducir el radio.


[[Image:Draft_Circle_example.jpg|400px]]
[[Image:Draft_Circle_example.jpg|400px]]


==How to use==
====Utilización====
# Press the {{KEY|[[Image:Draft Circle.png|16px]] [[Draft Circle]]}} button, or press {{KEY|C}} then {{KEY|I}} keys
# Click a first point on the 3D view, or type a [[Draft_Coordinates|coordinate]]
# Click a second point on the 3D view, or enter a radius value.


==Options==
# Presiona el botón {{KEY|[[Image:Draft Circle.png|16px]] [[Draft Circle/es|Circunferencia]]}}, o presiona las teclas {{KEY|C}} y {{KEY|I}}
* The primary use of the circle tool is by picking two points, the centre and a point on the circumference, defining the radius.
# Selecciona un primer punto en la vista 3D, o escribe una [[Draft_Coordinates/es|coordenadas]]
* By pressing {{KEY|ALT}}, you can select a tangent instead of picking a point. You can therefore construct several types of circles by selecting one, two or three tangents.
# Selecciona un segundo punto en la vista 3D, o introduce un valor de radio.
* To enter coordinates manually, simply enter the numbers, then press {{KEY|ENTER}} between each X, Y and Z component.
* Press {{KEY|T}} or click the checkbox to check/uncheck the {{KEY|'''Continue'''}} button. If continue mode is on, the Circle tool will restart after you give the second point, allowing you to draw another circle without pressing the Circle button again.
* Press {{KEY|CTRL}} while drawing to force [[Draft_Snap|snapping]] your point to the nearest snap location, independently of the distance.
* Press {{KEY|SHIFT}} while drawing to [[Draft_Constrain|constrain]] your second point horizontally or vertically in relation to the first one.
* Press {{KEY|I}} or the {{KEY|'''Filled'''}} button to have the circle to appear as a face after it has been closed. This simply sets the View->Property of the Circle to "Flat lines" or "Wireframe", so it can easily be changed later.
* Press {{KEY|ESC}} or the {{KEY|'''Cancel'''}} button to abort the current Line command.
* The circle can be turned into an arc after creation, by setting its first angle and last angle properties to different values.


==Opciones==
==Properties==
* {{PropertyData|Radius}}: The radius of the circle


==Scripting==
* El principal uso de la herramienta circunferencia es indicando dos puntos, el centro y un punto en la circunferencia, definiendo el radio.
The Circle tool can by used in [[macros]] and from the python console by using the following function:
* Presionando {{KEY|ALT}}, puedes indicar una tangencia en lugar del centro o del radio. Puedes por tanto construir varios tipos de circunferencias seleccionando una, dos o tres tangencias.
<syntaxhighlight>
* Para introducir coordenadas manualmente, simplemente introduce los números y presiona {{KEY|ENTER}} entre cada componente X, Y y Z.
'''makeCircle (radius, [placement], [facemode], [startangle], [endangle])'''
* Presiona {{KEY|T}} o pulsa la casilla activar / desactivar el modo {{KEY|'''Continuo'''}}. Si está definido el modo continuo, la herramienta Circunferencia se iniciará después de indicar el segundo punto, permitiendo que dibujes otra circunferencia sin presionar el botón de circunferencia de nuevo.
</syntaxhighlight>
* Presiona {{KEY|CTRL}} mientras dibujas para forzar el [[Draft_Snap/es|ajuste]] de tu punto a la posición de ajuste más cercana, independientemente de la distancia.
* Creates a circle object with given radius.
* Presiona {{KEY|SHIFT}} mientras dibujas para [[Draft_Constrain/es|restringir]] tu segundo punto horizontal o verticalmente en relación al primero.
* If a placement is given, it is used.
* Presiona {{KEY|I}} o el botón de {{KEY|'''Relleno'''}} para que la circunferencia se muestre como una cara después de que se cierre. Esto simplemente establece Vista -> Propiedad de la circunferencia a "Líneas planas" o "Alámbricas", sde modo que se pueda cambiar fácilmente más adelante.
* If facemode is False, the circle is shown as a wireframe, otherwise as a face.
* Presiona {{KEY|ESC}} o el botón {{KEY|'''Cancelar'''}} para abortar el comando línea actual.
* If startangle AND endangle are given (in degrees), they are used and the object appears as an arc.
* La circunferencia se puede convertir en un arco después de crearse, estableciendo las propiedades del primer ángulo y último ángulo a valores diferentes.
* Returns the newly created object.

==Propiedades==

* {{PropertyData|Radius}}: El radio de la circunferencia

==Archivos de guión==

La herramienta Circunferencia se puede utilizar en [[macros/es|macros]] y desde la consola utilizando la siguiente función:
'''makeCircle (radio, [ubicación], [modo de cara], [ángulo inicial], [ángulo final])''': Crea un objeto circunferencia con el valor de radio dado.
Si se indica una ubicación, se utiliza. Si el modo de cara es falso, la circunferencia se mostrará como una estructura alámbrica, en otro caso como una cara.
Si se indican un ángulo de inicio Y un ángulo final (en grados), se utilizarán y el objeto se mostrará como un arco. Devuelve el objeto recién creado.

Ejemplo:


Example:
<syntaxhighlight>
import Draft
import Draft
myCircle = Draft.makeCircle(2)
myCircle = Draft.makeCircle(2)


</syntaxhighlight>
====Secuencia de comandos====
{{clear}}

<languages/>
La circunferencia creada es una característica del [[Part Module/es|Módulo de Piezas]] conteniendo una arista y un vértice.

{{languages/es | {{en|Draft Circle}} {{fr|Draft Circle/fr}} {{it|Draft Circle/it}} {{se|Draft Circle/se}} }}

Revision as of 21:34, 8 January 2014

Draft_Circle

Menu location
Draft -> Circle
Workbenches
Draft, Arch
Default shortcut
C I
Introduced in version
-
See also
Draft Arc

Description

The Circle tool creates a circle in the current work plane by entering two points, the center and the radius, or by picking tangents, or any combination of those. It takes the linewidth and color previously set on the Tasks tab. This tool works the same way as the Draft Arc tool, except that it stops after entering the radius.

How to use

  1. Press the Draft Circle button, or press C then I keys
  2. Click a first point on the 3D view, or type a coordinate
  3. Click a second point on the 3D view, or enter a radius value.

Options

  • The primary use of the circle tool is by picking two points, the centre and a point on the circumference, defining the radius.
  • By pressing ALT, you can select a tangent instead of picking a point. You can therefore construct several types of circles by selecting one, two or three tangents.
  • To enter coordinates manually, simply enter the numbers, then press ENTER between each X, Y and Z component.
  • Press T or click the checkbox to check/uncheck the Continue button. If continue mode is on, the Circle tool will restart after you give the second point, allowing you to draw another circle without pressing the Circle button again.
  • Press CTRL while drawing to force snapping your point to the nearest snap location, independently of the distance.
  • Press SHIFT while drawing to constrain your second point horizontally or vertically in relation to the first one.
  • Press I or the Filled button to have the circle to appear as a face after it has been closed. This simply sets the View->Property of the Circle to "Flat lines" or "Wireframe", so it can easily be changed later.
  • Press ESC or the Cancel button to abort the current Line command.
  • The circle can be turned into an arc after creation, by setting its first angle and last angle properties to different values.

Properties

  • DatosRadius: The radius of the circle

Scripting

The Circle tool can by used in macros and from the python console by using the following function:

 '''makeCircle (radius, [placement], [facemode], [startangle], [endangle])'''
  • Creates a circle object with given radius.
  • If a placement is given, it is used.
  • If facemode is False, the circle is shown as a wireframe, otherwise as a face.
  • If startangle AND endangle are given (in degrees), they are used and the object appears as an arc.
  • Returns the newly created object.

Example:

 import Draft
 myCircle = Draft.makeCircle(2)