Rebar Partition Concept
There can be rebar layers with heterogeneous bar shape. This means that all the rebars do
not share the same geometry. For example, some rebars can have bends, and other rebars
consist in a single segment. In the below example, the rebars have different shape and
length.

The supporting face can also have some holes. In this case, the output rebar layer consists
in multidomain rebars. Each bar instance corresponds to a pattern axis. A bar qualifies to
be multidomain if the body of this bar instance (at this pattern axis) consists in several
parts. In the below example, there are three bar instances (in red color) that are
multidomains (each having two domains).

For such rebar layers, you can have the following issues:
- The rebar report may not include correct number of bends.
- Adding extremities feature (hook or relimitation) requires you to determine impacted
extremity.
In case you want to extract one bar of a layer, you can use the
Extract
from
the shortcut toolbar. But using this command is not useful when you want to extract an arbitrary number of
rebars, for example to extract the first half of the layer.
In such use-cases, you can use the Rebar Partition command
to combine rebars from one or more rebar layers in a new rebar layer. You can select between
various criteria for gathering or partitioning the rebars.
Rebar Partition Criteria
You can select one of the following criteria for partitioning the rebar layers:
- Shape: Each output rebar layer contains rebars having same
shape.
Definition of same shape:
- Same configuration.
- Same number of bends.
- Same number of linear elements in their wire.
- Same coupler configuration.
- Length: Each output rebar layer contains rebars having the same
length.
Definition of same length: Bar wires have same number of elements, their
elements have same length, and they same coupler configuration. Lengths are
compared according to the length tolerance specified in the
ConcreteDesign.xml file specified in Data Setup.
- Length and shape: Each output layer contains bars that have the
same shape and lengths. That means the rebar layers that have same parameters as listed below:
- Configuration
- Number of bends
- Number of linear elements in their wire
- Angle of bends
- Hooks
- Coupler configuration: Couplers present or absent at the bar extremity.
- Volumes: You can select a set of volumes, solids, or a
PartBody.
Based on the selection, it creates the output rebar layer in the following way:
- For each input layer, the set of rebars is subdivided into group of rebars that
are all fully included in an input volume.
- A group of rebars is created, to include the rebars that are not fully included
in any input volume (that intersect the volume boundary, or that are outside all
the input volumes).
- For each nonempty group of rebars, an output layer is created, that contains the
associated rebars.
- Batch: You can enter one of the following values to manage the
output rebar layer:
- Number of bars by output layer: Expected number of output
layers per input layer.
- Number of output layers: Expected number of rebars in each
output layer.
- Script: You can select an EKL action to apply a custom
partition criterion on all the selected rebar layers.
- EKL action must have these two arguments:
- Argument 1: Input Layer (type: AECRebarLayer)
- Argument 2: Output List (type: List)
- For each input layer, the output list must contain as many integers as the number
of domains in the input layer.
- Each integer corresponds to an output layer.
- The following example is for partitioning the selected input layers according to
their total length. If a bar has total length less than 0.75 m, it is assigned to
the output layer number 1, otherwise it is assigned to the output layer number
2.
let i(Integer )
let NbBars(Integer)
NbBars = InputLayer->GetNumberOfBars()
i=1
for i while i <= NbBars
{
let bar_geo(AECRebarSingleBar)
set bar_geo = InputLayer->GetBar(i)
let nb_segments, nb_arcs(Integer)
set nb_segments = bar_geo.GetAttributeInteger("NbSegments")
set nb_arcs = bar_geo.GetAttributeInteger("NbArcs")
let BarElements(List)
set BarElements = bar_geo.GetAttributeObject("BarElements")
let len(Real) len = 0
let j(Integer)
for j=1 while j <= BarElements.Size()
{
let BarSegment1(AECRebarSingleBarSection)
set BarSegment1 = BarElements[j]
let VecBarSegment1(Vector)
VecBarSegment1 = [BarSegment1.GetAttributeReal("End_x") * 1mm -
BarSegment1.GetAttributeReal("Start_x") * 1mm, BarSegment1.GetAttributeReal("End_y") * 1mm - BarSegment1.GetAttributeReal("Start_y") * 1mm, BarSegment1.GetAttributeReal("End_z") * 1mm - BarSegment1.GetAttributeReal("Start_z") * 1mm]
len = len + VecBarSegment1.Norm()
}
if(len < 0.75m)
{
OutputIndices.Append(1)
}
else {
OutputIndices.Append(2)
}
}
Notes:
- Each bar is described as
AECRebarSingleBar.
- Each bar element (arc or segment) is described as
AECRebarSingleBarSection.
- Indices: You can specify the following values to select the
bars to include in the output rebar layers.
- Start index: Default value is "1".
- End index: Default value is "N". Variable "N" represents
the number of rebars in the selected input rebar layer.
- Step: Default value is "1".
Two output rebar layers are created. The first layer includes all the rebars
selected using above values, and the second layer includes all the other rebars.
- Domain: Output rebar layers are created for each domain.
- For each input layer, the domains of each rebar instances are retrieved and sorted
according to the X-axis of the pattern. In this case, the output rebar layer
includes all the rebars available in a domain.
- If there is no pattern defined, an output rebar layer is created for each bar in a
domain.
- Selection: You can select the rebars in the 3D area or in
the tree. The first output rebar layer includes the selected rebars and second output rebar
layer includes other rebars.
Notes:
- You can use following modes to partition only single domain rebar layers:First use Domain mode to partition multidomain rebar
layers, and then use Batch. Indices, and
Selection mode for further partitioning.
- For rebar layers with couplers:
- Two separate output rebar layers are created for coupled and noncoupled
rebars.
- For each output rebar layer with the coupled rebars, a new coupler set is
created that is set as a construction element and it is hidden.
- This coupler set has the output rebar layer as its input.
- If the rebar partition result is modified, and the output rebar layer with
coupled rebars is deleted, then the corresponding coupler set is also
deleted.
- If the rebar partition result is modified, and it results in creation of new
output rebar layers that includes coupled rebars, then a new coupled set is
created.
Irrespective of the selected criteria, the output rebar layer after partition
includes the rebars that have:
- Same configuration.
- Same barmark or no barmark.
- Same coupler configuration. For example:
- Couplers present or absent at both bar extremities (start and end).
- Same object type at both bar extremities. (with same name, and same
configuration).
For example, if you select multiple rebar layers that have HA16 and HA25 configurations
for different rebar layers, then the partition results in multiple rebar layers with each
layer containing the rebars with the same configuration.
|