bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Class JSCADColors

    Index

    Constructors

    colorize

    Constructors

    • Parameters

      • jscadWorkerManager: JSCADWorkerManager

      Returns JSCADColors

    colorize

    • Colorizes geometry of jscad. If geometry is in the array it will colorize all items and return them. If geometry is a single item it will return a single item. Keep in mind that colorized geometry in jscad will always be drawn in that color even if you try to change it via draw options.

      Parameters

      Returns Promise<any>

      Colorized geometry of jsacd

      colorize geometry

      true