Homeโ€บ Blogโ€บ A2S LISP: Arc/Circle to Segmented Polyline Free Download
๐Ÿ“ LISP

A2S LISP: Arc/Circle to Segmented Polyline Free Download

๐Ÿงฎ 2  |  ๐ŸŸข 2
16 Jun 2026 Trishunya Team
A2S LISP: Arc/Circle to Segmented Polyline Free Download
๐Ÿ“ LISP · CAD UTILITIES

A2S LISP: Arc/Circle to Segmented Polyline (Free AutoLISP Download)

๐Ÿ“… 16 Jun 2026 ๐Ÿท๏ธ CAD BGBgol Global
A2S AutoLISP routine, Arc/Circle to Segmented Polyline, shown inside a CAD window

A2S converts a selected ARC or CIRCLE entity into an equivalent LWPOLYLINE made of many short straight-line segments that closely approximate the original curve. Many downstream tools and export formats don't handle true arc geometry well, this routine solves that at the source.

ARC2SEG-bgol (Arc/Circle to Segmented Polyline)

CATEGORY
Utility Lisps
COMMAND NAME
A2S
LISP FILE
ARC2SEG-bgol.lsp
LICENSE
Open-source, free

Command Type: AutoLISP routine (works in AutoCAD, BricsCAD, ZWCAD and most AutoLISP-compatible CAD platforms)
Developed by: BGol Community, bgol.in

Inspired by the general concept of arc-to-polyline conversion utilities used in CAD/survey drafting. This is an original, independently written routine, new file name, new command name, new source code, created so the CAD community has a free, editable, open-source alternative.

Overview

A2S converts a selected ARC or CIRCLE entity into an equivalent LWPOLYLINE made of many short straight-line segments that closely approximate the original curve. Many downstream tools and export formats don't handle true arc geometry well, this routine solves that at the source.

How to Use

  1. Load ARC2SEG-bgol.lsp into your CAD session (drag-and-drop the file onto the drawing window, or use the APPLOAD command).
  2. Type A2S at the command line and press Enter.
  3. Select the ARC or CIRCLE entity you want to convert.
  4. A new segmented LWPOLYLINE is created on a dedicated layer, BGOL-A2S (colour cyan), closely tracing the original curve.
  5. The original arc/circle is left untouched, so you can compare or delete it manually.

Why Use It

  • Compatibility, converts curved geometry into a straight-segment format that other LISP routines and export formats handle reliably.
  • Export reliability, avoids failures or data loss when sending drawings containing arcs to software that doesn't process curves well.
  • Prerequisite step, many vertex-based tools (vertex export, insertion, marking, etc.) expect straight-segment polylines; this routine prepares arc-containing geometry for that kind of processing.

Where to Use It

  • Preparing drawings with arcs or circles for export to arc-incompatible software.
  • Converting arcs to line segments before running other vertex-based tools that require straight-segment polylines.
  • Any workflow needing curved geometry approximated with straight segments for measurement, processing, or compatibility reasons.

Notes

  • Segmentation resolution defaults to roughly 5-degree steps (a minimum of 8 segments for short arcs, 72 segments for a full circle). Edit the *bgol-a2s-step* constant near the top of the .lsp file to change resolution.
  • Works on ARC and CIRCLE entities; other entity types are reported and skipped.
  • Source code is fully open, feel free to study, modify, and redistribute it under the same open, free-for-all spirit.

Credits

Developed and shared for the CAD community by BGol Community. Website: https://bgol.in/ Free and open-source, use it, modify it, share it, for personal or commercial work alike.

Frequently Asked Questions

What CAD platforms does A2S work on?

A2S is a standard AutoLISP routine, so it runs in AutoCAD, BricsCAD, ZWCAD, and most other AutoLISP-compatible CAD platforms without modification.

What should I know before using A2S?

Segmentation resolution defaults to roughly 5-degree steps (a minimum of 8 segments for short arcs, 72 segments for a full circle). Edit the *bgol-a2s-step* constant near the top of the .lsp file to change resolution.

What is the main benefit of using A2S?

Compatibility, converts curved geometry into a straight-segment format that other LISP routines and export formats handle reliably.

Is A2S free to use for commercial projects?

Yes. A2S is fully open-source and free to use, modify, and redistribute for both personal and commercial work, developed and shared by the BGol Community.

How do I load the A2S command into my drawing?

Drag and drop ARC2SEG-bgol.lsp onto your open drawing window, or load it through the APPLOAD command, then type A2S at the command line to run it.

๐Ÿค About BGol Community

BGol Community of Advanced Surveying builds and shares free, open-source tools for the survey and CAD drafting community.

๐Ÿ™Œ Made with โค๏ธ by BGol Community of Advanced Surveying

Free, open-source, and built for the CAD community, for personal or commercial use, always.

Back to all articles