zuperninja / zuperninja.github.io

https://zuperninja.github.io/
Other
3 stars 0 forks source link

How to transform a drawing into an object #30

Open zuperninja opened 5 years ago

zuperninja commented 5 years ago

file_name : 2018-11-27-Photoshop-into-fusion.md


title: "How to transform a drawing into an object" header: teaser: /assets/images/.png categories:


How to transform a drawing into an object

Context

For a stage, I need to transform a drawing into cutouts plywood board. I have my 3D model in Fusion 360, and the illustrator have her drawing in Photoshop.

Object

I want to have a proper idea of the disposition of the stage and some clear blueprint for the building.

Process

First step : Photoshop

For starting, I select the element in the drawing I want to transform into an object with the help of the selection tool (W). After a little bit of work on the selection to make it clean, I extract the selection into a new layer. Make a quick save of the layer into a png.

Then I paint this selection in black, and make a quick save of this layer into a png.

I have now these two files : image

Second step : Inkscape

I then open the _mask file into Inkscape to vector it. (Maj + Alt + B) image When it's done, I simplified the path (CTRL+L) and clean the weird nodes (if I have some). Then, put the fill in transparent and add a stroke. image I get rid of the bitmap in my Inkscape file, and align the new vector cutout in the page. Then save as .svg. image

Third step : Fusion 360

In a new file, insert the svg you need. image Extrude the form to the thickness if you wood, and add an appearence if you want. image Then Insert > Attached a canvas. Selection the front face you extrude, select the first png you made earlier in photoshop, and move it to match the body. I unchecked the display through, and put the opacity to 100. image

And voilà ! Now you can insert this fusion 360 file in your stage 3D model.

image

PS

I'm glad for this solution bc it's really fast to do. But I will need to find a more accurate way for the cutout if i want to project them into the wood board to cut them. Because the vector step smooth too much the outline of the real drawing.

Link to the Github's Issue for more information

nicolasdb commented 5 years ago

Other idea. It's to use dxf instead of svg from inkscape
Svg file lose somehow any size reference and you'll loose the scale.