manifold-3d
    Preparing search index...

    Variable setCircularSegments

    setCircularSegments: (segments: number) => void

    Type declaration

      • (segments: number): void
      • Sets the default number of circular segments for the CrossSection.circle, Manifold.cylinder, Manifold.sphere, and Manifold.revolve constructors. Overrides the edge length and angle constraints and sets the number of segments to exactly this value.

        Parameters

        • segments: number

          Number of circular segments. Default is 0, meaning no constraint is applied.

        Returns void