-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ideas/suggestions #2
Comments
Oh, and just for reference... wanted to share the application. Both to say "Thanks" for enabling this (it's been an idea for many months, but hadn't figured out just how to convert the image to a depth map), as well as to potentially give others ideas. Here's the image my buddy took: I'll be making matching plaques for both of us. I'll machine out the eclipse using the stl generated by your code, ebonizing the wood, epoxy filling with translucent white, machining everything flat again and completing other features (picture recess and I'll have an lettering with our last names/dates below the pic), then add the outer frame. ![]() Close up of machining path in Fusion: ![]() I'm excited, thanks for sharing what you built for others to use! |
Hi John, Thank you for your nice words! Feel free to create a pull request. Your ideas are great! For the resolution/levels, I had trouble generating the STL on my computer with too much detail or a large image, which is why I have the image resolution reduction. For 3D printing, it's also difficult to make smooth surfaces which is why I just wanted a "lower quality" set amount of thickness levels. Maybe there could be an option within the program to easily toggle between a smoothening effect and the lower quality STL. Please share a picture of your finished eclipse project! Thanks again for using my project :) |
This is awesome. I've been able to use it successfully to convert a picture of the 2024 eclipse into an stl I can import to Fusion360. Hoping to machine it out, ebonize the wood, pour in translucent epoxy, then machine flat and obtain a cool gradient look.
Anyway, had some thoughts as I wrapped my head around the code.
what about adjusting parameters to be more objective vs. relative?
reduction_factor
andscale
work, but I wasn't able to figure out what values to use except by trial and error. I could envision providing a scaled image dimensions instead, or having scale be the output object dimensions in mm.super minor, but I think you can get away with this instead of the use of
baselayer_height
and subtracting 1 fromnum_layers
. Also,right=True
fordigitize
seemed to work better thanright=False
(default) and subtracting 1 from the height map result.range(0, height-1, 1)
instead?z=0
vs. atz=layer_height
If any of this is useful, I can do a PR. Happy to putz on some other ideas above, like how to scale to a set size. This would be awesome for my purposes. My image is 900px, so I get a 900mm image (I'm using
reduction_factor=scale=1
) and then scale to my target of 6x6in.The text was updated successfully, but these errors were encountered: