Bitbybit Docs
    Preparing search index...

    Class SphereDto (Inputs.JSCAD)

    Feeds shapes.sphere: a sphere given by its center point, its radius and how many facets approximate it.

    Index

    Constructors

    Properties

    Constructors

    Properties

    center: Point3

    The point the sphere is centered on

    [0, 0, 0]
    
    radius: number

    Distance from the center to the surface, in model units

    1
    

    0

    Infinity

    0.1

    segments: number

    Number of facets around the sphere; more makes it rounder

    24
    

    0

    Infinity

    1