Split Rebar

Split Rebar

jamess166
Advocate Advocate
1,744 Views
5 Replies
Message 1 of 6

Split Rebar

jamess166
Advocate
Advocate

I am trying to split the reinforcements, initially with a line as a reference. The logic is as follows:

    • I get the geometry of the reinforcement (curves).
    • I get the geometry of the reference line (curves).
    • From here come the questions: If I draw the line in a plan view, to intercept it with the reinforcement line, should I translate it in Z, if I am in a diagonal cut? maybe get the direction of the view and move it in that direction? How do I get this distance that I must transfer?
    • Assuming that I already found the solution so that the bar curves intersect with the line curve, now I must cut those curves, if the bar is a single section and straight, it could generate the curves through the starting point, intercept point and end point, and if the bar has more than one section ?, if it has curved elements ?, perhaps make a foreach to the list of curves of the bar, and that section that intercepts cut it and stop the loop there?   

 

If anyone has a clearer idea, I would really appreciate it. 

@jeremytammik 

1,745 Views
5 Replies
Replies (5)
Message 2 of 6

jeremytammik
Autodesk
Autodesk

It sounds to me as if an illustrative sketch might help significantly to understand your needs.

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 3 of 6

jamess166
Advocate
Advocate

Generally speaking, it's like applying the split tool, but for reinforcements.

 

Captura.JPG

 

Thank you very much

0 Likes
Message 4 of 6

sameh.nabil
Participant
Participant

i see you can

1) get the the bar length

2) change the bar length to the desired value

3) copy the bar many times till you reached to the required total length

 

i did it and it work

may be you will find a problem with legs but you can decrease its value 

Message 5 of 6

jamess166
Advocate
Advocate
Maybe for a single type of shape if it works for me, but if I want it for all kinds of shapes, that's where it becomes complex, however I'm going to take up that project, since the solution comes to mind which is to work with the curves of the reinforcements, and work with vectors.
0 Likes
Message 6 of 6

jamess166
Advocate
Advocate

I still can't think of how to do it, I'm still working on it, to have a complete solution regarding structural reinforcement, I just need to include the split and extend command, which I haven't been able to achieve yet. I will publish my progress.

 

jamess166_0-1607139933413.png

 

Cheers!!!!

 

0 Likes