Purpose:

This is browser application is for collecting, arranging pieces and generating a cut file for a laser cutter. It may become useful for planning and operating devices remotely as it is build using free internet technology.

Instructions:

Drag and drop an SVG file into this working area to decode all its lines.

You can drag the diagram with the left mouse button. You can rotate it by holding Control-key down when you start dragging. If you click and drag outside the diagram you change the view. The scroll wheel also changes the view by zooming in and out.

Now look at the FileArea where there is a dropdown to the left of your file name which has automatically selected what type of layer categorization to use on your paths (by colour, by class (=dxflayer if you have used dxf2svg.py), or by a combination). The number says how many of that type were found. You can toggle the state of the layers by: hide:⚪ or visible:⚫; cut:✀; or draw:✎; slot:✁ or border:⬠.

Use the dropdown to hide the layers, delete the file, or group the contours up into the different components and their etching lines so you can place them on a stockdef object.

The stockdef type svg file defines the cutting sheet on which you place your shapes. It has a button called [GenPath] which will download your anc file.

The buttons [<<] and [>>] change the line width, [.*.] toggles the background colour.

The code is at bitbucket/laserplacer

FileArea
0/0 [source] V2018.03.11