thanks @Suraj Dadral. very thanks. it works well. one note:
in column and beam, it is not common to declare span between rebar except for Stirrups. in slab it is common to tell spans.
thanks @Suraj Dadral. very thanks. it works well. one note:
Looks good. Nice job!Suraj Dadral wrote: ↑Thu Aug 06, 2020 12:06 am Hello @All
The documentation pages for reinforcement drawing and dimensioning are ready:
Reinforcement Drawing: Arch_Rebar_Drawing
Reinforcement Dimensioning: Arch_Rebar_Dimensioning
Reinforcement Drawing and Dimensioning: Arch_Rebar_Drawing_Dimensioning
Hi @ebrahim raeyatebrahim raeyat wrote: ↑Thu Aug 06, 2020 8:34 am
thanks @Suraj Dadral. very thanks. it works well. one note:
in column and beam, it is not common to declare span between rebar except for Stirrups. in slab it is common to tell spans.
thanks, you are right.Suraj Dadral wrote: ↑Thu Aug 06, 2020 1:20 pm
Hi @ebrahim raeyat
As we are not handling dimensioning based on structure type,
Thanks,
+1Suraj Dadral wrote: ↑Thu Aug 06, 2020 1:20 pm
As we are not handling dimensioning based on structure type, so this thing needs to be adjusted by user, which is possible while creating drawing and dimensioning and can also be altered after creating drawing and dimensioning.
Hi @balrobs
Code: Select all
import importlib
from xml.etree import ElementTree
import Draft
from RebarShapeCutList import RebarShapeCutListfunc
importlib.reload(RebarShapeCutListfunc)
base_rebars = Draft.get_objects_of_type(
FreeCAD.ActiveDocument.Objects, "RebarShape"
)
arch_rebars = Draft.get_objects_of_type(FreeCAD.ActiveDocument.Objects, "Rebar")
rebars = []
rebars.extend(base_rebars)
rebars.extend(arch_rebars)
rebar_shapes_svg = []
for rebar in rebars:
rebar_shapes_svg.append(
RebarShapeCutListfunc.getRebarShapeSVG(rebar, scale=0.1)
)
print(ElementTree.tostring(rebar_shapes_svg[0], encoding="unicode"))
rebar_shape_cut_list = RebarShapeCutListfunc.getRebarShapeCutList()
output_file = "/home/blank/GSoC20/test_rebar_shape.svg"
with open(output_file, "w") as f:
f.write(ElementTree.tostring(rebar_shape_cut_list, encoding="unicode"))
Very thanks for your effort, works fine for me. one not:
Bent angle is part to specify rebar shape. So, I think it should be present in rebar share cut list. But we can skip 90 angle because user can interpret it from rebar shape. Maybe bernd, balrobs and ebrahim tell us better here.Suraj Dadral wrote: ↑Sun Aug 09, 2020 10:32 pm Do we also need to add bent angles in the rebar shape cut list, or will we do it in the bar bending schedule?
I agree with you @amrit3701, whenever we draw the shape of a rebar and its dimensions, we should specify not only the length of the bended part but also either deltaX and deltaY or its bending angle if not equal to 90°.amrit3701 wrote: ↑Mon Aug 10, 2020 4:43 pmBent angle is part to specify rebar shape. So, I think it should be present in rebar share cut list. But we can skip 90 angle because user can interpret it from rebar shape. Maybe bernd, balrobs and ebrahim tell us better here.Suraj Dadral wrote: ↑Sun Aug 09, 2020 10:32 pm Do we also need to add bent angles in the rebar shape cut list, or will we do it in the bar bending schedule?