Homeโ€บ Blogโ€บ F2PL LISP: Convert 3DFACE to 3D Polyline Free Download
๐Ÿ“ LISP

F2PL LISP: Convert 3DFACE to 3D Polyline Free Download

๐Ÿงฎ 2  |  ๐ŸŸข 2
09 Mar 2026 Trishunya Team
F2PL LISP: Convert 3DFACE to 3D Polyline Free Download
๐Ÿ“ LISP · CAD UTILITIES

F2PL LISP: Convert 3DFACE to 3D Polyline (Free AutoLISP Download)

๐Ÿ“… 09 Mar 2026 ๐Ÿท๏ธ CAD BGBgol Global
F2PL AutoLISP routine, Convert 3DFACE to 3D Polyline, shown inside a CAD window

F2PL converts a selected 3DFACE entity into an equivalent closed 3D polyline tracing the same vertices. AutoCAD's native AREA command cannot work directly on 3DFACE entities, converting to a 3D polyline unlocks area calculation and other polyline-based tools for triangulated surface data (a TIN of 3D faces).

FACE2PLN-bgol (Convert 3DFACE to 3D Polyline)

CATEGORY
Polyline Lisps
COMMAND NAME
F2PL
LISP FILE
FACE2PLN-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 3DFACE-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

F2PL converts a selected 3DFACE entity into an equivalent closed 3D polyline tracing the same vertices. AutoCAD's native AREA command cannot work directly on 3DFACE entities, converting to a 3D polyline unlocks area calculation and other polyline-based tools for triangulated surface data (a TIN of 3D faces).

How to Use

  1. Load FACE2PLN-bgol.lsp into your CAD session (drag-and-drop the file onto the drawing window, or use the APPLOAD command).
  2. Type F2PL at the command line and press Enter.
  3. Select one or more 3DFACE entities.
  4. Press Enter to finish the selection.
  5. Each 3DFACE is rebuilt as a closed 3D polyline on a dedicated layer, BGOL-F2PL (colour magenta), tracing the exact same vertices. The original 3DFACE entities are left untouched.

Why Use It

  • Unlocks AREA, AREA and similar tools work on 3D polylines but not on raw 3DFACE entities.
  • True 3D surface area, enables computing true (sloped) surface area from a TIN, which is always greater than or equal to the flat 2D plan area.
  • Geometry preserved exactly, same vertices, same shape; this is an entity-type conversion, not a geometric approximation.

Where to Use It

  • Calculating true surface area of a triangulated survey surface (TIN) represented as 3D faces, earthworks, land grading, surface reporting.
  • Any workflow needing to apply polyline-based tools (area, vertex export, coordinate tables) to geometry that currently exists only as 3DFACE entities.
  • Preparing 3D-face surface data for further processing by other polyline-oriented routines.

Notes

  • Handles both triangular and quadrilateral 3DFACE entities, if the 3rd/4th vertex coincide (a triangular face), the duplicate point is dropped automatically.
  • The original 3DFACE entities are not deleted, so you can compare or remove them manually once you have confirmed the conversion.
  • 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 F2PL work on?

F2PL 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 F2PL?

Handles both triangular and quadrilateral 3DFACE entities, if the 3rd/4th vertex coincide (a triangular face), the duplicate point is dropped automatically.

What is the main benefit of using F2PL?

Unlocks AREA, AREA and similar tools work on 3D polylines but not on raw 3DFACE entities.

Is F2PL free to use for commercial projects?

Yes. F2PL 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 F2PL command into my drawing?

Drag and drop FACE2PLN-bgol.lsp onto your open drawing window, or load it through the APPLOAD command, then type F2PL 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