Bitbybit Docs
    Preparing search index...

    Class OCCTSVG

    Index

    Constructors

    • Parameters

      • occWorkerManager: OCCTWorkerManager

      Returns OCCTSVG

    Properties

    occWorkerManager: OCCTWorkerManager

    io

    • Parses an SVG document and builds a single compound shape containing every drawable element, the whole drawing as one shape.

      Parameters

      Returns Promise<TopoDSShapePointer>

      load svg

      true

    • Parses an SVG document and builds an OCCT shape per drawable element, each bundled with its resolved fill/stroke/stroke-width metadata, plus warnings and the SVG view box. Use this when you need per-element shapes and their colours/styles. Faces are optional and best-effort.

      Parameters

      Returns Promise<SVGResult<TopoDSShapePointer>>

      load svg structured

      false