Split rebar

SPLIT REBAR.dyn (45.8 KB)
Hi all, I tried modifying this to split rebar. But its not working. Any ideas on what could be the problem?

@technitutors ,

i have severial warnings… i have also troubles in the costum-nodes

2022-07-04_10h28_47
2022-07-04_10h28_50
2022-07-04_10h28_57
2022-07-04_10h22_59
2022-07-04_10h23_35

that happens if you try add the host id. Without it it runs fine

i tested it with area rebars and you? @technitutors

No it needs to be singular. You can use the area reinforcement tool but you need to remove the area

Please check every input type in Rebar.ByCurve.

  • hostElementId needs an Id, not the element.
  • startHookType & endHookType need Elements, not booleans.
  • You are mixing Curves with Polycurves

The script does further makes sense.

So what am I doing wrong here with the curves? What is the difference between polycurves and curves? Do I need to convert polycurves to curves?

SPLIT REBAR.dyn (41.2 KB)
ive modified it now but nothings happening

You still need to tell the Rebar.ByCurve how to handle hooks.

Use
Rebar Hook Orientation & Rebar Hook Type as inputs. For me, this generates Rebars properly.

can you take a look at it now? its still giving errors

SPLIT REBAR.dyn (49.8 KB)

What kind of errors? Could you send a Screenshot of the curve input?

take a look at the dyn file
SPLIT REBAR.dyn (48.4 KB)