You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suggestive comments + mirror and addFairlead methods in project.py:
- should the node in famodel_base be three-dimensional?
- the way the load function seems to create the fairlead dictionary seems erroneous. I suggested an alternative as a comment. This is how it is done in conceptDesign2.
- the addFairlead updates the fairlead position and reflects the absolute location of fairlead positions 'fl.r' which can be helpful later. Especially when connecting to moorings.
- Update to the function to make it work with the new base work with the shared lines.
fairleads= [att['r_rel'] forattinpf.attachments.values() ifisinstance(att['obj'], Fairlead)] # Rudy: this line is getting att['r_rel'] only. But in LoadDesign, it's looking for the 'heading' or 'r_rel' attribute of the fairlead. Therefore, I omitted '[r_rel']' here and passed the att object as a whole.
4286
+
# Rudy: maybe consider this instead:
4287
+
# pf_dd_['fairleads'] = [
4288
+
# {'r_rel': att['r_rel']}
4289
+
# for att in platform.attachments.values()
4290
+
# if isinstance(att['obj'], Fairlead)
4291
+
# ]
4292
+
jtubes= [att['r_rel'] forattinpf.attachments.values() ifisinstance(att['obj'], Jtube)] # Rudy: perhaps same here too???
0 commit comments