RCAIDE.Library.Plots.Geometry.generate_3d_cargo_bay_points.generate_3d_cargo_bay_points#

generate_3d_cargo_bay_points(cargo_bay)[source]#

Generate VTK geometry for a cargo container with an LD-style chamfered profile.

Parameters:

cargo_bay (RCAIDE cargo bay component) – Must expose .length, .width, .height, and .origin attributes.

Returns:

G – RCAIDE Data object with a PTS array of shape (4, 6, 3) ready for generate_vtk_object. The cross-section is a hexagon with a flat top, vertical sides, and 45-degree chamfers on the two bottom corners — matching the profile of a lower-deck (LD) unit load device (ULD).

Cross-section (front view):

| flat top
| vertical sides _________/ chamfered bottom corners

Return type:

Data