sketchucation logo sketchucation
    • Login
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    PNG transparency with SU styles

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    16 Posts 5 Posters 505 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.
    • pbacotP Offline
      pbacot
      last edited by

      Yes Joel, I get that too. Haven't seen a fix.

      MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

      1 Reply Last reply Reply Quote 0
      • JoelM3DMJ Offline
        JoelM3DM
        last edited by

        Thanks. One trick is to cut away all the border from a jpg and turn off transparency. That is what I want to do ... but the problem is cutting out the image from the background. It is possible and I have seen it done. Does anyone know how? - Joel

        || Joel Metzger 3D Modeling
        || story-shorts.net - Animation with SU

        1 Reply Last reply Reply Quote 0
        • Chris FullmerC Offline
          Chris Fullmer
          last edited by

          Yeah, you can use a software like illustrator to general lines around an image that is nicely cut out like that. Then export that linework as dwg linework and there you go, you have the shape all cut out with SU lines. Its not super simple and it takes time though, but its probably faster than drawing the linework by hand in SU.

          I thought TIG wrote a plugin to do this automatically, but I don't see it. I might have been thinking of his white to transparent plugin.

          Rick made a plugin for this. Its not free, but not terribly expensive if you don't have hundreds to do. You install the plugin and then he charges for each cutout you do. you have send the png to his server and it processes and sends it back very quickly. Might be worth looking into:

          favicon

          (www.smustard.com)

          Lately you've been tan, suspicious for the winter.
          All my Plugins I've written

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

            TIG's Image Trimmer: http://sketchucation.com/forums/viewtopic.php?t=33445

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

            1 Reply Last reply Reply Quote 0
            • Chris FullmerC Offline
              Chris Fullmer
              last edited by

              Perfect, thanks Dave!

              Lately you've been tan, suspicious for the winter.
              All my Plugins I've written

              1 Reply Last reply Reply Quote 0
              • JoelM3DMJ Offline
                JoelM3DM
                last edited by

                I'm not seeing it work. I select the image, choose Image Trimmer from Tools, but it does not trim off the transparent border pixels.

                || Joel Metzger 3D Modeling
                || story-shorts.net - Animation with SU

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

                  Worked for me using TIG's Image Trimmer. try running the plugin with the Ruby console open and see if you get any messages. Go back to the thread and check to make sure you've got everything set up correctly.

                  mr t.png


                  Mr Transparent (1).skp

                  Etaoin Shrdlu

                  %

                  (THERE'S NO PLACE LIKE)

                  G28 X0.0 Y0.0 Z0.0

                  M30

                  %

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

                    This is actually a known bug ever since these sketchy styles were introduced in version 6. (Some older members may remember Tomsdesk's plant packs he has never been able to release due to this).

                    So indeed the only solution is to cut the components around and forget image transparency when sketchy styles are used.

                    Gai...

                    1 Reply Last reply Reply Quote 0
                    • JoelM3DMJ Offline
                      JoelM3DM
                      last edited by

                      Hmmm, I am getting a greyed out image and no trimming. I have all the files parked in their correct places.


                      Mr Grey.jpg

                      || Joel Metzger 3D Modeling
                      || story-shorts.net - Animation with SU

                      1 Reply Last reply Reply Quote 0
                      • Chris FullmerC Offline
                        Chris Fullmer
                        last edited by

                        Did you open the ruby console and run the plugin? If so, please copy and paste errors (if any) back here to the forum.

                        Also, it did run the outline and trimming just fine. See how the sketchy lines in the background no longer overlap over the top of your character? So the trimming worked great. Now you just have to figure out why the .png is getting lost.

                        Chris

                        Lately you've been tan, suspicious for the winter.
                        All my Plugins I've written

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

                          The PNG isn't lost. It just isn't being displayed.

                          Try setting the face style to Shaded With Texture. πŸ˜’

                          And it is indeed trimmed as Chris says The blue lines are the bounding box of the resulting component.

                          Etaoin Shrdlu

                          %

                          (THERE'S NO PLACE LIKE)

                          G28 X0.0 Y0.0 Z0.0

                          M30

                          %

                          1 Reply Last reply Reply Quote 0
                          • Chris FullmerC Offline
                            Chris Fullmer
                            last edited by

                            I'm not sure how TIG's plugin works. Have you tried just putting them all into a model and selecting them all and running his plugin? Is that possibly a workflow that his plugin allows?

                            Lately you've been tan, suspicious for the winter.
                            All my Plugins I've written

                            1 Reply Last reply Reply Quote 0
                            • JoelM3DMJ Offline
                              JoelM3DM
                              last edited by

                              Ahh, Shaded with Texture is the answer! Silly me. Thank you.

                              || Joel Metzger 3D Modeling
                              || story-shorts.net - Animation with SU

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

                              Advertisement