plot_vehicle

44 views
Skip to first unread message

David Osl

unread,
Aug 6, 2024, 11:13:22 AM8/6/24
to SUAVE FORUM
Dear community!
I am rather new to SUAVE and I want to plot my aircraft with the plot_vehicle() function from the SUAVE.Plots.Geometry path. Everything gets displayed except for the fuselage, and I don't know why. For me, this also applies to the B737 tutorial, when I try to plot the vehicle there. Is there any solution to this? It seems like the sub-function generate_fuselage_points(fus ,tessellation = 24) tries to count the number of segments with the Code line "num_fus_segs = len(fus.Segments.keys())" but in the initialization of the fuselage, no new segments are defined and therefore num_fus_segs is always 0.
Would really appreciate any help!
Kind regards,
David

Jeswin Joseph

unread,
Aug 8, 2024, 8:58:51 PM8/8/24
to SUAVE FORUM
Hey David,

I'm a SUAVE user and I'm working with plot_vehicle too. It seems as though the fuselage gets displayed only if it is segmented. You can try plot_vehicle in the tut_C172 in which the fuselage is well-segmented. Apparently, more detailed the segments are, the better.
Discretization in x-direction (windward direction at AoA=0) happens only with segmentation, while tessellation count is designed for y and z directions for fuselage.
Let me know if you find a work around.

I'm also interested to know the inputs from SUAVE team on this.

Best,
Jeswin
Reply all
Reply to author
Forward
0 new messages