Part Tube/es: Difference between revisions
(Created page with "==Uso==") |
(Updating to match new version of source page) |
||
(37 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Docnav |
|||
<div class="mw-translate-fuzzy"> |
|||
|[[Part_Toro|Toro]] |
|||
{{Docnav/es |
|||
|[[Part_Primitivas|Primitivas]] |
|||
|[[ |
|[[Part_Torus/es|Toro]] |
||
|[[Part_Primitives/es|Primitivas]] |
|||
|[[Part_Workbench/es|Part]] |
|||
|IconL=Part_Torus.svg |
|IconL=Part_Torus.svg |
||
|IconR=Part_Primitives.svg |
|IconR=Part_Primitives.svg |
||
|IconC=Workbench_Part.svg |
|IconC=Workbench_Part.svg |
||
}} |
}} |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
{{GuiCommand |
|||
{{GuiCommand/es |
|||
|Name=Part Tube |
|Name=Part Tube |
||
|Name/es=Part Tubo |
|||
|MenuLocation=Part → Primitives → Create tube |
|||
|MenuLocation=Pieza → Primitivas → Crear un tubo |
|||
|Workbenches=[[Part_Module|Part]] |
|||
|Workbenches=[[Part_Workbench/es|Part]] |
|||
|Version=0.19 |
|Version=0.19 |
||
|Seealso=[[Part_CreatePrimitives|Part CreatePrimitives]] |
|Seealso=[[Part_CreatePrimitives/es|Part CreatePrimitives]] |
||
}} |
}} |
||
</div> |
|||
<span id="Description"></span> |
|||
==Descripción== |
==Descripción== |
||
<div class="mw-translate-fuzzy"> |
|||
El comando Tubo inserta un tubo en el documento activo. El tubo es geométricamente tratado como un corte de un cilindro más pequeño dentro de otro mayor. Por defecto, el comando insertará un tubo de 10 mm de altura con un radio exterior de 5 mm y un radio interior de 2 mm. Estos parámetros pueden ser modificados después de que el objeto ha sido introducido. |
|||
El comando Tubo inserta un tubo en el documento activo. El tubo es geométricamente tratado como un corte de un cilindro más pequeño dentro de otro mayor. Por defecto, el comando insertará un tubo de 10 mm de altura con un radio exterior de 5 mm y un radio interior de 2 mm. Estos parámetros pueden ser modificados tras ser introducido el objeto. |
|||
</div> |
|||
[[Image: |
[[Image:Part_Tube_Example.png|400px]] |
||
<span id="Usage"></span> |
|||
==Uso== |
==Uso== |
||
=== Create === |
|||
To create a tube either: |
|||
* press the {{Button|[[Image:Part_Tube.svg|16px]] '''Tube'''}} button in the toolbar |
|||
* use the menu {{MenuCommand|Part → Primitives → Create tube}} |
|||
<div class="mw-translate-fuzzy"> |
|||
To edit the tube |
|||
Se puede crear un tubo: |
|||
* either |
|||
* presionando el botón {{Button|[[Image:Part_Tube.svg|16px]] '''Crea un Tubo'''}} en la barra de herramientas; o bien: |
|||
** select it in the tree and double-click on it |
|||
* usando el menú {{MenuCommand|Pieza → Primitivas → Crear un tubo}} |
|||
** edit the parameters in the appearing dialog |
|||
</div> |
|||
* or use the the [[Property_editor | property editor]] to edit the parameters |
|||
== |
=== Edit === |
||
# Double-click the tube in the [[Tree_view|Tree view]] |
|||
* Via the [[Property_editor | Property Editor]]: |
|||
# The {{MenuCommand|Tube}} task panel opens. |
|||
** '''Height:''' Sets the height (default is 10 mm). |
|||
# Change one or more dimensions. |
|||
** '''Inner Radius:''' Set the inner radius (default is 2 mm). |
|||
# The tube is dynamically updated in the [[3D_view|3D view]]. |
|||
** '''Outer Radius:''' Set the outer radius (default is 5 mm). |
|||
# Press the {{Button|OK}} button. |
|||
** '''Placement:''' Specifies the orientation and position of the Box in the 3D space. See [[Placement | Placement]]. The reference point is the left front lower corner of the box. |
|||
** '''Label:''' The Label is the name given to the operation. This name can be changed at your convenience. |
|||
== Example == |
|||
[[Image:Part_Tube_Scripting_Example.png|thumb|Part Tube from the scripting example]] |
|||
A Part Tube object created with the [[#Scripting|scripting example]] below is shown here. |
|||
<span id="Properties"></span> |
|||
==Propiedades== |
|||
See also: [[Property_editor|Property editor]]. |
|||
A Part Tube object is derived from a [[Part_Feature|Part Feature]] object and inherits all its properties. It also has the following additional properties: |
|||
=== Data === |
|||
{{TitleProperty|Attachment}} |
|||
The object has the same attachment properties as a [[Part_Part2DObject#Data|Part Part2DObject]]. |
|||
{{TitleProperty|Tube}} |
|||
<div class="mw-translate-fuzzy"> |
|||
* Por medio del [[Property_editor/es|Editor de propiedades]]: |
|||
** '''Height o Altura:''' Selecciona la altura (por defecto es 10 mm). |
|||
** '''Inner radius o Radio interior:''' Selecciona el radio interior (por defecto es 2 mm). |
|||
** '''Outer radius o Radio exterior:''' Selecciona el radio exterior (por defecto es 5 mm). |
|||
** '''Placement o Localización:''' Especifica la orientación y la posición de la caja en el espacio 3D. Ver [[Placement/es | Placement]]. El punto de referencia es la esquina inferior izquierda frontal de la caja. |
|||
** '''Label o Etiqueta:''' Es el nombre dado a la operación. Este nombre puede ser cambiado si es conveniente. |
|||
</div> |
|||
== Scripting == |
|||
See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation], [[Part_scripting|Part scripting]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]]. |
|||
A Part Tube can be created with the {{Incode|addTube()}} method ({{Version|0.20}}) of the Shapes module: |
|||
{{Code|code= |
|||
tube = Shapes.addTube(FreeCAD.ActiveDocument, "myTube") |
|||
}} |
|||
* Where {{Incode|"myTube"}} is the name for the object. |
|||
* The function returns the newly created object. |
|||
Example: |
|||
{{Code|code= |
|||
import FreeCAD as App |
|||
from BasicShapes import Shapes |
|||
doc = App.activeDocument() |
|||
tube = Shapes.addTube(FreeCAD.ActiveDocument, "myTube") |
|||
tube.Height = 20 |
|||
tube.InnerRadius = 2 |
|||
tube.OuterRadius = 3 |
|||
tube.Placement = App.Placement(App.Vector(2, 4, 5), App.Rotation(60, 60, 30)) |
|||
doc.recompute() |
|||
}} |
|||
<div class="mw-translate-fuzzy"> |
|||
{{Docnav |
|||
{{Docnav/es |
|||
|[[Part_Torus|Torus]] |
|||
|[[Part_Torus/es|Toro]] |
|||
|[[Part_Primitives|Primitives]] |
|||
|[[Part_Primitives/es|Primitivas]] |
|||
|[[Part_Module|Part]] |
|||
|[[Part_Workbench/es|Part]] |
|||
|IconL=Part_Torus.svg |
|IconL=Part_Torus.svg |
||
|IconR=Part_Primitives.svg |
|IconR=Part_Primitives.svg |
||
|IconC=Workbench_Part.svg |
|IconC=Workbench_Part.svg |
||
}} |
}} |
||
</div> |
|||
{{ |
{{Part_Tools_navi{{#translation:}}}} |
||
{{Userdocnavi{{#translation:}}}} |
{{Userdocnavi{{#translation:}}}} |
Latest revision as of 11:41, 21 January 2023
Part Tubo |
Ubicación en el Menú |
---|
Pieza → Primitivas → Crear un tubo |
Entornos de trabajo |
Part |
Atajo de teclado por defecto |
Ninguno |
Introducido en versión |
0.19 |
Ver también |
Ninguno |
Descripción
El comando Tubo inserta un tubo en el documento activo. El tubo es geométricamente tratado como un corte de un cilindro más pequeño dentro de otro mayor. Por defecto, el comando insertará un tubo de 10 mm de altura con un radio exterior de 5 mm y un radio interior de 2 mm. Estos parámetros pueden ser modificados tras ser introducido el objeto.
Uso
Create
Se puede crear un tubo:
Edit
- Double-click the tube in the Tree view
- The Tube task panel opens.
- Change one or more dimensions.
- The tube is dynamically updated in the 3D view.
- Press the OK button.
Example
A Part Tube object created with the scripting example below is shown here.
Propiedades
See also: Property editor.
A Part Tube object is derived from a Part Feature object and inherits all its properties. It also has the following additional properties:
Data
Attachment
The object has the same attachment properties as a Part Part2DObject.
Tube
- Por medio del Editor de propiedades:
- Height o Altura: Selecciona la altura (por defecto es 10 mm).
- Inner radius o Radio interior: Selecciona el radio interior (por defecto es 2 mm).
- Outer radius o Radio exterior: Selecciona el radio exterior (por defecto es 5 mm).
- Placement o Localización: Especifica la orientación y la posición de la caja en el espacio 3D. Ver Placement. El punto de referencia es la esquina inferior izquierda frontal de la caja.
- Label o Etiqueta: Es el nombre dado a la operación. Este nombre puede ser cambiado si es conveniente.
Scripting
See also: Autogenerated API documentation, Part scripting and FreeCAD Scripting Basics.
A Part Tube can be created with the addTube()
method (introduced in version 0.20) of the Shapes module:
tube = Shapes.addTube(FreeCAD.ActiveDocument, "myTube")
- Where
"myTube"
is the name for the object. - The function returns the newly created object.
Example:
import FreeCAD as App
from BasicShapes import Shapes
doc = App.activeDocument()
tube = Shapes.addTube(FreeCAD.ActiveDocument, "myTube")
tube.Height = 20
tube.InnerRadius = 2
tube.OuterRadius = 3
tube.Placement = App.Placement(App.Vector(2, 4, 5), App.Rotation(60, 60, 30))
doc.recompute()
- Primitives: Box, Cylinder, Sphere, Cone, Torus, Tube, Create primitives, Shape builder
- Creation and modification: Extrude, Revolve, Mirror, Fillet, Chamfer, Make face from wires, Ruled Surface, Loft, Sweep, Section, Cross sections, 3D Offset, 2D Offset, Thickness, Projection on surface, Attachment
- Boolean: Make compound, Explode Compound, Compound Filter, Boolean, Cut, Fuse, Common, Connect, Embed, Cutout, Boolean fragments, Slice apart, Slice, XOR
- Measure: Measure Linear, Measure Angular, Measure Refresh, Clear All, Toggle All, Toggle 3D, Toggle Delta
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub