Flamingo & Dodo workbench(s) discussion thread

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
ikua
Posts: 122
Joined: Fri Apr 07, 2017 1:32 pm

Re: Flamingo (Workbench) discussion thread

Postby ikua » Mon Apr 02, 2018 1:01 pm

update: found the menu in the pypeline editor :-).

What to you think, if the redraw button would iterate throw the whole project and update all pyplines?
oddtopus
Posts: 120
Joined: Tue Sep 20, 2016 6:17 pm

Re: Flamingo (Workbench) discussion thread

Postby oddtopus » Wed Apr 25, 2018 9:35 am

ikua wrote:
Mon Apr 02, 2018 1:01 pm
What to you think, if the redraw button would iterate throw the whole project and update all pyplines?
If the model have several pypelines, the user may regret to have pushed on that button. :lol:
Another possibility is to provide a list with checkboxes of the pypelines to be updated... think I will update the dialog soon.
oddtopus
Posts: 120
Joined: Tue Sep 20, 2016 6:17 pm

Re: Flamingo (Workbench) discussion thread

Postby oddtopus » Sun Apr 29, 2018 9:35 am

oddtopus wrote:
Wed Apr 25, 2018 9:35 am

Another possibility is to provide a list with checkboxes of the pypelines to be updated... think I will update the dialog soon.
Done.
oddtopus
Posts: 120
Joined: Tue Sep 20, 2016 6:17 pm

Re: Flamingo (Workbench) discussion thread

Postby oddtopus » Sun May 27, 2018 9:50 am

Lately I've been working on the pressure losses calculator integrated in flamingo WB to exploit more possibilities given by the python modules used therein.
It now has become a well usable tool and I guess that someone else may be interested in this stuff.
Just remember to install the python modules thermo and fluids: Herebelow are some snapshots that could be self-explaining but, in addition, there is also a fresh update of the tutorialPype3.pdf at this link.
calculated.png
calculated.png (20.67 KiB) Viewed 672 times
fluid1.png
fluid1.png (24.69 KiB) Viewed 672 times
results.png
results.png (19.36 KiB) Viewed 672 times
Hessed.Elohim
Posts: 11
Joined: Sat Jun 02, 2018 4:11 am
Location: Formosa, Argentina

Re: Flamingo (Workbench) discussion thread

Postby Hessed.Elohim » Wed Jun 06, 2018 10:55 pm

Hi, im new here (and dont know if this its the right place to ask).. can i use to go from a free-body-diagram like this:

Image

Image

to a structural model like this:

Image

Can I apply charges and get the reactions and stresses in bars?

Regards

P/D: Sorry for my english level
oddtopus
Posts: 120
Joined: Tue Sep 20, 2016 6:17 pm

Re: Flamingo (Workbench) discussion thread

Postby oddtopus » Sat Jul 07, 2018 1:07 pm

:D I'd like to share an important goal for flamingo WB, that I aimed to from the begin.
Pype-objects now have an AttachExtensionPython property by default. This means, for example, that flanges may be attached to the edge of the tube and be automatically moved with it.
But most of all, class PypeBranch has been recoded exploiting this to link tubes and curves to the Base centerline: in this way a pipe spool that is linked to a Sketch, is automatically redrawn whenever the sketch is modified.
Attached a video with a basic example.
Screencast.mp4.zip
(896.71 KiB) Downloaded 44 times
This may soon be applied also to FrameLines.

@ickby: thank You for the great tool of Extensions. I guess this list is a little outdated for the available extensions.
Won't it be usefull also a method like ".supportedExtensions()", similar to FreeCAD.ActiveDocument.supportedTypes(), to list the extensions available for an object?
User avatar
Kunda1
Posts: 4568
Joined: Thu Jan 05, 2017 9:03 pm

Re: Flamingo (Workbench) discussion thread

Postby Kunda1 » Sat Jul 07, 2018 1:23 pm

