<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Need help creating stirrups (rebar) in beams using Dynamo — wrong dimensions &amp;amp; wrong placement in Revit Structure Forum</title>
    <link>https://forums.autodesk.com/t5/revit-structure-forum/need-help-creating-stirrups-rebar-in-beams-using-dynamo-wrong/m-p/13935637#M50861</link>
    <description>&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;Create.FromCurve&lt;U&gt;&lt;STRONG&gt;s&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EdwinG_0-1765146728545.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1602873i461E78D4177BFB7D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EdwinG_0-1765146728545.png" alt="EdwinG_0-1765146728545.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 07 Dec 2025 22:35:41 GMT</pubDate>
    <dc:creator>EdwinG</dc:creator>
    <dc:date>2025-12-07T22:35:41Z</dc:date>
    <item>
      <title>Need help creating stirrups (rebar) in beams using Dynamo — wrong dimensions &amp; wrong placement</title>
      <link>https://forums.autodesk.com/t5/revit-structure-forum/need-help-creating-stirrups-rebar-in-beams-using-dynamo-wrong/m-p/13932490#M50842</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I’m trying to build a Dynamo script that automatically generates &lt;STRONG&gt;stirrups inside a beam&lt;/STRONG&gt;, but I’m running into issues with the geometry and placement of the rebar. I’ve spent several days trying to troubleshoot (even with ChatGPT) but I still can’t get it right, so I’m hoping someone here can point me in the right direction.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What the script does so far&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;The script starts by asking the user for several inputs:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The &lt;STRONG&gt;beam element&lt;/STRONG&gt; to place stirrups in&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The &lt;STRONG&gt;rebar diameter&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The &lt;STRONG&gt;stirrup shape&lt;/STRONG&gt; (rectangular for now)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The &lt;STRONG&gt;spacing&lt;/STRONG&gt; (eventually I want to support 3 sets of stirrups per beam — two end zones + one middle zone — but I am currently testing with just one set)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;With Python, I extract:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The &lt;STRONG&gt;perimeter curves&lt;/STRONG&gt; of the beam’s cross-section&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The &lt;STRONG&gt;surface&lt;/STRONG&gt; and geometric data for reference&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I compute a &lt;STRONG&gt;centerline for the stirrup&lt;/STRONG&gt; by offsetting the perimeter curves inward.&lt;BR /&gt;The offset considers:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The beam’s &lt;STRONG&gt;cover&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Half of the &lt;STRONG&gt;bar diameter&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I feed the resulting curves into &lt;STRONG&gt;Rebar.CreateFromCurves&lt;/STRONG&gt; (via the &lt;EM&gt;Create.FromCurve&lt;/EM&gt; node in Dynamo) to generate the stirrup.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;The problem&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Even though the offset geometry &lt;EM&gt;looks&lt;/EM&gt; correct (conceptually), the resulting rebar:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Has &lt;STRONG&gt;incorrect dimensions&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Is sometimes &lt;STRONG&gt;larger than the beam itself&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;And worst of all, is being created &lt;STRONG&gt;outside the beam&lt;/STRONG&gt;, instead of inside the section&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I’ve double-checked:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Coordinate systems&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Units (I fixed an earlier mm vs cm issue)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Offsets&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The curve order&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The shape matching Revit’s default stirrup families&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;But the problem persists.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What I’m trying to understand&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Why do the stirrups get created with the wrong dimensions even though the input curves should match the adjusted section perimeter?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Why does Revit place the rebar outside the beam, even when the curves are clearly inside the cross-section when inspected in Dynamo?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Is there something special about the coordinate system or curve direction that I’m missing when working with Rebar.CreateFromCurves?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If anyone has run into this before or can spot what I might be doing wrong, I would really appreciate the help.&lt;BR /&gt;This is part of a larger workflow I’m developing, and I feel stuck at this point.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-12-04 152409.png" style="width: 426px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1602099i8E1DADC791B538CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-12-04 152409.png" alt="Screenshot 2025-12-04 152409.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2025 20:28:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-structure-forum/need-help-creating-stirrups-rebar-in-beams-using-dynamo-wrong/m-p/13932490#M50842</guid>
      <dc:creator>sgonzalezNXU9D</dc:creator>
      <dc:date>2025-12-04T20:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need help creating stirrups (rebar) in beams using Dynamo — wrong dimensions &amp; wrong placement</title>
      <link>https://forums.autodesk.com/t5/revit-structure-forum/need-help-creating-stirrups-rebar-in-beams-using-dynamo-wrong/m-p/13935637#M50861</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;Create.FromCurve&lt;U&gt;&lt;STRONG&gt;s&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EdwinG_0-1765146728545.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1602873i461E78D4177BFB7D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EdwinG_0-1765146728545.png" alt="EdwinG_0-1765146728545.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Dec 2025 22:35:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-structure-forum/need-help-creating-stirrups-rebar-in-beams-using-dynamo-wrong/m-p/13935637#M50861</guid>
      <dc:creator>EdwinG</dc:creator>
      <dc:date>2025-12-07T22:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need help creating stirrups (rebar) in beams using Dynamo — wrong dimensions &amp; wrong placement</title>
      <link>https://forums.autodesk.com/t5/revit-structure-forum/need-help-creating-stirrups-rebar-in-beams-using-dynamo-wrong/m-p/13936896#M50868</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1628164"&gt;@EdwinG&lt;/a&gt;&amp;nbsp;Thank you very much for your response.&lt;/P&gt;&lt;P&gt;You were absolutely right — I was using the &lt;STRONG&gt;Create.FromCurve&lt;/STRONG&gt; node (singular) instead of &lt;STRONG&gt;Create.FromCurves&lt;/STRONG&gt;. After switching to the correct node, the geometry behaves as expected. I’ll keep refining the script to reach the final result I’m aiming for.&lt;/P&gt;&lt;P&gt;Thanks again for the help! &lt;span class="lia-unicode-emoji" title=":raising_hands:"&gt;🙌&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2025 20:25:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-structure-forum/need-help-creating-stirrups-rebar-in-beams-using-dynamo-wrong/m-p/13936896#M50868</guid>
      <dc:creator>sgonzalezNXU9D</dc:creator>
      <dc:date>2025-12-08T20:25:58Z</dc:date>
    </item>
  </channel>
</rss>

