Arch PipeConnector/es: Difference between revisions

From FreeCAD Documentation
(Created page with "{{docnav/es|Pipe|Arch CompSetMaterial|Arch|IconL=Arch_Pipe.svg |IconC=Workbench_Arch.svg |IconR=Arch_CompSetMaterial.png}}")
(Updating to match new version of source page)
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{docnav/es
|[[Arch_Pipe|Pipe]]|[[Arch_CompSetMaterial|Arch CompSetMaterial]]|[[Arch_Module|Arch]]|IconL=Arch_Pipe.svg |IconC=Workbench_Arch.svg |IconR=Arch_CompSetMaterial.png}}


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
{{docnav/es
|[[Arch_Pipe|Pipe]]|[[Arch_CompSetMaterial|Arch CompSetMaterial]]|[[Arch_Workbench|Arch]]|IconL=Arch_Pipe.svg |IconC=Workbench_Arch.svg |IconR=Arch_CompSetMaterial.png}}
</div>

{{GuiCommand/es
{{GuiCommand/es
|Name=Arch PipeConnector|Name/es=Arch PipeConnector
|Name=Arch PipeConnector
|Name/es=Arch PipeConnector
|Workbenches=[[Arch Module/es|Arch]]
|MenuLocation=Arch → Pipe Tools → Pipe Connector
|MenuLocation=Arch → Pipe Tools → Pipe Connector
|Workbenches=[[Arch_Workbench/es|Arch]]
|Shortcut={KEY|P}} {{KEY|C}}
|Shortcut={{KEY|P}} {{KEY|C}}
|SeeAlso=[[Arch Pipe/es|Arch Pipe]], [[Arch Equipment/es]]
|Version=0.17
|Version=0.17
|SeeAlso=[[Arch_Pipe/es|Arch Pipe]], [[Arch_Equipment/es|Arch Equipment]]
}}
}}
</div>


==Descripción==
==Descripción==
Line 37: Line 39:
Ver [[Arch Pipe#Typical_workflow]]
Ver [[Arch Pipe#Typical_workflow]]
</div>
</div>

== Scripting ==


<div class="mw-translate-fuzzy">
<div class="mw-translate-fuzzy">
Line 49: Line 53:
}}
}}


* Creates a {{incode|Connector}} object from the given {{incode|pipes}}, which is a list of [[Arch Pipe]]s, and optionally a {{incode|radius}} of curvature.
* Creates a {{incode|Connector}} object from the given {{incode|pipes}}, which is a list of [[Arch_Pipe|Arch Pipes]], and optionally a {{incode|radius}} of curvature.
** The base objects ([[Draft Wire]]s) of the [[Arch Pipe]]s should share an endpoint so they create a proper, smooth connector.
** The base objects ([[Draft_Wire|Draft Wires]]) of the [[Arch_Pipe|Arch Pipes]] should share an endpoint so they create a proper, smooth connector.


Example:
Example:
Line 84: Line 88:
FreeCAD.ActiveDocument.recompute()
FreeCAD.ActiveDocument.recompute()
}}
}}
{{docnav/es|[[Arch_Pipe|Pipe]]|[[Arch_CompSetMaterial|Arch CompSetMaterial]]|[[Arch_Module|Arch]]|IconL=Arch_Pipe.svg |IconC=Workbench_Arch.svg |IconR=Arch_CompSetMaterial.png}}


{{Arch Tools navi}}


<div class="mw-translate-fuzzy">
{{Userdocnavi}}
{{docnav/es|[[Arch_Pipe|Pipe]]|[[Arch_CompSetMaterial|Arch CompSetMaterial]]|[[Arch_Workbench|Arch]]|IconL=Arch_Pipe.svg |IconC=Workbench_Arch.svg |IconR=Arch_CompSetMaterial.png}}
</div>

{{Arch Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 18:13, 10 March 2022

Arch PipeConnector

Ubicación en el Menú
Arch → Pipe Tools → Pipe Connector
Entornos de trabajo
Arch
Atajo de teclado por defecto
P C
Introducido en versión
0.17
Ver también
Arch Pipe, Arch Equipment

Descripción

introducido en la versión 0.17 Esta herramienta permite crear una conexión de esquina o de salida en T entre dos o tres Arch Pipes seleccionados.

Como utilizar

  1. Seleccione 2 o 3 Arch Pipes. Si selecciona 3 tubos, dos de ellos deben estar exactamente alineados.
  2. Presione el botón Arch PipeConnector, o presione P y luego la tecla C

Propiedades

  • DATOSRadius: El radio de curvatura de este conector

Flujo de trabajo típico

Scripting

Programación

La herramienta conector de tubería se puede usar en macros y desde la consola de Python utilizando la siguiente función:

Connector = makePipeConnector(pipes, radius=0, name="Connector")
  • Creates a Connector object from the given pipes, which is a list of Arch Pipes, and optionally a radius of curvature.
    • The base objects (Draft Wires) of the Arch Pipes should share an endpoint so they create a proper, smooth connector.

Example:

import FreeCAD, Draft, Arch

p1 = FreeCAD.Vector(-1000, 0, 0)
p2 = FreeCAD.Vector(-2000, 0, 0)
p3 = FreeCAD.Vector(-2000, 0, 0)
p4 = FreeCAD.Vector(-2000, -1000, 0)
p5 = FreeCAD.Vector(-2000, -1000, 0)
p6 = FreeCAD.Vector(-4000, -1000, 0)
Line1 = Draft.makeWire([p1, p2])
Line2 = Draft.makeWire([p3, p4])
Line3 = Draft.makeWire([p5, p6])

Pipe1 = Arch.makePipe(Line1, 150)
Pipe2 = Arch.makePipe(Line2, 150)
Pipe3 = Arch.makePipe(Line3, 150)
FreeCAD.ActiveDocument.recompute()

Conn = Arch.makePipeConnector([Pipe1, Pipe2])
Conn2 = Arch.makePipeConnector([Pipe2, Pipe3])
FreeCAD.ActiveDocument.recompute()

Line4 = Draft.move(Line1, FreeCAD.Vector(-500, 1000, 0), copy=True)
Line5 = Draft.move(Line2, FreeCAD.Vector(-500, 1000, 0), copy=True)
Pipe4 = Arch.makePipe(Line4, 100)
Pipe5 = Arch.makePipe(Line5, 100)
FreeCAD.ActiveDocument.recompute()

Conn3 = Arch.makePipeConnector([Pipe4, Pipe5], radius=400)
FreeCAD.ActiveDocument.recompute()