Tube pipe bending

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
mesutbarut
Posts: 11
Joined: Fri Mar 30, 2018 1:00 pm

Tube pipe bending

Post by mesutbarut »

Hi FreeCAD Family,

I have a project. This project is Tube Pipe Bending. When a value is entered in the x y z parameter then pipe will be draw it.


x parameter draws the pipe
y parameter is rotation. this parameter is very importing thing thah is turn all the pipes drawn up to now.
z parameter is bending. I need this programa macros ?
the other parameters is
radius:
pipe diameter:

can you help me this project ?
Last edited by mesutbarut on Fri Mar 30, 2018 1:26 pm, edited 1 time in total.
chrisb
Veteran
Posts: 54281
Joined: Tue Mar 17, 2015 9:14 am

Re: Tube pipe bending

Post by chrisb »

Hello mesutbarut, welcome to the FreeCAD forum.
I did not use it myself, but there is an addon tool, the flamingo workbench, which is used for piping stuff.

Please change the subject of your first post. All caps is experienced as SHOUTING.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Tube pipe bending

Post by NormandC »

Hello mesutbarut,

Welcome to the forum.

chrisb wrote: Fri Mar 30, 2018 1:12 pm there is an addon tool, the flamingo workbench, which is used for piping stuff.
Piping has nothing to do with tube bending. At least, from what I could see from the Flamingo Github repository. It could work, but pipe size and corners seem to be limited to standard piping dimensions.

What mesutbarut describes is a typical program (more like a simple table actually) to bend a tube using a multiple-axis tube bender.

https://www.youtube.com/watch?v=DlJC6_eSfmU

FreeCAD does not allow you to create a bent tube from a tube bending program (surely a python macro could be done). You will have to manually draw or sketch the tubing path, add the tube profile to one end of the path, preferably centered; then create a sweep to generate a 3D solid, and finally void the solid to get a tube.

If all your bends share the same radius, you can do this pretty easily with a Image Draft Wire (DWire). A DWire can have coordinates in 3D, and it has a property to round the corners.

I made a video about it a long time ago:
phpBB [video]



Unfortunately, you need to know in advance the lengths of the theoretical intersections of each corners without the bends, which would require some calculation if bends are not 90 degrees. So it might be easier to use a series of sketches instead.

If you can give me a sample of values for one bent tube, I could demonstrate with an example file.
mesutbarut
Posts: 11
Joined: Fri Mar 30, 2018 1:00 pm

Re: Tube pipe bending

Post by mesutbarut »

Hi by NormandC,
Thank you so much for your support and during this title.

When you watch this web site video https://www.youtube.com/watch?v=RnIls63PGGY you use to easy understand me.

ı need a table. Each step has 3 parameters (X-Y-Z). The total number of steps will be 20.

For example :
x y z
1.step 200mm +90 degree 45 bending
2.step 300mm -90 degree 120 bending
3.step . . .
. . . .
. . . .
. . . .
.20.step . . .

X parameters: Pipe length.
Y parameters: Rotation of drawn pipes in degrees
Z parameters: Pipe bending angle

when i access x y z parameters then the pipe will be drawn automaticaly.

I need macros for this project.

I'm waiting for your help
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Tube pipe bending

Post by NormandC »

That's a nice macro!

mesutbarut wrote: Sat Mar 31, 2018 5:09 am I need macros for this project.

I'm waiting for your help
I'm sorry, I can't help. I don't know how to program macros. I only ever use the GUI.

Why don't you ask the guy on Youtube for his macro?
mesutbarut
Posts: 11
Joined: Fri Mar 30, 2018 1:00 pm

Re: Tube pipe bending

Post by mesutbarut »

how can ı contact ?
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Tube pipe bending

Post by NormandC »

You just write a comment on his video...
mesutbarut
Posts: 11
Joined: Fri Mar 30, 2018 1:00 pm

Re: Tube pipe bending

Post by mesutbarut »

ı wrote comment. I m gonna wait anymore. by NormandC
chrisb
Veteran
Posts: 54281
Joined: Tue Mar 17, 2015 9:14 am

Re: Tube pipe bending

Post by chrisb »

I see, thanks for the clarification. So tube bending is closer to the Sheet metal workbench than to Flamingo.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Tube pipe bending

Post by NormandC »

From what I could infer from Flamingo's "pype" tutorials, it uses standard piping elements. It is not modeled as such, but a U-shape ramp will actually be made of three straight pipes and 2 elbows.
Post Reply