Skip to content

Commit

Permalink
Arch: fixed makePipe to return the pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Nov 29, 2016
1 parent 313d893 commit 43aae3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Mod/Arch/ArchPipe.py
Expand Up @@ -73,6 +73,7 @@ def makePipe(baseobj=None,diameter=0,length=0,placement=None,name="Pipe"):
obj.Diameter = p.GetFloat("PipeDiameter",50)
if placement:
obj.Placement = placement
return obj


def makePipeConnector(pipes,radius=0,name="Connector"):
Expand All @@ -88,6 +89,7 @@ def makePipeConnector(pipes,radius=0,name="Connector"):
obj.Radius = radius
if FreeCAD.GuiUp:
_ViewProviderPipe(obj.ViewObject)
return obj


class _CommandPipe:
Expand Down

0 comments on commit 43aae3d

Please sign in to comment.