AutoMovie API
    Preparing search index...
    • Each part's own mass under a total mass, by the same weights of shares it by.

      Parameters

      • parts: readonly IAutoMovieModelPart[]

        The model's parts at rest.

      • mass: number

        The total mass, kilograms.

      • density: Readonly<Record<string, number>> = {}

        Relative densities by part id; 1 for a part not listed.

      • shares: Readonly<Record<string, number>> = {}

        Finite nonnegative weights replacing volume times density, as of takes them.

      • cells: Table = ...

        Explicit actual convex cells bound to their visible parts, as of takes them.

      Returns Record<string, number>

      Each part's mass by id, kilograms; a part without solid volume weighs nothing, including an inventory with no solids.

      For invalid mass/weights/dimensions, solids with no positive weight or unrepresentable local properties.