I do almost all of my design work in Solidworks, so in order to support my design process and to make it easier to get my designs into Easel, I created a macro to convert faces in a SOLIDWORKS part into useable svg files.

If you would like to use the macro for your own use, please download the attached zip file.

Outlines generated by the macro are “on path”. When you import the SVG into easel, you will have to set them to “outside” manually.

Currenlty when an svg is imported the “grayscale” of the shape determines the depth as a fraction of the current material thickness. The rgb values available are from 0 to 255. So the depth “resolution” is your material thickness / 256. If Easel gets updated to support percentages with decimals, i will update the program to achieve greater resolution.

If you have any problems with the program, please let me know and tell me how to replicate the issue.

Are you running it on a part or an assembly? (Macro only runs on parts right now.) Any chance you could send me a screenshot of your model? Also make sure it’s a planer face that you select, cylindrical faces don’t work.

That’s not a good sign. I’ve updated the macro to give a bit more information when it errors out. When it shows the error window, click on “debug” and shoot me a screenshot of the highlighted code. I should be able to figure it out from there.

Ok, i think i figured it out. Had to do with the function that converted 3D coordinates to 2D space. I uploaded the new macro and put it in the original post (v1.03). Give that a shot and let me know if it works.