3D Printing quirk

Feel free to discuss anything and everything to do with tanking here!
Post Reply
User avatar
wibblywobbly
Major
Posts: 6396
Joined: Fri Oct 17, 2008 9:30 am
Location: South Wales Valley
Contact:

3D Printing quirk

Post by wibblywobbly »

I stumbled across this little trick while playing around with things.

1. Take an overhead photo of a sprue.
2. Edit the jpg to remove the sprue and leave the parts.
3. Enlarge the jpg so that the parts are 1/16 scale.
4. Change the colours to greyscale.
5. Open Cura.
6. Load the jpg straight into Cura.
7. It magically transforms the 2D image into a 3D model.
8. In theory this can be saved as a Gcode file and printed.

I haven't gone beyond 7 yet, as my printer is packed away for a house move, but if this works, then simply drawing the part, saving the drawing as a jpg and loading it into Cura will produce a 3D part that can be printed. The only rule that I can think of is that the part colour would have to be different to the background colour.

The following pics probably explain what happened better than I described it. The quality of the Cura generated part would possibly be better if it was generated from a line drawing as it is picking up all of the textures in the original photo. There is a smoothing option that tidied it up a bit.
Attachments
Cura.jpg
Cura.jpg (49.31 KiB) Viewed 949 times
TndwHE.jpg
TndwHE.jpg (27.73 KiB) Viewed 949 times
Comet Sprue.jpg
Tiger 1 Late
Panther G
King Tiger
M36 B1
User avatar
AlwynTurner
2nd Lieutenant
Posts: 2654
Joined: Thu Oct 23, 2014 10:47 am
Location: Chapel-en-le-Frith, Derbyshire

Re: 3D Printing quirk

Post by AlwynTurner »

WOW.................. 8O 8O 8O
That could be really useful, this I have to try.

Well done Rob. :clap: :clap: :clap: :clap:
Alwyn :thumbup: :wave:
YOU'RE NEVER TOO OLD TO HAVE A HAPPY CHILDHOOD!

Saladin scratchbuild, Matilda scratchbuild, Churchill scratchbuild, Crusader scratchbuild, M10 Achiĺles scratchbuild, Universal Carrier scratchbuild
User avatar
Tankbear
Lieutenant
Posts: 3001
Joined: Sun May 22, 2011 12:00 pm
Contact:

Re: 3D Printing quirk

Post by Tankbear »

My flashforge slicer software does that, can also change the settings for colour - depth etc.

Looks good on screen but not bothered printing out yet. Was playing with the Mad club logo to make into a trophy for our IR battles.

Ian
www.mad-tanks.weebly.com
www.rctankelectronics.com
www.rc-truck.weebly.com
www.rc-boat.weebly.com
User avatar
Raminator
Warrant Officer 2nd Class
Posts: 1309
Joined: Tue Aug 11, 2015 9:57 am
Location: Newcastle, Australia

Re: 3D Printing quirk

Post by Raminator »

Can 3D printer CAD programs use heightmaps? I know there are a bunch of utilities that can generate heightmaps, normal maps and bump maps from photos; you'd be able to replicate surface detail and shapes, then.
User avatar
Tankbear
Lieutenant
Posts: 3001
Joined: Sun May 22, 2011 12:00 pm
Contact:

Re: 3D Printing quirk

Post by Tankbear »

That is a good idea.

Not certain if you use a cad package or another modelling software, i.e. Kind which does models for computer games, animations, etc.

I know my slicer software which converts files so the printer can print it accepts .stl files which typically are cad models and .obj which appear to be what is used for computer animations, games, etc. So in theory if the photo height map software can convert to .obj it should work.

Ian
www.mad-tanks.weebly.com
www.rctankelectronics.com
www.rc-truck.weebly.com
www.rc-boat.weebly.com
RobW
Warrant Officer 2nd Class
Posts: 1218
Joined: Mon Sep 29, 2014 2:55 pm
Location: Sheffield

Re: 3D Printing quirk

Post by RobW »

Very useful, good spot.

I suspect it's a pixellation approach, same as used in medical scanners, and it's looking for the greyscale contrast. So, it'll work best if you pick a good (black & white) contrast colour. If the CAD tool then has repair features you can recreate/repair the features and extrude to give the 3D features. Check the length dimensions & shape incase you pick up a perspective error - you might be better taking the picture at a distance with a good lens.

Bit surprised it works on jpeg, as didn't think that used a pixel data structure - I've always had to use bitmap.
971wright
2nd Lieutenant
Posts: 2733
Joined: Tue Jul 22, 2008 8:16 pm
Location: nelson Lancashire

Re: 3D Printing quirk

Post by 971wright »

Hi Riprap do a scanner for just over a hundred pounds , you could put 1/35 scale parts scan it and scale up. or put 1/16 scale parts on.


regards pete
Post Reply

Return to “General Discussion”