I wanted this for use with my small laser cutter.
Instead of having to use Inkscape for everthing I thought it would good if CamBam could export SVG files that I import to "K40 Whisperer".
K40 Whisperer is ideal because it can directly control the laser for homing etc.
These are the operations supported by the plugin.
1. If the CamBam Layer has an "x" or "X" in it's Tag filed then any exported closed objects on that layer will be filled with the layer colour.
2. object are exported with the same colour as their CamBam layer
3. Polyline, straight or with 'bulge', if closed they can also be filled. exported as a 'path'
4. Spline, if closed they can also be filled, exported as a 'path'
5. Polyrectangle, with or without corner radius applied, can also be filled
6. Lines, such as from an 'exploded' polyrectangle
7. Arc, exported as a 'path'
8. Circle, can be filled
9. Text, exported as 'text', can be 'regular', 'bold', 'italic' , can be filled
10. exported objects are 'grouped' according to their CamBam layers
11. Line thickness is exported from the CamBam Layer 'Pen Width', if it is set to 0 then the default exported width is 0.1 (mm)
12. looks at "Visible" layers only
Version 1.0 plugin attached for CamBam v1.0 only, I'm not planning to supporting 0.9.8. in future.
A sample cb file attached
The plugin will appear in, File->Export->to SVG
Edit: version 2 attached
1. resizes page to exported objects
2. centralises objects on page
3. dimensions of objects imported by Inkscape are the same as those in CamBam
4. paths for Polylines with multiple arcs and lines will now "combine" into one path so that fill works correctly. (same as CamBam "Join")
5. the diagonal line in Bubba's sample file is fixed.
Edit: version 3 attached
1. added units to the svg file, both in the "width" and "height" parameters and also "units" ("mm" and "in")
2. Finally got "Namespace" sorted out, K40 would not open the file without that being set correctly.
3. tested with splines attached to polylines attached to arcs multiple times, then used CamBam "join" to see if the closed shape would colour fill okay in Inkscape and K40 Whisperer.
4 As far as I can make out the exported geometry is the same size as in CamBam however Inkscape also includes the stroke width in size.
Edit: version 3.1 attached
1. changed default stroke width to 0.04 for inches system, remeber you can set the exact Pen Width on the CamBam layer before exporting.
Edit: version 4.0 attached
1. rewrote Classes for svg objects, better code now.
Edit: verrsion 5.0 attached
1. added transforms to objects (rotation about Z and X,Y, translation only) but that should be fine for all 2D work.