Making a model single to double-lined

Hi guys!

I’m working with a plugin and I’m trying to achieve the following functionality:

The user draws a single lined model in one plane and plugin should the convert it to a double-lined version. I know this functionality has a lot of edge-cases where it might be very hard, but I’m primarily looking to do this to simple models (like the one below).

Does anyone have any idea how to approach this or have any tips in general?

(I want the user to be able to draw the left version below and then convert to the right version below)

Look at this, it might give you some clues…
http://sketchucation.com/pluginstore?pln=Latticeizer

1 Like