Thanks Thanks:  1
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Regular 3D Printer
    Join Date
    Dec 2014
    Location
    Australia
    Posts
    72
    Post Thanks / Like

    Lightbulb 2D to 3D STL Files

    A rewrite of Info and methods for converting a 2D Images to 3D STL files for printing.

    After experimenting with different apps I have come to a few conclusions :

    There is just not enough information in a normal 2D colour photo to create a true 3D Object to print.
    You can how-ever make Lithopanes EG: Embossed surfaces
    Here’s a search on ThingiVerse for examples of Lithopane’s to show whats possible.

    Creating a STL file from a Image or drawing is quiet viable with some Caveats:
    For good results its best if images / drawings are Hi Detailed & Hi-Contrast
    EG: Black & White. they must also be a solid meaning connected here are some examples

    This side will not print…….…..This side will print
    ...Flower1.icon.png.................Flower0.icon.png

    ..Lotus1.icon.png.........Lotus2.icon.png
    with all these examples images black is what will print


    Here are examples of other Images that Ive used.
    Twirl.icon.png...AntiVib.icon.png...Dancer0.icon.png...Dancer.Medaltion.icon.png
    lotus0.icon.png...SunFace.Medaltion.2.icon.png...SunFace1.icon.png

    Download these IMAGES SVG & STL Ive used from my DROPBOX (9.5 mb Zip)

    Get or create your image
    If necessary correct them in Image Editor EG : Photoshop to the results you want
    Resize Image to 72 Dpi and disire size you want I convert to grey scale and save
    Save it as either a JPG / PNG / BMP with no compression then proceed to making a SVG file

    STEP 1 - Convert image to SVG with Vector Magic…Inkscape…SketchUp…Illustrator

    Vector Magic (Comercial) - Video DROPBOX (my preferred option)
    Ive settled on Vector Magic for this demo its Fast Simple & gives good results with minimal effort.

    InkScape (Free)
    Paste your image, select it, and then go to "Path" --> "Trace Bitmap"
    Change the thresholds of how it determines to create the path. You can push "Update" to preview the path. Only push "OK" once as it will create a path. Once you push ok, then close the window.
    Changing the "Colours" to less than 8 helpful as well as "Colour quantisation" and "Invert Image"
    Finally save you selected path as an .SVG file.

    SketchUp and Plugins (Free)
    You need SketchUp and a plugin called SketchUp STL
    Import your image……best if you are using a JPG or TIF..…Choose File -> Import ……Choose your image.
    After you have imported Image, the next step is to trace the logo using the line and arc tools..…This can take awhile depending how complex your Image is !
    Once everything is traced, if you did it properly you should see that some of the spaces filled in.
    If not you may have a hole somewhere. You may have to look a little close to find it.
    One trick I found that helps is drawing a line between the part that is supposed to be filled in. If it doesn't fill both sides you have a hole.
    At this point you can delete the image from SketchUp. What you have now can be saved as a SVG file or Continue
    Use this Push/Pull tool to raise/lower parts of your image..…You can add a base if you wish by making a square under your drawing.
    Once you have a SVG file the next step is to Create a STL file ready to print!
    Choose File -> Export STL.…Choose yes when it asks to export the entire module.

    Adobe Illustrator(Comercial)
    Import your image into Adobe Illustrator…Convert your image to a path by pushing " Image Trace". Then Push "Expand".
    Advanced settings for "Image Trace" in the triangle button to the right of "Image Trace"
    Double Click on your image and then start deleting unwanted paths.
    Clicked+dragged on the white areas of image and deleted them, leaving you with only the paths that make up the black area.)
    You can also just choose the paths that you want. Either method works, Delete everything you don't want.
    Save your path as an .SVG file. This type of file can be imported into just about any 3D modelling software.

    STEP 2 - Convert SVG to STL
    with TinkerCAD…123D Design…SketchUp…Blender…Photoshop

    Don’t worry to much about finished size this can be corrected in Cura / Repetier / Simplify3D by adjusting XYZ

    TinkerCad
    (Free) - www.tinkercad.com - Video DROPBOX (my preferred option)

    Create Account
    Create New Design
    From Side Menu Import
    Select your SVG File choose a % size and thickness & IMPORT (I use about 30% and then resize)
    Scale STL File to desired dimensions (Holding Shift-Key will Constrain Proportions)
    Save STL go to Menu DESIGN and select Download.for.3D.Printing
    this will give you the option of STL OBJ and others & your done.

    Autodesk 123D Design (Free) - Video DROPBOX (my preferred option)
    Go to Menu - Import SVG you have 2 Options As Sketch or As Solid - Choose As Sketch (my preferred )
    You can use solid,& delete the parts you choose.
    Once Loaded Consider this as you Template.
    Go to Menu select Construct - Extrude
    Select the Template (SVG) this will give you the Option of extruding it manually or Input a dimension.
    Once this is done move the Extruded Object so you can select Template and delete it.
    Then Go to Menu Export STL & your done.

    Blender (Free)
    Import your SVG file. You may need to scale your paths because they often import extremely small.
    You can do this by pushing [S] and typing a number such as 2000... and just add zeros to that number until you see your paths.
    Optional:If your paths did not turn out as expected, then you can go back into Illustrator and try to make or edit the paths.
    (Also you can use the Edit Mode of Blender you can modify the paths.)
    If you are happy with the path, then convert your paths into a mesh. [Alt]+[C] in Object Mode. You may need to join your paths as one object, or convert multiple times.
    Now your path has geometry to model with. In my case I will select all the vertices and then extrude them upward.
    You can change material colour from black to some other colour so its better to see. You model will be whatever colour your path was as a SVG file.

    Photoshop (Comercial)
    Make sure you choose RGB Colour not CMYK when starting a new project in Photoshop, otherwise the 3D function will not work.
    Paste your path…In the top window choose 3D--> New Extrusion from Path. This will make your path a 3d model…Modify the 3d model.

    Finally theres a MatterControl plugin…Image Converter……..INFO….Its a In App Purchase $15.00
    Click on Create this brings up Design Add-Ons there is also a Text Creator Built in

    File Repair
    Depending on the complexity, you may need to repair a STL file
    I am Using Simplify3D to repair my files but if you do not have it Try NetFabb
    Upload your file to http://cloud.netfabb.com. it will repair the file for you.
    After a few minutes you should receive an email with a download link to the repaired file.

    Hope this is useful any question just ask


    Last edited by Zoom; 01-23-2015 at 03:56 PM. Reason: Re write

  2. Thanks tlucas thanked for this post
  3. #2
    Administrator bolsoncerrado's Avatar
    Join Date
    Nov 2014
    Posts
    2,904
    Post Thanks / Like
    Thanks, I'll stick the post!

    I shall ask you don't abuse of CENTER text feature hahaha it it makes it difficult to read, specially on long posts

  4. #3
    Administrator bolsoncerrado's Avatar
    Join Date
    Nov 2014
    Posts
    2,904
    Post Thanks / Like
    Dont forget to send some screenshots of your own stuff done with the above method and printed results too of course

  5. #4
    Regular 3D Printer
    Join Date
    Dec 2014
    Location
    Australia
    Posts
    72
    Post Thanks / Like
    I completely rewritten this post and updated it with Videos for some Apps and the source IMAGES, SVG file & STL files created for you to download

    For a limited time if you PM me a image (PNG or JPG) that you want i will convert it into a SVG file so you can create you own STL using the methods I've described in update

    Please read before sending files

    Cheers
    Last edited by Zoom; 01-24-2015 at 05:34 AM.

  6. #5
    3D Printer Noob
    Join Date
    Apr 2015
    Posts
    1
    Post Thanks / Like
    As far as I know the best tool for doing this is www.selva3d.com.
    It's done only in a single step and it's free
    Last edited by loskiora12; 04-16-2015 at 04:37 PM.

 

 

Similar Threads

  1. Fellow Makers - Files for a 3D printable lathe
    By BobenhamHotspur in forum 3D Hardware
    Replies: 0
    Last Post: 04-21-2015, 08:41 PM
  2. STL files for fan ducts
    By McCrapShot in forum Rapide Lite 3D Printers
    Replies: 3
    Last Post: 01-18-2015, 08:45 AM
  3. How do I use .ini files ??
    By daf in forum Rapide Lite 3D Printers
    Replies: 2
    Last Post: 01-15-2015, 01:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •