Skip to content
Tomas Mudrunka edited this page Jan 8, 2019 · 7 revisions

File formats

  • G-Code Native import/export of g-code, with automatic expansion of canned cycles. Disabled blocks are saved as comments, so they don't get accidentaly executed by other software.

  • G-Code Clean Export enabled blocks, without bCNC metadata, in uppercase (for better compatibility with other software)

  • DXF importing and exporting with some limitations (e.g. text is ignored, unless exploded)(But with colors!) Setting the

    [File] dxfloopmerge=1

    in the .bCNC ini file will try to merge closed path loops with others. It can be time consuming, but will result in more optimized g-code. Default is off.

  • STL exporting probe data in STL format, slicing 3D mesh (both binary and ASCII STL)

  • PLY slicing 3D mesh (Currently only ASCII PLY)

  • PROBE import/exporting probe data as plain text format

  • XYZ exporting probe data as plain text point cloud format (you can use this in meshlab to compute normals and do screened poisson surface reconstruction to get 3D model much better than plain STL export from bCNC)

  • ORIENT import/exporting rotate and translate data as plain text format

  • EPS You need to convert EPS to DXF with pstoedit

    pstoedit -f 'dxf: -mm' file.eps file.dxf

    useful options:

    • -xscale ## -yscale ## (after pstoedit command) to scale by a fixed amount.
    • -mm inside the -f 'dxf: ...' to convert to mm from inches
    • -psarg "-r90x90" to change the dpi resolution from 72(default) to 90
  • SVG You can import and export SVGs (see wiki for details)

  • EPS Convert SVG or EPS with inkscape

    inkscape -E file.eps file.svg