Dev logs of Rebar Addon for FreeCAD - GSoC project

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!
thschrader
Posts: 1805
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

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

Postby thschrader » Sun Aug 27, 2017 7:10 pm

@amritpal
With flamingo-wb/workfeatures-macro you can generate rebars in a twisted shape.
twisted_rebar.FCStd
(408.01 KiB) Downloaded 34 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 1301 times
thschrader
Posts: 1805
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

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

Postby thschrader » Sun Aug 27, 2017 10:19 pm

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

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

Postby regis » 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?
thschrader
Posts: 1805
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

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

Postby thschrader » Mon Aug 28, 2017 2:38 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?
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 1230 times
User avatar
amrit3701
Posts: 303
Joined: Mon Jun 13, 2016 5:37 pm

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

Postby amrit3701 » Mon Aug 28, 2017 5:19 pm

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,
thschrader
Posts: 1805
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

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

Postby thschrader » Mon Aug 28, 2017 5:52 pm

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
Posts: 1805
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

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

Postby thschrader » 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
(75.22 KiB) Downloaded 36 times
@regis, according do "stairway": here is a tough one...
https://forum.freecadweb.org/viewtopic. ... 9&start=10
User avatar
regis
Posts: 717
Joined: Sun Jul 12, 2015 8:17 am
Contact:

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

Postby regis » Tue Aug 29, 2017 2:58 pm

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: 303
Joined: Mon Jun 13, 2016 5:37 pm

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

Postby amrit3701 » Mon Sep 04, 2017 12:23 pm

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,
User avatar
bernd
Posts: 10695
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

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

Postby bernd » Wed Sep 06, 2017 10:48 pm

@thomas
Am I right, all rebars are straight!