Line load directions in the bar's local system [SOLVED]

Hi!
Is there a way in the API to make the wind-load project on the object’s local axis, check the box “Apply on the eccentric axis/surface”?

@anLor

Can you help @Magnindre ?

Hi @Magnindre! :waving_hand:

FEM-Design API doesn’t have a tool to generate wind loads on the model. However you can use the LineLoad.Define component and set the ‘LoadProjection’ parameter to ‘true’ to enable the “Apply on the eccentric axis/surface” checkbox.

sample.gh (27.3 KB)

I might have asked the wrong question. I want to project the load using this function. I thought that the “Apply on eccentric axis/surface” did that.

We don’t have a specific component for projecting loads in the local system directions, but you can use the data from the Grasshopper script.

  • The local x is the tangent of the curve you are using to define the line load.
  • The local y can be set for the bar object as an input, or if you use the default, you can deconstruct the bar and get it from there. (Use the Bar.Deconstruct.Modifycomponent from the ‘Bars’ tab)
  • The local z can be calculated by the cross product of the local x and y directions.

I’ve attached an example script below. Have a look at it.
sample.gh (31.0 KB)

Let me know if you have any questions.

Thank you very much, that seems to work:)

1 Like