User Tools

Site Tools


inkscape_for_lasering

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
inkscape_for_lasering [2015-07-18 19:46] – Bit of formatting alinkscape_for_lasering [2023-12-31 14:45] (current) dan
Line 10: Line 10:
 There are plenty of guides and such for learning how to use Inkscape, but here are some hints specifically for laser cutting. There are plenty of guides and such for learning how to use Inkscape, but here are some hints specifically for laser cutting.
  
-The laser cutter works in millimetres but Inkscape defaults to pixels. Create a new file and then switch to mm by opening the document properties from ''File -> Document Properties''. Change the default units to ''mm''. You may also want to create a page that's the approximate size of our laser cutter bed, which is 300x600mm. {{ ::inkscape_doc_properties.png?direct&800 }} (click image to embiggen) |+The laser cutter works in millimetres but Inkscape defaults to pixels. Create a new file and then switch to mm by opening the document properties from ''File -> Document Properties''. Change the default units to ''mm''. 
 + 
 +You may also want to create a page that's the approximate size of our laser cutter bed, which is 300x600mm.  
 + 
 +{{ ::inkscape_doc_properties.png?direct&800 }} (click image to embiggen) 
  
  
 ===== Exporting for the laser cutter software ===== ===== Exporting for the laser cutter software =====
  
-|The laser cutter does a reasonable job of importing DXF files, so that's our preferred format for importing. Inkscape can write DXF files, just go to ''File -> Save As...'', or ''File -> Save a Copy...'' and select ''Desktop Cutting Plotter (AutoCAD DXF R14)(*.dxf)'' from the list of filetypes (it's near the bottom){{ ::inkscape_dxf.png?direct&800 }}( click image to embiggen) |+Before exporting, make sure to convert all objects to paths. The laser cutter software only imports paths, not Inkscape objects, so if you don't convert then you might lose objecty things like rounded boxes and text. This is easy to fix: select all of your drawing (''Edit -> Select all'', or ''[Ctrl]+A'') and then run ''Path -> Object to Path''. It may appear that nothing has happened, but in fact your objects are now paths and you're ready to export to the laser cutter! 
 + 
 +{{ ::inkscape_object_to_path.png?direct&800 }} (click image to embiggen) 
 + 
 + 
 +The laser cutter does a reasonable job of importing DXF files, so that's our preferred format for importing. Inkscape can write DXF files, just go to ''File -> Save As...'', or ''File -> Save a Copy...'' and select ''Desktop Cutting Plotter (AutoCAD DXF R14)(*.dxf)'' from the list of filetypes (it's near the bottom) 
 + 
 +You'll get another window of export options, make sure the ''Base unit'' setting is **mm**, ''Use ROBO-Master type of spline output'' is **unticked** (this can cause problems with curves) and then hit OK. 
 + 
 +{{ ::inkscape_dxf.png?direct&800 }}( click image to embiggen) 
 + 
 +{{ ::inkscape_dxf_options.png?direct&800 }}  
 + 
 + 
 +===== Exporting for the laser cutter software using a script ===== 
 +As an alternative, this script (svg2dxf) can be used: 
 + 
 +<code> 
 +#!/bin/bash 
 + 
 +inkscape --export-text-to-path -f $1 -E /tmp/tmp.eps 
 +pstoedit -f "dxf_s:-polyaslines -mm" /tmp/tmp.eps ${1/\.svg/\.dxf} 
 +</code> 
 + 
 +You'll need inkscape and pstoedit installed. 
inkscape_for_lasering.1437248772.txt.gz · Last modified: 2015-10-05 15:55 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki