AlignT="None" option doesn't work

Issue #207 resolved
Rick Brice created an issue

For this project (https://openbrim.org/objidx0mae1680vtg4407zydyor.project), look in the X direction, along the centerline of the girder.

You'll see that the rebar modeled in the top of the girder is sloped to match the alignment, however AlignT="None" was used so it should not match the alignment. The bar should be parallel to the top of the girder.

Comments (2)

  1. Ali Koc

    Line objects interact with Alignment objects not quite the same way Surface or Volumes objects do.

    When we define a Line, we specify a series of points, which represent the path along which a surface is extruded to make up a Volume. Line object's points along its path interact with the Alignment, not the Line itself. This behavior is what you want if you want to define a girder, cross-frame chord etc. It is not the behavior you want in the case of reinforcement bars. The documentation is unfortunately incomplete on this.

    The quick fix for you is to go to WSDOT Standard Bar Bends library object and change line 378 from:

       <O T="Line" PolyLine="1" DrawBorder="0">
    

    to:

       <O T="Volume" PolyLine="1" DrawBorder="0">
    

    That is all the change you need -- You can define a Volume just like you define a Line, the only difference is that Volume is going to interact with the Alignment the way you expect.

    After you make the change, you will need to refresh any open OpenBrIM app tabs in your browser.

    Let me know if you have further questions on this. I will open up another issue to track update of the documentation on Line objects' interaction with Alignments.

  2. Ali Koc

    I have not heard from you on this issue. I will close it and if you have further questions please create a new issue for it.

  3. Log in to comment