Hi everyone,
I made a few custom classes to represent different types of reinforcement bars in python. Each instance of these classes computes the points (list of tuples) of the polyline that defines the bar's random shape and placement in space (3D). Then, for each bar I create the corresponding polyline as:
poyline = AllplanGeo.Polyline3D()
for point in points:
polyline += AllplanGeo.Point3D(*point)
All the bars are placed inside concrete solid elements with a random shape.
I found ways to create column-like reinforcement, meshes, etc. But I'm struggling with the API documentation to find a way to do the following:
1) "Transform" those polylines (random shape) into rebars giving them a set of properties: name, section diameter, bending diameter and steel grade. The concrete cover is already taken into account within my custom objects, so I don't need it.
2) Copy each bar in patterns (linear or polar).
I would appreciate if anyone could provide a piece of code to do it.
Thanks in advance!