oddtopus wrote:
Sat Jul 07, 2018 1:07 pm
:D I'd like to share an important goal for flamingo WB, that I aimed to from the begin.
Pype-objects now have an AttachExtensionPython property by default. This means, for example, that flanges may be attached to the edge of the tube and be automatically moved with it.
But most of all, class PypeBranch has been recoded exploiting this to link tubes and curves to the Base centerline: in this way a pipe spool that is linked to a Sketch, is automatically redrawn whenever the sketch is modified.
Ridiculously cool! Congratulations
As a favor, please up the clip to youtube or vimeo next time...it's more mobile user friendly ;)
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
paullee
Posts: 1535
Joined: Wed May 04, 2016 3:58 pm

Re: Flamingo (Workbench) discussion thread

Postby paullee » Sat Jul 07, 2018 1:59 pm

oddtopus wrote:
Sat Jul 07, 2018 1:07 pm
:D I'd like to share an important goal for flamingo WB, that I aimed to from the begin.
Pype-objects now have an AttachExtensionPython property by default. This means, for example, that flanges may be attached to the edge of the tube and be automatically moved with it.
But most of all, class PypeBranch has been recoded exploiting this to link tubes and curves to the Base centerline: in this way a pipe spool that is linked to a Sketch, is automatically redrawn whenever the sketch is modified.
Attached a video with a basic example.
Screencast.mp4.zip

This may soon be applied also to FrameLines.

@ickby: thank You for the great tool of Extensions. I guess this list is a little outdated for the available extensions.
Hi, this looks very cools :)

I also notice minimal discussion about the 'Extension' at the same discussion thread. Anywhere to read about it and how to use it?

Thanks.
Opus
Posts: 88
Joined: Wed Nov 08, 2017 5:36 pm

Re: Flamingo (Workbench) discussion thread

Postby Opus » Sat Jul 07, 2018 5:29 pm

Very nice feature!
Congratulations!
oddtopus
Posts: 120
Joined: Tue Sep 20, 2016 6:17 pm

Re: Flamingo (Workbench) discussion thread

Postby oddtopus » Sun Jul 29, 2018 7:41 am

Hi.
This summer is a productive seasons because in few weeks I satisfied two big wishes I had for flamingo WB.
After the dynamic update of the PypeBranches now I found one convenient way to insert shapes of valves, fittings, pumps or any other object from a STEP/IGES/BREP file.
Basically this new tool creates a pype object in the drawing and then load its .Shape property from one of the files stored in the /shapes directory.
This is a simple application of the Shape's method "read()" but more than this, the object is an actual pype and it inherits properties as "Ports" to locate the interfaces, "Kv" to calculate pressure losses, "nearestPort()" method etc.

To make the object available for insert in the list of the dialog, it's sufficient to copy the file (a STEP, an IGES or o BREP) in the folder ../Mod/flamingo/shapes or any of its subfolders. You can also create your own subfolders to organize the files to your taste: subfolders will be accessible from a combobox in the dialog.
Optionally you can also create a .csv file inside each subfolder (similar to those in the /tables folder: its name must begin with "Any_" and have ".csv" extension) to store the main properties of your objects. If you don't you can import in any case the shape but doing so you wiil upload directly also the Ports and Kv to use in the model. Objects that are listed in such table are called "listed", while the others are "unlisted". When you select the file in the list, the dialog will show if the object is "listed" or not.
There are few samples in /shapes that will not be further updated because this folder is intended to be populated with your own collection.
Finally the objects will be placed in the model according the geometry selected, same as other pypes: a face, a curved edge or a vertex.

Beside that it's worth to mention other two tools that I found pretty useful:
* the point-to-point pipe, which allow to draw a pipeline in the same way as a DWire
* the attach-to-tube tool, which allow to attach one pype to the nearest port of a pipe selected in the viewport. In this way a flange, a valve or a cap (or even the objects imported as above) will follow always the pipe to which they're attached.