AutoMovie API
    Preparing search index...

    Interface IAutoMovieServiceSegment

    One run joining exactly two ports: a pipe, a duct, a conduit, a cable tray.

    The centre line is authored in world metres because that is what a clash is measured in, and the radius is what turns that line into the volume the run actually occupies. A run that leaves the space it started in is expected to name the sleeve it went through, which is the only way a wall can be shown to have been drilled on purpose.

    interface IAutoMovieServiceSegment {
        from: string;
        id: string;
        penetrations: string[];
        radius: number;
        route: IAutoMovieVector3[];
        section: number;
        system: string;
        to: string;
    }
    Index
    from: string

    Id of the port the medium leaves from; it must be out or bidirectional.

    id: string

    Stable segment identity within the network.

    penetrations: string[]

    Ids of the penetrations this run passes through, in no particular order.

    radius: number

    Outer radius in metres used for clash and clearance; greater than 0.

    World centre line in metres with at least two finite points. Its endpoints must lie within 1e-6 metres of their ports; consecutive points must be farther apart than 1e-9 metres. Vertex-based crossing checks do not prove continuous containment along every leg.

    section: number

    Internal cross-section in square metres; greater than 0.

    system: string

    Id of the system this run belongs to.

    to: string

    Id of the port the medium arrives at; it must be in or bidirectional.