RCAIDE.Library.Plots.Geometry.plot_3d_vehicle

plot_3d_vehicle#

plot_3d_vehicle(vehicle, save_figure=False, save_filename='geometry', top_view=False, side_view=False, front_view=False, plot_centerline=False, wing_color='grey', fuselage_color='grey', boom_color='grey', nacelle_color='grey', fuel_tank_color='orange', rotor_color='black', cargo_bay_color='blue', battery_color='green', systems_color='black', propulsor_color='black', cabin_color='grey', landing_gear_color='grey', plot_actuator_disc=False, show_LOPA=True, show_Cabin=True, wing_opacity=0.5, fuselage_opacity=0.5, boom_opacity=0.5, nacelle_opacity=0.5, fuel_tank_opacity=0.5, lopa_opacity=1.0, rotor_opacity=0.6, cargo_bay_opacity=0.6, battery_opacity=1.0, propulsor_opacity=0.5, cabin_opacity=0.75, systems_opacity=0.8, landing_gear_opacity=1.0, number_of_airfoil_points=101, tessellation=96, camera_eye_x=-1, camera_eye_y=-1, camera_eye_z=0.75, overwrite_geometry=True, export_gltf=False, show_figure=True)[source]#

Creates a complete 3D visualization of an aircraft including all major components.

Parameters:
  • geometry (geometry) – RCAIDE geometry data structure containing all component geometries

  • show_axis (bool, optional) – Flag to display coordinate axes (default: False)

  • save_figure (bool, optional) – Flag for saving the figure (default: False)

  • save_filename (str, optional) – Name of file for saved figure (default: “Vehicle_Geometry”)

  • alpha (float, optional) – Transparency value between 0 and 1 (default: 1.0)

  • camera_eye_x (float, optional) – Camera eye x-position (default: -1.5)

  • camera_eye_y (float, optional) – Camera eye y-position (default: -1.5)

  • camera_eye_z (float, optional) – Camera eye z-position (default: 0.8)

  • camera_center_x (float, optional) – Camera target x-position (default: 0.0)

  • camera_center_y (float, optional) – Camera target y-position (default: 0.0)

  • camera_center_z (float, optional) – Camera target z-position (default: -0.5)

  • show_figure (bool, optional) – Flag to display the figure (default: True)

Return type:

None

Notes

Creates an interactive 3D visualization showing:
  • Wings and control surfaces

  • Fuselage sections

  • Propulsion systems

  • Customizable view and camera angles

add_lopa_seats(plotter, lopa_geometry, opacity)[source]#
make_actuator_disc(plotter, inner_radius, outer_radius, origin, rot_x, rot_y, rot_z, rgb_color, opacity)[source]#