Selva Compute API Reference - v2.1.0
    Preparing search index...
    Index

    Constructors

    Properties

    count: number

    Returns the total amount of items in the object table, including lights.

    Methods

    • Parameters

      Returns string

      A unique identifier for the object.

      Duplicates the object, then adds a copy of the object to the document.

    • Parameters

      • arc: Arc

        An arc.

      Returns string

      A unique identifier for the object.

      Adds a curve object to the document representing an arc.

    • Parameters

      • brep: Brep

        A duplicate of this brep is added to Rhino.

      Returns string

      A unique identifier for the object.

      Adds a brep object to Rhino.

    • Parameters

      • circle: Circle

        A circle to add.

      Returns string

      A unique identifier for the object.

      Adds a curve object to the document representing a circle.

    • Parameters

      • curve: Curve

        A curve to add.

      Returns string

      A unique identifier for the object.

      Adds a curve object to the table.

    • Parameters

      • ellipse: Ellipse

        An ellipse to add.

      Returns string

      A unique identifier for the object.

      Adds a curve object to the document representing an ellipse.

    • Parameters

      • extrusion: Extrusion

        A duplicate of this extrusion is added to Rhino.

      Returns string

      A unique identifier for the object.

      Adds an extrusion object to Rhino.

    • Parameters

      Returns string

      A unique identifier for the object.

      Adds an instance reference geometry object to the table.

    • Parameters

      • from: number[]

        A line start point.

      • to: number[]

        A line end point.

      Returns string

      A unique identifier of new rhino object.

      Adds a line object to Rhino.

    • Parameters

      • from: number[]

        A line start point.

      • to: number[]

        A line end point.

      • attributes: ObjectAttributes

        The attributes to apply to the line.

      Returns string

      A unique identifier of new rhino object.

      Adds a line object to Rhino.

    • Parameters

      • mesh: Mesh

        A duplicate of this mesh is added to Rhino.

      Returns string

      A unique identifier for the object.

      Adds a mesh object to Rhino.

    • ...

      Parameters

      Returns string

    • Parameters

      • point: number[]

        array with three numbers which define the point.

      Returns string

      A unique identifier of new rhino object.

      Adds a point object to Rhino.

    • Parameters

      • point: number[]

        An array with three numbers which define the point.

      • attributes: ObjectAttributes

        The attributes to apply to the point.

      Returns string

      A unique identifier of new rhino object.

      Adds a point object to Rhino.

    • Parameters

      Returns string

      A unique identifier for the object.

      Adds a point cloud object to the document.

    • Parameters

      • x: number

        X component of point coordinate.

      • y: number

        Y component of point coordinate.

      • z: number

        Z component of point coordinate.

      Returns string

      id of new object.

      Adds a point object to the table.

    • Parameters

      • points: number[][] | Point3dList

        An array of points in [x, y, z] format or Point3dList.

      Returns string

      A unique identifier for the object.

      Adds a polyline object to Rhino.

    • Parameters

      • sphere: Sphere

        A sphere to add.

      Returns string

      A unique identifier for the object.

      Adds a surface object to the document representing a sphere.

    • Parameters

      • surface: Surface

        A duplicate of this surface is added to Rhino.

      Returns string

      A unique identifier for the object.

      Adds a surface object to Rhino.

    • Parameters

      • text: string

        The text.

      • location: number[]

        The location.

      Returns string

      A unique identifier for the object.

      Adds a text dot object to the table.

    • ...

      Parameters

      • id: string

      Returns void

    • ...

      Parameters

      • id: string

      Returns File3dmObject

    • ...

      Parameters

      • index: number

      Returns File3dmObject

    • Returns BoundingBox

      The computed bounding box.

      Gets the bounding box containing every object in this table.