Dev logs of Rebar Addon for FreeCAD - GSoC project

Contributions from the participants, questions and answers to their projects.
Discussions of proposals for upcoming events.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
thschrader
Veteran
Posts: 3158
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Dev logs of Rebar Addon for FreeCAD - GSoC project

Post by thschrader »

@amritpal
With flamingo-wb/workfeatures-macro you can generate rebars in a twisted shape.
twisted_rebar.FCStd
(408.01 KiB) Downloaded 97 times
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11919 (Git)
Build type: Release
Branch: master
Hash: fccb5dbc87b919164610296adc96aa8b4fe4825e
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: German/Germany (de_DE)
twisted.JPG
twisted.JPG (70.02 KiB) Viewed 2972 times
thschrader
Veteran
Posts: 3158
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Dev logs of Rebar Addon for FreeCAD - GSoC project

Post by thschrader »

Here is a second approach using an hyperbolic-paraboloid.
hyperbolic.FCStd
(205.04 KiB) Downloaded 111 times
hyperbolic_paraboloid.JPG
hyperbolic_paraboloid.JPG (82.85 KiB) Viewed 2955 times
roof.jpg
roof.jpg (63.6 KiB) Viewed 2955 times
User avatar
regis
Posts: 750
Joined: Sun Jul 12, 2015 8:17 am
Contact:

Re: Dev logs of Rebar Addon for FreeCAD - GSoC project

Post by regis »

Flamingo is proving to be quite great, what other kinds of shapes can you create? what about stairs as well?
thschrader
Veteran
Posts: 3158
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Dev logs of Rebar Addon for FreeCAD - GSoC project

Post by thschrader »

regis wrote: Mon Aug 28, 2017 1:46 pm Flamingo is proving to be quite great, what other kinds of shapes can you create? what about stairs as well?
If you have a shape which is not accepted by rebar-tools, you can generate additional "axes"
(white/red/orange lines) with workfeatures-macro. In flamingo, you generate a pipe (the "rebar" :) ) ONCE.
After that, flamingo can fit the pipe to the other axes (in my case the orange ones). Flamingo
automatically detects the direction/lenght of every axis (or sketch/wire) and adjusts the rebar.
Was only a first idea...
regards thomas
generating_rebars.JPG
generating_rebars.JPG (52.27 KiB) Viewed 2901 times
User avatar
amrit3701
Posts: 343
Joined: Mon Jun 13, 2016 5:37 pm

Re: Dev logs of Rebar Addon for FreeCAD - GSoC project

Post by amrit3701 »

thschrader wrote: Mon Aug 28, 2017 2:38 pm If you have a shape which is not accepted by rebar-tools, you can generate additional "axes"
(white/red/orange lines) with workfeatures-macro. In flamingo, you generate a pipe (the "rebar" :) ) ONCE.
After that, flamingo can fit the pipe to the other axes (in my case the orange ones). Flamingo
automatically detects the direction/lenght of every axis (or sketch/wire) and adjusts the rebar.
Was only a first idea...
Great.:)

FreeCAD rebar object can also do the same thing because inside the rebar object(let amount=10), each rebar is placing in the structure element through placement property. We just need to calculate placement of each rebar and then assign to rebar object.

Can you tell step by step that how I can achieve above through Flamingo WB?

Regards,
Amritpal Singh
Github, Like my work, sponsor me!
thschrader
Veteran
Posts: 3158
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Dev logs of Rebar Addon for FreeCAD - GSoC project

Post by thschrader »

amrit3701 wrote: Mon Aug 28, 2017 5:19 pm Can you tell step by step that how I can achieve above through Flamingo WB?
I hope you do not expect a video :geek: . Give me 2 days, and I can post a detailed pdf.
Please have look at the flamingo-manuals from oddtopus. With flamingo, it is possible
to attach a profile (here: a pipe, simulating the rebar) to a sketch/wire/axis (or multiple
axis, as shown above) WITHOUT knowing the exact location/orientation/lenghts of the
sketch/wire/axis. My idea was: subdivide the edges (used workfeatures-macro) of
the surface of the roof, draw the orange axis (manually), then switch to flamingo and
fill the whole grid with rebars. My short statement.
Give me 2 days...
thomas
thschrader
Veteran
Posts: 3158
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Dev logs of Rebar Addon for FreeCAD - GSoC project

Post by thschrader »

regis wrote: Mon Aug 28, 2017 1:46 pm Flamingo is proving to be quite great, what other kinds of shapes can you create? what about stairs as well?
@amritpal: here is the flamingo workflow (1,5 MB pdf)
https://www.dropbox.com/s/28hvg6mq8rpc1 ... s.pdf?dl=0
Edit: I forgot the file, sorry...
hyperbolic_start.FCStd
(75.22 KiB) Downloaded 105 times
@regis, according do "stairway": here is a tough one...
https://forum.freecadweb.org/viewtopic. ... 9&start=10
User avatar
regis
Posts: 750
Joined: Sun Jul 12, 2015 8:17 am
Contact:

Re: Dev logs of Rebar Addon for FreeCAD - GSoC project

Post by regis »

thschrader wrote: Tue Aug 29, 2017 1:36 pm
regis wrote: Mon Aug 28, 2017 1:46 pm Flamingo is proving to be quite great, what other kinds of shapes can you create? what about stairs as well?
@amritpal: here is the flamingo workflow (1,5 MB pdf)
https://www.dropbox.com/s/28hvg6mq8rpc1 ... s.pdf?dl=0
Edit: I forgot the file, sorry...
hyperbolic_start.FCStd

@regis, according do "stairway": here is a tough one...
https://forum.freecadweb.org/viewtopic. ... 9&start=10
Great stuffs, i'll like to play with it when i've got more time.
freecad needs a way to integrate all these tools in more refined workbenches, some of the tools do the same thing with one less or more option in another workbench.
User avatar
amrit3701
Posts: 343
Joined: Mon Jun 13, 2016 5:37 pm

Re: Dev logs of Rebar Addon for FreeCAD - GSoC project

Post by amrit3701 »

thschrader wrote: Tue Aug 29, 2017 1:36 pm @amritpal: here is the flamingo workflow (1,5 MB pdf)
https://www.dropbox.com/s/28hvg6mq8rpc1 ... s.pdf?dl=0
Edit: I forgot the file, sorry...
hyperbolic_start.FCStd
Thanks, @thschrader for sharing this. This week I am busy in my academics. I will give updates soon.

Regards,
Amritpal Singh
Github, Like my work, sponsor me!
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Dev logs of Rebar Addon for FreeCAD - GSoC project

Post by bernd »

@thomas
Am I right, all rebars are straight!
Post Reply