Support Forum

[Frage] [PythonParts] Stirrups [Gelöst]

Schlagworte:

Hi,

I'd like to create reinforcements with several distribution zones on the same length (example for a column, stirrups closer at the bottom, common spacing, closer at the top).

So I don't know if the best solution consists of creating several distributions (create_linear_bar_placement_from_to_by_dist and start / end point) or there is a trick for grouping together the different spaces.

Best
Christophe

Lösung anzeigen Lösung verbergen

Zitiert von: cmaignan35
Hi,
I'd like to create reinforcements with several distribution zones on the same length (example for a column, stirrups closer at the bottom, common spacing, closer at the top).
So I don't know if the best solution consists of creating several distributions (create_linear_bar_placement_from_to_by_dist and start / end point) or there is a trick for grouping together the different spaces.
Best

Christophe

Hi Christophe,

you can achieve your goal by using the SweepBarPlacement mentioned by Krisztián. In this case you will get a special type of placement, which however is intended to cover much more complicated geometries, where the placement line is a curve and the cross sections changes along this curve.

For your relatively simple case of linear components, where the stirrups are placed along a straight line and the cross section does not change, the method you mentioned, create_linear_bar_placement_from_to_by_dist, is in my opinion sufficient. You will, however, get individual placements, unlike in the SweepBarPlacement, where you get one placement. There is no trick to get them grouped. You can group reinforcement into Assemblies, but the background of such grouping is generating production data.

I attached an example. We will deliver this example with Allplan 2024-0-3 next week. There will be an article for it on pythonparts.allplan.com as well. As always, You have to decide, which solution is better for your case

Best!
Bart

Anhänge (1)

Typ: application/zip
282-mal heruntergeladen
Größe: 4,98 KiB

Hi Christophe,

You might be able to use the SWEEP BAR PLACEMENT found here in the documentation: https://pythonparts.allplan.com/2024/api_reference/InterfaceStubs/NemAll_Python_Reinforcement/SweepBarPlacement/

I believe you can define multiple regions to achieve what you described.

Hope it helps. Have a nice day,
Krisztián

Hi,

Thanks for your quick answer, I'll try AddPlacementSection(placementSection)

Best regards
Christophe

Zitiert von: cmaignan35
Hi,
I'd like to create reinforcements with several distribution zones on the same length (example for a column, stirrups closer at the bottom, common spacing, closer at the top).
So I don't know if the best solution consists of creating several distributions (create_linear_bar_placement_from_to_by_dist and start / end point) or there is a trick for grouping together the different spaces.
Best

Christophe

Hi Christophe,

you can achieve your goal by using the SweepBarPlacement mentioned by Krisztián. In this case you will get a special type of placement, which however is intended to cover much more complicated geometries, where the placement line is a curve and the cross sections changes along this curve.

For your relatively simple case of linear components, where the stirrups are placed along a straight line and the cross section does not change, the method you mentioned, create_linear_bar_placement_from_to_by_dist, is in my opinion sufficient. You will, however, get individual placements, unlike in the SweepBarPlacement, where you get one placement. There is no trick to get them grouped. You can group reinforcement into Assemblies, but the background of such grouping is generating production data.

I attached an example. We will deliver this example with Allplan 2024-0-3 next week. There will be an article for it on pythonparts.allplan.com as well. As always, You have to decide, which solution is better for your case

Best!
Bart

Anhänge (1)

Typ: application/zip
282-mal heruntergeladen
Größe: 4,98 KiB