Search found 307 matches

by Suraj Dadral
Wed Jan 27, 2021 3:43 pm
Forum: Draft, Arch & BIM
Topic: Convert FreeCAD Objects to 1D and vice-versa
Replies: 10
Views: 2120

Re: Convert FreeCAD Objects to 1D and vice-versa

work good for objects using a wire base but when the object has a sketcher container base appears an error: Try below code, I used this method in Reinforcement Workbench - Drawing module and is working fine there. import Part import Draft import DraftGeomUtils rebars_list = Draft.get_objects_of_typ...
by Suraj Dadral
Wed Jan 27, 2021 1:00 pm
Forum: Google Summer of Code (GSoC)
Topic: Automate Reinforcement GSoC proposal
Replies: 234
Views: 69854

Re: Automate Reinforcement GSoC proposal

Excuse me, could create a option to use just lines, wires, polylines instead sketcher wb? This to create a workflow with external software exporting those lines Hi jtm2020hyo, Do you mean same as in the thread: https://forum.freecadweb.org/viewtopic.php?f=23&t=54806&p=471386 P.S. Replied th...
by Suraj Dadral
Wed Jan 27, 2021 12:56 pm
Forum: Draft, Arch & BIM
Topic: Convert FreeCAD Objects to 1D and vice-versa
Replies: 10
Views: 2120

Re: Convert FreeCAD Objects to 1D and vice-versa

How can I convert different FreeCAD objects to Line / Wire / polyline and vice-versa? here a sample, I wish convert rebar to lines, I tried but no luck. Hi jtm2020hyo, You can get wires representing rebars from rebar.Proxy.wires . Make sure to execute rebar.Proxy.execute(rebar) before that. E.g. To...
by Suraj Dadral
Mon Jan 18, 2021 3:25 pm
Forum: Google Summer of Code (GSoC)
Topic: GSoC Proposal: Extended functionality of Rebar Addon
Replies: 353
Views: 86238

Re: GSoC Proposal: Extended functionality of Rebar Addon

Hi @Suraj, any reason why the lastest PR is still waiting to be merged? Hi @balrobs The PR is merged. It was not merged because when I tested at that time, Reinforcement Dimensioning was not generated and I thought there maybe something wrong in new PR. But, I tested now again and everything seems ...
by Suraj Dadral
Wed Dec 16, 2020 8:24 am
Forum: Google Summer of Code (GSoC)
Topic: GSoC Proposal: Extended functionality of Rebar Addon
Replies: 353
Views: 86238

Re: GSoC Proposal: Extended functionality of Rebar Addon

I am not familiar with SVG, but I say we can get the list of edges from a function and then send the list to each function that need this edges to draw, in SVG or DXF or even plot it via matplotlib. Looks Great :idea: . I will try to refactor the get*SVGData() functions maybe this weekend. Thanks,
by Suraj Dadral
Wed Dec 16, 2020 7:51 am
Forum: Google Summer of Code (GSoC)
Topic: GSoC Proposal: Extended functionality of Rebar Addon
Replies: 353
Views: 86238

Re: GSoC Proposal: Extended functionality of Rebar Addon

Thanks @Suraj Dadral. You right. it is a true solution. but I think we can add some helper function like get_ushape_rebar_edges and so on and call these in getUShapeRebarSVGData (get*SVG). this way, the code didn't need to change, is it possible? I say this only for speed performance in large files...
by Suraj Dadral
Wed Dec 16, 2020 6:30 am
Forum: Google Summer of Code (GSoC)
Topic: GSoC Proposal: Extended functionality of Rebar Addon
Replies: 353
Views: 86238

Re: GSoC Proposal: Extended functionality of Rebar Addon

Hi @All The Reinforcement Drawing Dimensioning GUI made by @balrobs is integrated into Rinforcement Workbench as per PR: https://github.com/amrit3701/FreeCAD-Reinforcement/pull/119 Will be merged into master branch soon... Till then, you may test it by getting code from "integrate-drawing-dimen...
by Suraj Dadral
Wed Dec 16, 2020 6:11 am
Forum: Google Summer of Code (GSoC)
Topic: GSoC Proposal: Extended functionality of Rebar Addon
Replies: 353
Views: 86238

Re: GSoC Proposal: Extended functionality of Rebar Addon

for exporting to DXF, I think we must split some function for writing SVG (get*SVGData) to get the edges of rebars, I wrote a macro to examine this for uUShapeRebar: Hi @ebrahim raeyat As getUShapeRebarSVGData (get*SVGData) function returns dictionary of data, so we can just add one more value (edg...
by Suraj Dadral
Wed Dec 16, 2020 5:50 am
Forum: Google Summer of Code (GSoC)
Topic: GSoC Proposal: Extended functionality of Rebar Addon
Replies: 353
Views: 86238

Re: GSoC Proposal: Extended functionality of Rebar Addon

I guess crossties aren't supported yet. Is this something that's in the roadmap? https://www.structuremag.org/wp-content/uploads/2019/07/0819-ci-1.jpg Hi @atomkarinca Yes crossties aren't present as special rebar types in Reinforcement Workbench. But, these can be easily created using Arch_Rebar to...
by Suraj Dadral
Wed Nov 04, 2020 6:17 pm
Forum: Google Summer of Code (GSoC)
Topic: GSoC Proposal: Extended functionality of Rebar Addon
Replies: 353
Views: 86238

Re: GSoC Proposal: Extended functionality of Rebar Addon

Here is the second part with the next two secondary dialogs ... ReinforcementDrawingAndDimensioning_Dimensions1.ui Main_Dimensions1.png ReinforcementDrawingAndDimensioning_Dimensions2.ui Main_dimensions2.png Edit: Will upload my last dialog soon, Cheers! :D Great work so far @balrobs Feel free to c...