brepjs API Reference
    Preparing search index...

    Function deserializeShape

    • Deserialize a shape from a BREP string representation.

      Parameters

      • data: string

        BREP string produced by serializeShape().

      Returns Result<AnyShape>

      Ok with the deserialized shape, or Err if parsing fails.