# .dxf export to smaller file size\_Where is superCAD?

**URL:** <https://discourse.processing.org/t/dxf-export-to-smaller-file-size-where-is-supercad/44790>\
**Category:** Libraries\
**Created:** [July 21, 2024, 8:29am UTC](https://discourse.processing.org/t/dxf-export-to-smaller-file-size-where-is-supercad/44790 "2024-07-21T08:29:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mindbogged](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@Mindbogged](https://discourse.processing.org/u/Mindbogged)\
**Post date:** [July 21, 2024, 8:29am UTC](https://discourse.processing.org/t/dxf-export-to-smaller-file-size-where-is-supercad/44790/1 "2024-07-21T08:29:54Z")

</div>

Hi everyone.

I am extremely novice in coding but mange my way somehow.  
I am trying to reduce the file size of my dxf since files are too large to open in the CAD software I am using. I managed to open files in Freecad, reduce node counts and then export again to dxf. This file I can then open in my CAD program, but also after a very ling time.

I have read about superCAD and some features that allow smaller dxf outputs but I cannot locate this library?

Anyone solved this issue whether with superCAD or other means?

```auto
import processing.dxf.*;
//import superCAD.*;

  if (ctl_dxf.update()){
  
    String dxffile="3D_"+Integer.toString(year())+"_"+Integer.toString(day())+"_"+Integer.toString(hour())+"_"+Integer.toString(minute())+"_"+Integer.toString(second())+".dxf";
    beginRaw(DXF, dxffile); 
    background(255);
 // for(int i = 0; i<numberOfFrames;i++){
   // line(random(width),random(height),random(width),random(height));
  }
  
  if (ctl_dxf.update()){
    endRaw();
// cad = false;
  }

```
