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!
Post Reply
User avatar
yorik
Founder
Posts: 13630
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

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

Post by yorik »

Icon for stirrup:
StirrupRebar.svg
(20.03 KiB) Downloaded 77 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 »

yorik wrote: Sat Jul 01, 2017 5:02 pm I think you need to separate the question in two: 1) How to store that custom spacing information in the object, and 2) How to make it nicely editable by the user.
I have introduced new property in the Rebar object i.e. Custom Spacing. Here is the PR: https://github.com/FreeCAD/FreeCAD/pull/862

With above PR, Rebar object has the ability to create non-uniform spacing between rebars.

For eg. Suppose we have a column having height 1000 mm and values of offset start and offset end of rebar object is equal to 25 mm. If we given custom spacing 6@50+4@100+6@50 it will create 50 mm spacing between 6 rebars at the start portion, 100 mm spacing between 4 rebars in the middle portion and 50 mm spacing between 6 rebars in the last portion.
stirrup_distribution.png
stirrup_distribution.png (223.38 KiB) Viewed 2175 times

Limitation of current custom spacing property:
For getting the correct result, first user needs to calculate spacing manually and then give that values to custom spacing property of rebar object otherwise it will get a strange result.

Solution to overcome above limitation:
I will create UI for rebar distribution to automate rebar distribution system. I will take reference of Tekla Structures (https://teklastructures.support.tekla.c ... spacing_90) for creating UI of rebar distribution.

Regards,
Amritpal Singh
Github, Like my work, sponsor me!
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 »

yorik wrote: Thu Jul 06, 2017 12:08 am Amritpal, I notice a small thing that must be changed in your code, in rebarfunc.py at L143. I don't really know why that line is there, so I let you see what to do...
Yes, I have tested your code and also changed my getParametersOfFace() function which depends on Armature property of structure. Now I didn't get any circular dependencies error while changing sketch support. Everything works fine.

Now you can test "Pick Face Selected" button.

Regards,
Amritpal Singh
Github, Like my work, sponsor me!
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 »

yorik wrote: Thu Jul 06, 2017 5:11 pm Icon for stirrup:
StirrupRebar.svg
I have added a stirrup icon in the drop-down list.

Regards,
Amritpal Singh
Github, Like my work, sponsor me!
User avatar
regis
Posts: 725
Joined: Sun Jul 12, 2015 8:17 am
Contact:

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

Post by regis »

first of all great work amrit, yorik and bernd.
I have been following this post with great attention and today i've decided to give it much justice it deserves.
here is the video link to a natural investigation of the current rebar. Except I didn't install anything and i've noticed that your Icons are different so I don't know if we are talking about the same rebar tool.
but in anycase here is it.

link to my model test
http://www.metacafe.com/watch/11528343/ ... est-issue/

youtube entire tutorial
phpBB [video]


model used for testing
https://github.com/chopinregis/Youtube- ... rial.fcstd

Latest video : didn't think it worth while yet,
Terrible quality but good info if it helps any one.
phpBB [video]
User avatar
regis
Posts: 725
Joined: Sun Jul 12, 2015 8:17 am
Contact:

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

Post by regis »

much success here guys, I will be back with some news.
amazing process, excellent simplicity
except the stirrup icon isn't showing
Attachments
freecad rebar model test beautiful result
freecad rebar model test beautiful result
Screenshot from 2017-07-08 21-13-49.png (325.63 KiB) Viewed 2106 times
this has shown me how to create a rebar in freecad, amazing process. excellent simplicity
this has shown me how to create a rebar in freecad, amazing process. excellent simplicity
Screenshot from 2017-07-08 21-09-25.png (391.15 KiB) Viewed 2106 times
even curved and spline rebars can be generated now
even curved and spline rebars can be generated now
Screenshot from 2017-07-08 21-06-04.png (389.67 KiB) Viewed 2106 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 »

regis wrote: Sat Jul 08, 2017 6:45 pm Latest video : didn't think it worth while yet,
Terrible quality but good info if it helps any one.
phpBB [video]
Hi Regis,

Thanks for so much deep investigation on rebar addon. I saw in the second video you have unable to use rebar addon properly because installation steps at Github repo(https://github.com/amrit3701/FreeCAD-Reinforcement) were not so good. Now, I have updated all installation steps and also added Stirrup Rebar icon.

Regards,
Amritpal Singh
Github, Like my work, sponsor me!
User avatar
regis
Posts: 725
Joined: Sun Jul 12, 2015 8:17 am
Contact:

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

Post by regis »

amrit3701 wrote: Sun Jul 09, 2017 6:01 am
regis wrote: Sat Jul 08, 2017 6:45 pm Latest video : didn't think it worth while yet,
Terrible quality but good info if it helps any one.
phpBB [video]
Hi Regis,

Thanks for so much deep investigation on rebar addon. I saw in the second video you have unable to use rebar addon properly because installation steps at Github repo(https://github.com/amrit3701/FreeCAD-Reinforcement) were not so good. Now, I have updated all installation steps and also added Stirrup Rebar icon.

Regards,
Beautiful, thank you so much, and thank you aswell for improving the rebar tool. you have no idea how significant this is. May I ask, what is your roadmap for this project?
and also please give me a list of susceptible proffessionals that may use this tool, for example, right now I can only think of Architect, Structural and Civil Engineers, but there could me more I don't know about, any ideas? even if they are in the most unconventional use such as Artists.
thschrader
Veteran
Posts: 3122
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

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

Post by thschrader »

Hello Regis,

thanks for the video, very interesting. And thanks to amrit3701 for his amazing work on rebar.
Keep up the spirit!
Below you see an antenne structure we are actually planning. I used FC17 to help my colleages
for "visualizing" the foundation (most of them are electronics-guys, not builders). The red block
is an additional concrete-inlay without rebars due to poor ground-situation. The geotechnicians
wanted it. In 3d its easy to check the position of the bars to be sure that there are no collisions.
And its a good opportunity to learn FC17...I have a dream: my colleages uses FC instead of Autocad :D
Question: is there a pssibility to use the geodata-wb to put the structure into the "landscape".
Greetings Thomas
Ofterschwang_Mast_FC17_Bewehrung.FCStd
(653.01 KiB) Downloaded 68 times
autocad_2d.png
autocad_2d.png (160.57 KiB) Viewed 2043 times
foundation_iso.PNG
foundation_iso.PNG (309.66 KiB) Viewed 2043 times
foundation_detail.PNG
foundation_detail.PNG (458.22 KiB) Viewed 2043 times
foundation_bottom.PNG
foundation_bottom.PNG (25.39 KiB) Viewed 2043 times
thschrader
Veteran
Posts: 3122
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

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

Post by thschrader »

I forgot:
See autocad-drawing, the man standing beneath the mast.
Where can I find a model of a man for loading in FC?
thomas
Post Reply