sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Make an imported TIF 3D and curved?

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    28 Posts 5 Posters 399 Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      beemouse
      last edited by

      Hello -

      I am a TOTAL newbie to Sketchup, but I am a pretty fast learner when it comes to this sort of stuff, so I hope to be able to get the hang of Sketchup quickly! Here is my problem, which I hope hasn't been asked/treated here before! :
      I would like to 3D print a bracelet made from my 3 year old daughters "writing". I scanned the image into Gimp, cleaned it up and got rid of the white background. I then imported it as a TIF file to sketchup. However, sketchup is treating the file as a "rectangle" of sorts (when I select the image by right-clicking, it selects a rectangular area surrounding the writing and not only the writing). It is also not possible to push/pull the writing to give it some depth. I imagine once I solve this, I will be able to apply the writing to a curve with a plug-in, but I need to be able to get to that stage! If anyone has any helpful suggestions, I 'm all ears!

      Milles mercis!
      Candice

      1 Reply Last reply Reply Quote 0
      • Rich O BrienR Offline
        Rich O Brien Moderator
        last edited by

        SketchUp can't convert images into geometry. There are plugins like Thomthom's Bitmap to Mesh that will take the pixel data and apply height based on the color.

        Your image is just an imported image in SketchUp. If you right click it and choose explode it will become a face with your image now a texture placed on the face.

        Download the free D'oh Book for SketchUp πŸ“–

        1 Reply Last reply Reply Quote 0
        • TIGT Offline
          TIG Moderator
          last edited by

          If you want a simple extrusion of the 'letters' them make the TIF into a PNG [Gimp/Photoshop/etc] with a transparent background and the rest of the pixels 100% solid and excess background cropped to optimize the file size, import the Image into a SKP... and then look at my ImageTrimmer tool to cut out its shape [note that you need Java activated (it usually is) and .jar files set to execute with it (and not to open in some un-compression app - they can takeover some file-types like this!)]. Then PushPull the resulting faces into 3d...

          TIG

          1 Reply Last reply Reply Quote 0
          • B Offline
            beemouse
            last edited by

            Thanks TIG! I will try that out this evening and write back if I have trouble!!

            OK - I couldn't wait, so I made a fake file at work, just to test the plug-in. And it works great - up to a point! I was able to cut out only the text and pull it, but the part that is pulled is not solid, but mottled, as if there is writing on it too. How can I make the pulled part solid black (needed for 3D printing, I imagine?!).

            Once that is done, can anyone recommend a good (free?) plug-in for wrapping my text into a curve (ie. bracelet) ?

            Thanks!!

            1 Reply Last reply Reply Quote 0
            • B Offline
              beemouse
              last edited by

              Ah - never mind - I figured out how to make the pulled parts black. Now I just need to figure out how to bend it into a bracelet!

              1 Reply Last reply Reply Quote 0
              • TIGT Offline
                TIG Moderator
                last edited by

                Find ShapeBender in the Plugins Index.
                That will let you bend the extruded letters into a curved bracelet...
                It might be good idea to make it somewhat larger [x10] than you want to avoid issues with tiny facets not forming - a limitation of Sketchup. You can always scale it down to the desired size before manufacture, without any losses.

                TIG

                1 Reply Last reply Reply Quote 0
                • B Offline
                  beemouse
                  last edited by

                  Hey Tig - I tried your plugin with my actual file, and it totally modifies the image, reducing the thickness of all of the lines by at least half. Do you know why this might be and how I can avoid it?? Am i allowed to upload my file so you can look at it? Perhaps it is too complex for the ImageTrimmer ?


                  zoe caligraphy oil.png

                  1 Reply Last reply Reply Quote 0
                  • Rich O BrienR Offline
                    Rich O Brien Moderator
                    last edited by

                    If there are semi transparent pixels in your image then ImageTrimmer will not see them. Try this version.

                    zoe caligraphy oil.png

                    Download the free D'oh Book for SketchUp πŸ“–

                    1 Reply Last reply Reply Quote 0
                    • TIGT Offline
                      TIG Moderator
                      last edited by

                      Rich is right any pixel with any % transparency is removed, so edit the image, flatten it, add a transparent layer back in, select the white with the magic-wand and delete it - then you have an image with solids and a fully transparent background - finally auto-crop to remove unnecessary transparent pixels as these will add to the process speed.
                      I did it and it took less than a minute to trim and then I removed the material, unhid the edges and pushpulled it into 3d...
                      Please try doing it yourself to see how easy it can be...


                      Capture.PNG


                      zoe caligraphy oil.skp

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • Rich O BrienR Offline
                        Rich O Brien Moderator
                        last edited by

                        @TIG

                        Now bend it πŸ‘

                        Download the free D'oh Book for SketchUp πŸ“–

                        1 Reply Last reply Reply Quote 0
                        • TIGT Offline
                          TIG Moderator
                          last edited by

                          Like this [ShapeBender] - again do it yourself - it's not tool hard... even I can do it πŸ˜’


                          zoe caligraphy oil BENT.PNG


                          zoe caligraphy oil BENT.skp

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • TIGT Offline
                            TIG Moderator
                            last edited by

                            Or perhaps even better...


                            zoe caligraphy oil BENTrescaled.PNG


                            zoe caligraphy oil BENTrescaled.skp

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • Rich O BrienR Offline
                              Rich O Brien Moderator
                              last edited by

                              How did such a small straight piece become so big?

                              Download the free D'oh Book for SketchUp πŸ“–

                              1 Reply Last reply Reply Quote 0
                              • TIGT Offline
                                TIG Moderator
                                last edited by

                                @rich o brien said:

                                How did such a small straight piece become so big?

                                You specify a line and a curve and ShapeBender does its thing.
                                Because it distorts around the curve I decided to scale it by a little under PI to restore its proportions.
                                Unsure of the correct orientation of the 'writing' BUT it's easy to scale -1 in various axes to get it as it ought to be...

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • R Offline
                                  Roger
                                  last edited by

                                  If you use Adobe Illustrator, it has a trace outline tool that will copy the outline of the writing and save it as bezier curves. These can then be exported as dwg files and imported into SU. You can then run the WELD plugin which connects the line segments so you can use push/pull.

                                  http://www.azcreative.com

                                  1 Reply Last reply Reply Quote 0
                                  • B Offline
                                    beemouse
                                    last edited by

                                    You guys are great! I finally managed to trim and pull the image (Thanks Rich, for making a new cleaner image. I tried to clean it up myself but still had problems trimming afterwards!)
                                    (for other newbies like me, I chose yes to 'image stand up', yes to 'flatten' and chose a factor of 1, as it made the least squared edges. Then I selected the image and chose "explode" - otherwise I couldn't seem to get rid of the rectangle around it...). The shapes are still not nice and rounded like yours TIG. How do I get nice smooth, rounded edges?
                                    (for info, there is no correct orientation to the writing...)

                                    As for Shapebender, I downloaded it, out it in the plug-ins folder, then closed and re-opened SU, but keep getting this message : Error Loading File clf_shape_bender_loader.rb
                                    no such file to load -- progressbar.rb
                                    Also - I don't have a "plugin" choice in my toolbar???

                                    HΓ©las Roger, I do not have Illustrator, but work is paying for a three day crash-course in it in September!

                                    1 Reply Last reply Reply Quote 0
                                    • GaieusG Offline
                                      Gaieus
                                      last edited by

                                      @beemouse said:

                                      no such file to load -- progressbar.rb

                                      Here: http://www.smustard.com/script/ProgressBar
                                      Please, always read the plugin installation instructions carefully. Many plugins require additional ones to be installed, too. Also, some plugins are not in the Plugins menu but elsewhere (Tools, Draw, File etc.)

                                      Gai...

                                      1 Reply Last reply Reply Quote 0
                                      • TIGT Offline
                                        TIG Moderator
                                        last edited by

                                        I used the default smoothing setting of 2.0 - as recommended in ImageTrimmer's notes...
                                        Once you have the component-instance don't explode it, edit it by a double-click, select-all [Ctrl+A], right-click context-menu 'unhide' to show the edges; select just the face get Entity Info [context-menu] and change its material to the default-material; pushpull the face and make it 3d; select-all again and context-menu smooth/soften to leave only the edges <=90 degrees 'solid'.
                                        Draw a line parallel with the x/red axis and the desired 'curve' - I made a circle and split it with a temporary edge and erased bits.
                                        Select the now 3d component-instance and activate ShapeBender [having ensured that it's installed properly πŸ˜‰ ] follow the prompts and wait a second or two until a copy of your object is bent around the curve.
                                        Because the circle's diameter was made at the original object's length [and the 'red' line length] and the curve was almost a circle I then scaled the bent version vertical by the central green-handle by 3 so that its proportions were restored [i.e. just less than PI]. πŸ€“

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • B Offline
                                          beemouse
                                          last edited by

                                          You are all so nice to help me along - I'm so sorry to plague you with these questions, but I do want to understand how to do it myself so I can do it again for future projects... It just takes practice!
                                          Tig, I more or less followed your instructions and everything worked out (though my final product still doesn't look smooth like yours, but the effect I ended up with is kind of cool, so thats OK! My (hopefully last!) question is : I would like the length of the bangle to be 17.5 cm (which was thus the length of the line I drew), bangle to be 5.8cm in diameter, 4.8 in depth, with a 2.5 cm opening. Is there any way to make these exact dimensions? I made a curve just to test, but once the component was bent, the result did not respect the dimensions of the curve (it was much shorter in length). IS there anyway to avoid this happening?

                                          1 Reply Last reply Reply Quote 0
                                          • TIGT Offline
                                            TIG Moderator
                                            last edited by

                                            Take the form you made and Scale it in various aspects to the desired sizes, using unit suffix on the end of what's typed... so were typing in 2 would scale it by 2... typing 2cm sets the size on that scaled axis to be 2cm...
                                            You could always try adjusting the radius of the circle/gap to be near the requirements and then scale vertically to be ~3 x diameter to restore the proportions OR to a fixed 4cm height.
                                            Incidentally your diameter/depth seems a bit disproportionate to the original image ?
                                            I'm not sure all of the numbers can be used exactly as you wish
                                            Note that the selected-curve [arc] needs to be the length not the red-line...

                                            TIG

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement