Sign up
    Docs
    • API
    • CLI
    • KCL language reference
    • KCL standard library
      • ::array
      • ::math
      • ::sketch
      • ::solid
      • ::transform
      • ::turns
      • ::types
      • ::units
        • toCentimeters
        • toDegrees
        • toFeet
        • toInches
        • toMeters
        • toMillimeters
        • toRadians
        • toYards
      • appearance
      • assert
      • assertIs
      • clone
      • END
      • helix
      • offsetPlane
      • patternLinear2d
      • START
      • X
      • XY
      • XZ
      • Y
      • YZ
      • Z
    • KCL Samples
    • Tutorials
    • Glossary
    • FAQ
    kcl library reference → std → units

    unitsModule in std

    Functions for converting numbers to different units.

    Functions and constants

    • units::toCentimeters
    • units::toDegrees
    • units::toFeet
    • units::toInches
    • units::toMeters
    • units::toMillimeters
    • units::toRadians
    • units::toYards