RCAIDE.Library.Plots.Geometry.plot_3d_fuselage

plot_3d_fuselage#

Functions

generate_3d_fuselage_points(fuselage[, ...])

Generates 3D coordinate points that define a fuselage surface.

plot_3d_fuselage(plot_data, fuselage[, ...])

Creates a 3D visualization of a fuselage surface using tessellated panels.

plot_3d_fuselage(plot_data, fuselage, tessellation=24, color_map='teal')[source]#

Creates a 3D visualization of a fuselage surface using tessellated panels.

Parameters:
  • plot_data (list) – Collection of plot vertices to be rendered

  • fuselage (Fuselage) – RCAIDE fuselage data structure containing geometry information

  • tessellation (int, optional) – Number of points to use in circumferential discretization (default: 24)

  • color_map (str, optional) – Color specification for the fuselage surface (default: ‘teal’)

Returns:

plot_data – Updated collection of plot vertices including fuselage surface

Return type:

list

Notes

Creates a 3D surface by generating points along fuselage segments and creating surface panels between adjacent cross-sections.

Major Assumptions

  • Fuselage cross-sections are super-elliptical

  • Surface is continuous between segments

  • Tessellation is uniform around circumference

See also

generate_3d_fuselage_points

Function to generate fuselage surface points

generate_3d_fuselage_points(fuselage, tessellation=24)[source]#

Generates 3D coordinate points that define a fuselage surface.

Parameters:
  • fuselage (Fuselage) – RCAIDE fuselage data structure containing geometry information

  • tessellation (int, optional) – Number of points to use in circumferential discretization (default: 24)

Returns:

G – Data structure containing generated points

  • PTSndarray

    Array of shape (num_segments, tessellation, 3) containing x,y,z coordinates of surface points

Return type:

Data

Notes

Points are generated by creating super-elliptical cross-sections at each segment and positioning them according to segment locations.

Major Assumptions

  • Cross-sections lie in y-z plane

  • Segments are ordered from nose to tail

  • Origin is at the nose of the fuselage

See also

plot_3d_fuselage

Function to visualize the generated surface