Sign up
      Docs
      • Zoo Design Studio
      • Zoo Developer Tools
      • KCL Language Reference
      • KCL Standard Library
        • ::appearance
        • ::array
        • ::math
        • ::sketch
        • ::solid
        • ::sweep
        • ::transform
        • ::turns
        • ::types
          • any
          • Axis2d
          • Axis3d
          • bool
          • Edge
          • Face
          • fn
          • Helix
          • ImportedGeometry
          • number
          • Plane
          • Point2d
          • Point3d
          • Sketch
          • Solid
          • string
          • tag
        • ::units
        • appearance
        • assert
        • assertIs
        • clone
        • END
        • helix
        • offsetPlane
        • patternLinear2d
        • START
        • X
        • XY
        • XZ
        • Y
        • YZ
        • Z
      • KCL Book
      • KCL Samples
      • Glossary
      • FAQ
      KCL Library Reference → std → types

      typesModule in std

      KCL types. This module contains fundamental types like number, string, Solid, and Sketch.

      Types can (optionally) be used to describe a function's arguments and returned value. They are checked when a program runs and can help avoid errors. They are also useful to help document what a function does.

      Types

      • Axis2d
      • Axis3d
      • Edge
      • Face
      • Helix
      • ImportedGeometry
      • Plane
      • Point2d
      • Point3d
      • Sketch
      • Solid
      • any
      • bool
      • fn
      • number
      • string
      • tag