Project:LayserCake: Difference between revisions

From London Hackspace Wiki

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
http://hack.rs/cgi-bin/threshold_grayscale.pl


'''People'''
'''People'''
Line 5: Line 4:
* [[User:AndyE]]
* [[User:AndyE]]
* [[User:BytePilot]]
* [[User:BytePilot]]
Hello lovely people.
A while ago there was formed the a plan to take detailed images and split them inyo bitplane layers to allow our laser cutter
to efficiently engrave 256 shades of grey.
AndyE wrote the perl script (see source below) and uploaded it to Babbage for your engraving pleasure.
So hie yourself to the following URL, and feed it the image you'd like to engrave grayscale styl-E
http://hack.rs/cgi-bin/threshold_grayscale.pl
This does not support colour engraving with the laser. Anyone believing that it does will be offered a cup of tea, a lie down and a brief course on basic physics.
'''How-to - a worked example'''
Let's say you have this charming picture of a cake to begin with:
[[File:220px-Strawberry_Cake.JPG]]
So you feed it to the script at the URL at the top of this page, and the script will give you back 8 files numbered 0 to 7.
Determine what strength/speed you'd engrave your material at.
That will give you 8 images, import them into the laser cutter software, align them on top of each other and set them all to be different engraving layers (colours)
Lase number 7 at 50% of that power
(50% of whatever full engrave strength should be for your material).
[[File:220px-Strawberry_Cake_7.JPG]]
Then lase number 6 at 25% power:
[[File:220px-Strawberry_Cake_6.JPG]]
Then number 5 at 12.5% power:
[[File:220px-Strawberry_Cake_5.JPG]]
and so on and so on, halving the power each time.
4
[[File:220px-Strawberry_Cake_4.JPG]]
3
[[File:220px-Strawberry_Cake_3.JPG]]
2
[[File:220px-Strawberry_Cake_2.JPG]]
1
[[File:220px-Strawberry_Cake_1.JPG]]
0
[[File:220px-Strawberry_Cake_0.JPG]]
Each sucessive engrave adds a little extra detail to the image.
Then report back here to let us know how it went!
An alternative would be to double the speed each time, rather than halving the power. Would be interesting to see tests for both methods on the same image.
'''What we expect'''
Engraved Wood should exhibit a discernable shading, showing light and dark areas of engraving.
Engraved acrylic should show definite depth differences with the depth of engraving at any point corresponding to the brightness of the image at that point.
'''How it went'''
?


'''Source'''
'''Source'''
Line 78: Line 151:


</pre>
</pre>
'''How-to - a worked example'''
Let's say you have this charming picture of a cake to begin with:
[[File:220px-Strawberry_Cake.JPG]]
So you feed it to the script at the URL at the top of this page, and the script will give you back 8 files numbered 0 to 7.
Determine what strength/speed you'd engrave your material at.
So first, laze number 7 at 50% of that power
(50% of whatever full engrave strength should be for your material).
[[File:220px-Strawberry_Cake_7.JPG]]
Then laze number 6 at 25% power:
[[File:220px-Strawberry_Cake_6.JPG]]
Then number 5 at 12.5% power:
[[File:220px-Strawberry_Cake_5.JPG]]
and so on and so forth, halving the power each time.
4
[[File:220px-Strawberry_Cake_4.JPG]]
3
[[File:220px-Strawberry_Cake_3.JPG]]
2
[[File:220px-Strawberry_Cake_2.JPG]]
1
[[File:220px-Strawberry_Cake_1.JPG]]
0
[[File:220px-Strawberry_Cake_0.JPG]]
Then report back here to let us know how it went!
An alternative would be to double the speed each time, rather than halving the power. Would be interesting to see tests for both methods on the same image.
'''How it went'''
?
Anonymous user