ClearLine - Dwg/Dxf export

Hello,

(Not written With AI, only with love !)

to fill missing basic features sketchup should have integrated for decades, I asked my little robot to design this new dxf/dwg export. So I share it with you as I’m pretty sure it is a game changer

  • it respects sketchup tags, creates “-cut” versions of layers when objects set on them are cut. creates solid hatches for closed cut entities so that you can then apply different hatches depending on objects materials in your cad software,

  • No more artifacts with complex models, no more small lines of items that should be hidden, faster export, especially with huge models.

  • Components are automatically converted to blocks, unless their geometry visually differs (rotation on a plane that is not perpendicular to current view, parts of object hidden by another etc.). Can also be set for group or groups&components or completely disactivated.
    There is an option to fill blocks with solid hatch, so that they can be moved in your cad software while hiding what’s placed/drawn under.

  • supports dotted lines (introduced with sketchup 2019)

  • keeps arcs and circles

  • Smoothed surface outlines (that I chose to be disactivated by default as it doubles export time). I took a few screenshots to illustrate what it does :

Simple smoothed cylinder embedded in a wall.

native export :


export with option activated :

Example of a block with smoothed surfaces :

Native export / option disactivated :

Option activated :

Before, we had to intersect things or unsmooth items as a workaround.

  • option to hide lines behind closed sections
  • option to see through transparent materials (disactivated by default - I did not run enough tests on this feature)
  • progress bar (no more no responding window for hours !)

notes : - components always facing camera and images are ignored. It exports to dxf by default, if you want to export to dwg you have to install a complementary open source converter (link inside extension)

  • by default, the whole view is exported, unlike the native exporter that only exports the viewport. you can change that in the settings.
  • the plugin will warn you if entities are located very far away and offer the possibility to locate them if you decide to cancel export.

I only tested it on windows with sketchup 2026, but it should work on apple devices (I don’t own any) both intel and apple silicon based devices running on mac OS 11 and newer.

Tool is accessible through the extensions menu or dedicated toolbar button.
I never experienced any crash since 0.1 version (currently 0.12.2), but we never know, so make sure you save your model before using it.

Enjoy and of course report if you encounter any issue

ClearLine_0.12.2.rbz (1.8 MB)

2 Likes