mymikemiller / scratchhologram

Assists in creating 3d scratch holograms (aka abrasion holograms or chatoyant holograms). They can be created on acrylic or metal sheets using only an adjustable compass as described on Bill Beaty's website: http://www.eskimo.com/~billb/amateur/holo1.htm
22 stars 2 forks source link

Any updates on this project? #1

Open aaronse opened 1 year ago

aaronse commented 1 year ago

Hello @mymikemiller! Thank you for creating and sharing this project!

Curious if you made any updates that are shared somewhere? Did you already implement rendering partial Arcs to handle occlusion as ViewAngle changes?

Some V1 Engineering forum folks including myself recently stumbled onto your project. V1E forum is a place for folks that like to build and tinker with DIY CNCs, 3D Printers and similar Maker projects. Curious Makers are welcome!

Am looking into generating gcode to throw at my DIY V1E CNC, am happy to have a go at hacking something together... But, I don't want to reinvent something that's already been done (and likely done better than my recent efforts).

Totally understand if you're busy and have moved on from this project/area. Cheers!

mymikemiller commented 1 year ago

Everything seen in the video (https://youtu.be/JaGZ651U4j4) is implemented, including partial arcs (turning points on and off when they are hidden behind planes due to the view angle)

The output format we created is basically a CSV of all the arcs’ centers, radii and start and end angles (I think; it’s been a while since I looked at this code). That could easily be modified to output what is necessary for controlling a CNC. I’d love to accept a PR adding a new output format! There have not been any updates to the code that aren’t in this codebase.

Feel free to message me here if you have any questions about the code. I’m happy to help!

aaronse commented 1 year ago

Thanks for the info and responding @mymikemiller.

Noticed app shown in the video is titled "Abrasion Hologram Creator", is the code for that checked in somewhere (I tried to search but couldn't find)?

There's no mention of "Abrasion Hologram Creator" in the repo. I only see the "Scratch Test" Windows Form project. The "Scratch Test" app has been super helpful, thanks to that I was able to do my first etch today, 1.25mm cut depth on acrylic didn't turn out great, seems way too deep, am trying again with shallower cuts. Also my code's flakey and generating too many tiny cuts, am still coding/fixing...

image

Example of what am trying out... (posting updates/progress here ) image

Thanks again!

mymikemiller commented 1 year ago

Ahh, it seems I only ever committed an older version of the project! Luckily I was able to find the final version in a cloud backup (Github was hardly a thing back in 2008 when I completed this project!) So I uploaded it here: https://github.com/mymikemiller/abrasion-hologram-printer/

That version will be much more helpful for you! I recommend reading How to Use to understand how to use the creator and viewer (though it seems like you've got a pretty good handle on that already!

As it is, the creator can output a simple text file (.arc), the format of which which How to Use explains.

To modify how the .arc file is generated so it matches the format expected by your cnc machine, you will probably want to modify ArcFile's SaveAs function.

aaronse commented 1 year ago

Great stuff. @mymikemiller, thanks for sharing your abrasion-hologram-printer as well.

LOL, so I ended up implementing "ArcSegments" (what you'd call ArcSections) in my fork of your scratchhologram project over the weekend, including import/export arcsegments (json). So, my changes are probably redundant, but were fun to do anyway. Didn't realize you made abrasion-hologram-printer. Checking it out now...

Haven't shared my fork/edits yet, because they're a half baked mess (screenshot below is proof), been focused on just trying to get something working good enough to test whether my machine is up to fine engraving...

image

aaronse commented 10 months ago

Happy new year @mymikemiller !

Personally ended up distracted with other projects, but some recent questions from misc folks nudged me into sharing the half baked progress I made...

Thanks again for sharing your project. Cheers!