MyFoamSVGExport Bookmarklet

Export contours from MyFoam.net to an SVG file.

Source (myfoam.net)


Download Bookmarklet:


View Bookmarklet Code:

Bookmarklet Source Code:

javascript%3A%28function%28%29%7B%20var%20blob%20%3D%20new%20Blob%28%5B%60%3Csvg%20height%3D%221000%22%20width%3D%221000%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%24%7BjQuery%28%27%5Bfill%3D%22%2300bbff%22%5D%27%29.toArray%28%29.map%28e%20%3D%3E%20e.outerHTML.replace%28%27%2300bbff%27%2C%20%27%23000000%27%29%29%7D%3C/svg%3E%60%5D%2C%20%7B%20type%3A%20%27image/svg+xml%27%20%7D%29%3B%20var%20a%20%3D%20document.createElement%28%27a%27%29%3B%20a.target%20%3D%20%27_blank%27%3B%20a.href%20%3D%20window.URL.createObjectURL%28blob%29%3B%20document.body.appendChild%28a%29%3B%20a.click%28%29%3B%20document.body.removeChild%28a%29%3B%20%7D%29%28%29%3B


Rate it:


Tags:

Comments

Comments so far. Add yours.