Automate Reinforcement GSoC proposal
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Automate Reinforcement GSoC proposal
<!-- offtopic
Just wanted to put on your radar this cool macro: Automatic Light Gauge Steel Frame Creator macro + screencast. I wonder if this code could somehow be utilized in Rebars ?? Just curious. -->
Just wanted to put on your radar this cool macro: Automatic Light Gauge Steel Frame Creator macro + screencast. I wonder if this code could somehow be utilized in Rebars ?? Just curious. -->
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Automate Reinforcement GSoC proposal
Hi Suraj, I arrived in India and available from right now.Suraj Dadral wrote: ↑Fri Jun 21, 2019 5:13 pm Hello everyone,
Till now, I have made new UI using which user can create and edit Single Tie Four Rebars from UI.
And related code can be found here:
https://github.com/SurajDadral/FreeCAD- ... mate-newui
In new UI, I have implemented all suggestions by @hardeeprai except point 2 i.e. Add help button for every field.
Now, I am implementing creation and editing of secondary rebars.
I will try to implement it before 24 June. And will generate documentation for code.
I tested your new dialog code and it works well. Now, we are on the right track.
The XDir Secondary Rebars and YDir Secondary Rebars is not working. Also, tell me how it's different from Main Rebars?
Screenshot after testing.
- Suraj Dadral
- Posts: 307
- Joined: Fri Sep 07, 2018 5:32 pm
- Contact:
Re: Automate Reinforcement GSoC proposal
Thanks
Now, it is working and user can create and edit reinforcement from ui.
In current implementation, function editSingleTieMultipleRebars deletes and recreate previously created secondary rebars.
Todo: delete and recreate secondary rebars only when rebar type or number#diameter changes. Otherwise edit already created rebars.
In below image,
Main rebars: present at corner of ties
Secondary rebars: all other rebars except main rebars (shown colored in image)
Thanks,
Re: Automate Reinforcement GSoC proposal
Looks very nice! Well done so far!
- Suraj Dadral
- Posts: 307
- Joined: Fri Sep 07, 2018 5:32 pm
- Contact:
Re: Automate Reinforcement GSoC proposal
Thanks @yorik
I have created documentation page for current implementation and can be found here:
https://www.freecadweb.org/wiki/Arch_Re ... nforcement
Please review and give your suggestions.
Now, I am going to include examples for scripting.
Thanks,
- Suraj Dadral
- Posts: 307
- Joined: Fri Sep 07, 2018 5:32 pm
- Contact:
Re: Automate Reinforcement GSoC proposal
Hello everyone,Suraj Dadral wrote: ↑Wed Jun 26, 2019 9:56 am
I have created documentation page for current implementation and can be found here:
https://www.freecadweb.org/wiki/Arch_Re ... nforcement
Please review and give your suggestions.
Now, I am going to include examples for scripting.
I have created examples on wiki page.
Now, I will work on code improvement as I discussed in post: https://forum.freecadweb.org/viewtopic. ... 40#p316484
Thanks,
- Suraj Dadral
- Posts: 307
- Joined: Fri Sep 07, 2018 5:32 pm
- Contact:
Re: Automate Reinforcement GSoC proposal
Hello everyone,
Today me and @amrit3701 have video conference and we discussed about work done till now.
@amrit3701 suggested following things:
Today me and @amrit3701 have video conference and we discussed about work done till now.
@amrit3701 suggested following things:
- Use black syntax for code section in documentation present here: https://www.freecadweb.org/wiki/Arch_Re ... nforcement
- Wrap long python strings as suggested here: https://docs.python.org/3/reference/lex ... catenation, https://stackoverflow.com/questions/106 ... ine-string
- Center align Recangular Column and Circular Column radio button in ColumnReinforcement ui.
- We discussed about next task to do, which will be to implement column reinforcement with two ties as in image: https://www.freecadweb.org/wiki/File:Co ... types1.png
- Suraj Dadral
- Posts: 307
- Joined: Fri Sep 07, 2018 5:32 pm
- Contact:
Re: Automate Reinforcement GSoC proposal
I have created dialog box for editing Number#Diameter string. User can edit Number#Diameter string either directly in ui input field or he/she can click on "Edit Number and Diameter" button to open dialog box for editing that string.yorik wrote: ↑Sun May 12, 2019 12:48 am IMHO the 4@20+3@16 notation is useful for you (easy to parse and store in a string), but not very easy to the user. I would change that edit field by a button, that opens a dialog that is specially made to create and edit such a string. Maybe a kind of grid where the use wouldn't have to care about entering special chars correctly...
New dialog box preview:
Please review and give your suggestions.
Thanks,
Re: Automate Reinforcement GSoC proposal
Great! Perfect solution
Re: Automate Reinforcement GSoC proposal
Looks good.Suraj Dadral wrote: ↑Wed Jun 26, 2019 9:56 am I have created documentation page for current implementation and can be found here:
https://www.freecadweb.org/wiki/Arch_Re ... nforcement
Please review and give your suggestions.