Arch Pipe: Difference between revisions
(Marked this version for translation) |
No edit summary |
||
Line 29: | Line 29: | ||
<!--T:3--> |
<!--T:3--> |
||
The '''Arch Pipe''' tool allows to create pipes from scratch, or from selected objects. The selected objects must be Part-based (Draft, Sketch, etc..) and contain one and only one open Wire. |
|||
==Usage== <!--T:4--> |
==Usage== <!--T:4--> |
||
Line 56: | Line 56: | ||
<!--T:9--> |
<!--T:9--> |
||
* Start by placing sanitary/hydraulic appliance items (below is an imported step file). You turn these objects into Arch Equipments by selecting them, and pressing the [[ |
* Start by placing sanitary/hydraulic appliance items (below is an imported step file). You turn these objects into Arch Equipments by selecting them, and pressing the [[Arch_Equipment|Arch Equipment]] button. |
||
<!--T:10--> |
<!--T:10--> |
||
Line 89: | Line 89: | ||
<!--T:20--> |
<!--T:20--> |
||
* We now only have to select all our lines, and press the [[Arch Pipe]] button. Arch Pipe works with any Part-based object that contains one and only one open wire. |
* We now only have to select all our lines, and press the [[Arch_Pipe|Arch Pipe]] button. Arch Pipe works with any Part-based object that contains one and only one open wire. |
||
<!--T:21--> |
<!--T:21--> |
||
Line 95: | Line 95: | ||
<!--T:22--> |
<!--T:22--> |
||
* We can now create connections by selecting 2 or 3 coincident tubes, and press the [[Arch PipeConnector]] button. If 3 pipes are selected, two of them must be aligned in order to create a tee element: |
* We can now create connections by selecting 2 or 3 coincident tubes, and press the [[Arch_PipeConnector|Arch PipeConnector]] button. If 3 pipes are selected, two of them must be aligned in order to create a tee element: |
||
<!--T:23--> |
<!--T:23--> |
||
Line 113: | Line 113: | ||
<!--T:27--> |
<!--T:27--> |
||
The Pipe tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following function: |
The Pipe tool can be used in [[Macros|macros]] and from the [[Python|Python]] console by using the following function: |
||
</translate> |
</translate> |
||
{{Code|code= |
{{Code|code= |
Latest revision as of 12:41, 15 June 2024
THIS COMMAND IS PART OF THE INTEGRATED BIM WORKBENCH IN V1.0
This page has been updated for that version.
This page has been updated for that version.
Arch Pipe |
Menu location |
---|
3D/BIM → Pipe |
Workbenches |
BIM |
Default shortcut |
P I |
Introduced in version |
0.17 |
See also |
None |
Description
The Arch Pipe tool allows to create pipes from scratch, or from selected objects. The selected objects must be Part-based (Draft, Sketch, etc..) and contain one and only one open Wire.
Usage
- Optionally, select a linear Part shape such as a Draft Line, a Draft Wire or an open Sketch.
- Invoke this command using several methods:
- Pressing the Pipe button on the toolbar.
- Pressing the P then I keyboard shortcut.
- Pressing the 3D/BIM → Pipe entry from the top menu.
Options
- Pipes share the common properties and behaviours of all Arch Components
Properties
- DataLength: Sets the length of this pipe, when it is not based on a wire
- DataDiameter: The diameter of this pipe, when it is not based on a profile
- DataBase: The base wire of this pipe, if any
- DataProfile: The base profile of this pipe. If not given, the pipe is cylindrical.
Typical workflow
- Start by placing sanitary/hydraulic appliance items (below is an imported step file). You turn these objects into Arch Equipments by selecting them, and pressing the Arch Equipment button.
- Arch Equipments now have a new SnapPoints property, which is a list of 3D vectors. This allows you to add custom snap points, to which you can snap when the new Draft Special snap button is turned on. Currently that property is only available to Python, though. In the case above I added a new snap point at the exit of the WC appliance. The vectors inside SnapPoints appear on the model as white dots:
FreeCAD.ActiveDocument.Equipment.SnapPoints=[FreeCAD.Vector(0,0,100)]
- With the new "Snap Special" Draft Snap, you can now snap to these custom points:
- Now we can draw our piping using Draft Lines, Draft Wires, or Sketches. The best way, though, is using only Draft Lines:
- There is now a new Draft Slope tool that allows to change the slope of Draft lines, to, for example, 5% (0.05). So we can quickly give our waste lines a correct slope. Only z coordinates are change by this tool, so we only need to snap them back to each other, the top projection will stay unchanged.
- We now only have to select all our lines, and press the Arch Pipe button. Arch Pipe works with any Part-based object that contains one and only one open wire.
- We can now create connections by selecting 2 or 3 coincident tubes, and press the Arch PipeConnector button. If 3 pipes are selected, two of them must be aligned in order to create a tee element:
- Changing the connectors radius doesn't change the length of the underlying base line, only the resulting tube (by changing their OffsetStart or OffsetEnd property). So you can still draw your line layout with only straight lines, without the need to care about curves and radius.
It is also possible to create Arch Pipes without a base line, in this case use its "Length" property to define the length.
Scripting
See also: Arch API and FreeCAD Scripting Basics.
The Pipe tool can be used in macros and from the Python console by using the following function:
Pipe = makePipe(baseobj=None, diameter=0, length=0, placement=None, name="Pipe")
- Creates a
Pipe
object from the givenbaseobj
anddiameter
.baseobj
is a Draft Line or Draft Wire.- If
baseobj
is omitted, a straight pipe can be created with just thediameter
and thelength
in the Z direction.
- If a
placement
is given, it is used.
import Draft, Arch
p1 = FreeCAD.Vector(1000, 0, 0)
p2 = FreeCAD.Vector(2500, 200, 0)
p3 = FreeCAD.Vector(3100, 1000, 0)
p4 = FreeCAD.Vector(3500, 500, 0)
Line = Draft.makeWire([p1, p2, p3, p4])
Pipe = Arch.makePipe(Line, 200)
FreeCAD.ActiveDocument.recompute()
Pipe2 = Arch.makePipe(diameter=120, length=3000)
FreeCAD.ActiveDocument.recompute()
BIM
- 2D drafting: Sketch, Line, Polyline, Circle, Arc, Arc by 3 points, Fillet, Ellipse, Polygon, Rectangle, B-spline, Bézier curve, Cubic Bézier curve, Point
- 3D/BIM: Project, Site, Building, Level, Space, Wall, Curtain Wall, Column, Beam, Slab, Door, Window, Pipe, Pipe Connector, Stairs, Roof, Panel, Frame, Fence, Truss, Equipment
- Reinforcement tools: Custom Rebar, Straight Rebar, U-Shape Rebar, L-Shape Rebar, Stirrup, Bent-Shape Rebar, Helical Rebar, Column Reinforcement, Beam Reinforcement, Slab Reinforcement, Footing Reinforcement
- Generic 3D tools: Profile, Box, Shape builder..., Facebinder, Objects library, Component, External reference
- Annotation: Text, Shape from text, Aligned dimension, Horizontal dimension, Vertical dimension, Leader, Label, Axis, Axes System, Grid, Section Plane, Hatch, Page, View, Shape-based view
- Snapping: Snap lock, Snap endpoint, Snap midpoint, Snap center, Snap angle, Snap intersection, Snap perpendicular, Snap extension, Snap parallel, Snap special, Snap near, Snap ortho, Snap grid, Snap working plane, Snap dimensions, Toggle grid, Working Plane Top, Working Plane Front, Working Plane Side
- Modify: Move, Copy, Rotate, Clone, Create simple copy, Make compound, Offset, 2D Offset..., Trimex, Join, Split, Scale, Stretch, Draft to sketch, Upgrade, Downgrade, Add component, Remove component, Array, Path array, Circular array, Point array, Cut with plane, Mirror, Extrude..., Difference, Union, Intersection
- Manage: BIM Setup..., Views manager, Manage project..., Manage doors and windows..., Manage IFC elements..., Manage IFC quantities..., Manage IFC properties..., Manage classification..., Manage layers..., Material, Schedule, Preflight checks..., Annotation styles...
- Utils: Toggle bottom panels, Move to Trash, Working Plane View, Select group, Set slope, Create working plane proxy, Add to construction group, Split Mesh, Mesh to Shape, Select non-manifold meshes, Remove Shape from Arch, Close Holes, Merge Walls, Check, Toggle IFC Brep flag, Toggle subcomponents, Survey, IFC Diff, IFC explorer, Image plane, Unclone, Rewire, Glue, Reextrude
- Panel tools: Panel, Panel Cut, Panel Sheet, Nest
- Structure tools: Structure, Structural System, Multiple Structures
- IFC tools: IFC Diff..., IFC Expand, Make IFC project, IfcOpenShell update
- Nudge: Nudge Switch, Nudge Up, Nudge Down, Nudge Left, Nudge Right, Nudge Rotate Left, Nudge Rotate Right, Nudge Extend, Nudge Shrink
- Additional: Preferences, Fine tuning, Import Export Preferences, IFC, DAE, OBJ, JSON, 3DS, SHP
User documentation
- 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, Assembly, BIM, 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