Skip to content

Algorithm written in Processing for processing photos into vector based drawings

Notifications You must be signed in to change notification settings

cparsell/RasterPhotoLinear

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RasterPhotoLinear

Processing setup

  • Install Processing.

  • Make sure the code (the .PDE file) is placed in a folder with the same name as the PDE file. In this case, that would be "RasterPhotoLinear". Place the folder wherever you put your other Processing projects.

For now, a vector file (PDF) will be generated every time the sketch is run. It is timestamped for some organization.

CAD/CAM Brush Pen Hack:

I use brush pens as the tool attached to the CNC machine- I like these refillable brush pens filled with india ink. Any ink will do but you want contrast - bolder ink looks better. There are also brush pens that come filled with ink.

To get CAD/CAM software to vary the height, use engraving operations. These operations are typically meant for CNC bits that have a V-shaped profile and the engraving will cut deeper where the vector is wider. With the brush pen, it presses more into the surface causing the varying line width needed for the effect to work.

I set 0 in the Z axis where the brush pen is almost letting ink on the paper. You want the brush to be making very thin lines where the vector shapes are thin and thick lines where the vector is deep.

Effectively, the V-shaped bit and the engraving CAD/CAM operation are lies and the size of the "bit" (and angle of the V) can be manipulated in order to get the depths just right. You definitely should check to make sure the toolpath isn't going to go down further than the brush should. With the brush pen I used, that's somewhere around .25inch - maybe a little more at most.

About

Algorithm written in Processing for processing photos into vector based drawings

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published