• Preparing search index...
  • The search index is not available
RealDWG-Web
  • RealDWG-Web
  • @mlightcad/data-model
  • acdbExplodeBulgePath

Function acdbExplodeBulgePath

  • acdbExplodeBulgePath(
        vertices: readonly AcDbBulgePathVertex[],
        options: AcDbExplodeBulgePathOptions,
    ): AcDbCurve[]
  • Breaks a planar bulge path (the geometry of LWPOLYLINE and 2D POLYLINE) into one AcDbLine or AcDbArc per segment, the way AutoCAD EXPLODE does. Segment widths are not represented: AutoCAD discards them as well.

    Zero-length segments are skipped. The generated entities are in WCS, share the plane normal of the path and carry no entity properties; callers copy those with AcDbEntity.setPropertiesFrom.

    Parameters

    • vertices: readonly AcDbBulgePathVertex[]

      Path vertices in OCS.

    • options: AcDbExplodeBulgePathOptions

      Plane and closure of the path.

    Returns AcDbCurve[]

    The generated lines and arcs, in path order.

    • Defined in packages/data-model/src/entity/AcDbExplodeHelpers.ts:62

Settings

Member Visibility
RealDWG-Web
  • Loading...

Generated using TypeDoc