balrobs wrote: ↑Wed Jul 08, 2020 6:45 am
Hi @Suraj,
I testet your code on my windows-machine and now I'm able to produce ReinforcementViews for my Test-Column. Wow!
Nice!
balrobs wrote: ↑Wed Jul 08, 2020 6:45 am
After that I created a reinforment plan for my column with a proprietary 2D Cad-software as I'm used to do, just to gave an idea what a column reinforcement plan might look like for me ...
We definitely need these examples to improve our drawing and dimensioning.
balrobs wrote: ↑Wed Jul 08, 2020 6:45 am
This work brought to my mind several aspects:
- I think it's quite hard to automate the labeling process and get a satisfactory result right away. So additional tools for manipulating and/or adding rebar-labels will become very important.
Yes, and we may not need to develop some additional tool for that as to add new labels/dimensions manually, user can use TechDraw workbench as we are storing generated drawing in scripted TechDraw object.
But for manipulating automatically generated dimensions, we need to take care during its implementation.
balrobs wrote: ↑Wed Jul 08, 2020 6:45 am
- It is necessary to provide also the mark-number for the reinforcing bars in the views so that a better understanding can take place.
- Maybe @Bernd 's reinforcement classification (ReinforcementCustom, ReinforcementIndividual, ReinforcementLinear, ReinforcementLattice, ReinforcementGeneric) could be useful for the automated labeling process. This because different types of reinforcements could ask for different types of labels/dimensions.
Yes, the mark number is important. But, for now, we are generating automated drawing and dimensioning for primitive shapes (StraightRebar, Stirrup, etc.) generated using Reinforcement Workbench.
We will be able to support rebar2 objects, when the primitive shapes will be generated using rebar2 objects through Reinforcement Workbench.
So, for Mark number in Arch Rebar objects, we may either add mark property to Rebar objects OR generate Mark number automatically for them as we did in case of Bill Of Material.
balrobs wrote: ↑Wed Jul 08, 2020 6:45 am
- Last but not least, we could consider the possibility for future versions of not drawing all but only a few rebars when they are repeatedly laid. For members with a lot of reinforcement (e.g. slabs), this could IMO greatly improve the clarity.
Interesting, but looks like this is possible with current implementation also. You can call function "
makeReinforcementDrawing()" with few rebars as rebars list.
Code: Select all
def makeReinforcementDrawing(
structure,
rebars_list,
view,
font_family,
font_size,
drawing_left_offset,
drawing_top_offset,
drawing_min_right_offset,
drawing_min_bottom_offset,
drawing_max_width,
drawing_max_height,
template_file,
):
"""makeReinforcementDrawing(Structure, RebarsList, View, FontFamily,
FontSize, DrawingLeftOffset, DrawingTopOffset, DrawingMinRightOffset,
DrawingMinBottomOffset, DrawingMaxWidth, DrawingMaxHeight, TemplateFile):
Generates Reinforcement Drawing SVG view for structure.
view can be "Front", "Rear", "Left", "Right", "Top" or "Bottom".
Returns reinforcement drawing view svg.
"""
Thanks,