OSE Piping Workbench: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
No edit summary
Line 99: Line 99:
* [https://www.freecadweb.org/wiki/Scripted_objects FreeCAD scripted objects]
* [https://www.freecadweb.org/wiki/Scripted_objects FreeCAD scripted objects]
* [https://forum.freecadweb.org/viewtopic.php?f=8&t=27641&sid=0f829d3bd056ec5add5407879796451a Forum entry on freecadweb.org]
* [https://forum.freecadweb.org/viewtopic.php?f=8&t=27641&sid=0f829d3bd056ec5add5407879796451a Forum entry on freecadweb.org]
=Useful links=
* An example of fittings with dimensioned drawings produced by [https://www.aetnaplastics.com/site_media/media/attachments/aetna_product_aetnaproduct/204/PVC%20Sch%2040%20Fittings%20Dimensions.pdf Aetna lastics].


=Discussion=
=Discussion=

Revision as of 09:55, 30 March 2018


HintLightbulb.png Hint: See Workbench Source Code at PVC_Pipe_and_Fittings_Library#OSE_Piping_Workbench

Introduction

The OSE pipe workbench is a FreeCAD workbench with pipes and fittings. It creates pipes and fitting using FreeCAD Parts workbench and Flamingo.

OsePiningWorkbenchScreenshot.png

Installation

In a Linux system

$ mkdir ~/.FreeCAD/Mod
$ cd ~/.FreeCAD/Mod
$ git clone https://github.com/rkrenzler/ose-piping-workbench.git

Check.png Command line instructions work on Ubuntu 16.04

Hint:For those new to Linux, always remember Linux is case sensitive. mkdir ~/.FreeCAD/Mod creates the mod directory inside of FreeCAD. this might already exist, and that is fine.


Pipes

The dimensions of the PVC pipes can be found here PVC_Pipe. Wikipedia on Nominal Pipe Size (NPS) [1],

A pipe is described by its outer diameter OD, its wall thickness Thk and its height[1] H.

To create a pipe, click CreatePipe.svg in OSE piping workbench. Select pipe dimensions and click "OK".

Create-pipe-screenshot.png

To add new dimensions adjust CSV pipe.csv in tables directory within workbench directory to add new pipe dimensions to the list.

Elbows

An elbow is described by an angle alpha, outer pipe diameter POD, inner pipe diameter PID, H, J, M.

To create an elbow, click CreateElbow.svg in OSE piping workbench.

Create-elbow-screenshot.png

Create-elbow-cad-screenshot.png

To add new elbows, adjust elbow.csv in tables directory within workbench directory.

Useful links: [2]

Couplings

A (general) coupling is described by dimensions: POD, POD1, PID, PID1, L, M, M1, N. The dimensions POD1 and PID1 are not from a official specifications. They are derived from pipe size and schedule. In a reducer coupling, the pipe dimensions on one side POD and PID differ from on the other side POD1 and PID1.

To create a coupling, click CreateCoupling.svg in OSE piping workbench.

Create-coupling-screenshot.png

Create-coupling-cad-screenshot.png

To add new couplings, adjust coupling.csv in tables directory within workbench directory.


Bushings

A bushing is described by dimensions N, L and pipe dimensions. As pipe dimensions we use POD, PID1, and POD1.

To create a bushing, click CreateBushing.svg in OSE piping workbench.

Create-bushing-screenshot.png

Create-bushing-cad-screenshot.png

To add a new coupling to the part list, adjust bushing.csv in tables directory within workbench directory.

Tees

A tee is described by parameters G, G1, H, H1, M, M1, and pipe dimensions. As pipe dimensions we use POD, POD1, PID, and PID1.

To create a tee click CreateTee.svg in OSE piping workbench.

Create-tee-screenshot.png

Create-tee-cad-screenshot.png

To add a new tee to the part list, adjust tee.csv in tables directory within workbench directory.

Corners

An corner is described by dimensions G, H, M and pipe dimensions. As pipe dimensions we use POD and PID.

To create a corner, click CreateCorner.svg in OSE piping workbench.

Create-corner-screenshot.png

Create-corner-cad-screenshot.png

To add a new corner to the part list, adjust corner.csv in tables directory within workbench directory.

Programming

  • FreeCAD scripted object
  • It should be possible to represent the object with "classic" FreeCAD forms like cylinders, spheres, sweeping objects ...
  • It should be possible to use solids.
  • The main purpose is to create tools for moving, rotations, and fittings.

Documentation

Useful links

  • An example of fittings with dimensioned drawings produced by Aetna lastics.

Discussion

  1. We use height instead of length in order to make a pipe similar to a FreeCAD cylinder. These particular choice of pipe dimensions make it more compatible with pipes from flamingo workbench.