• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Label (png file) on a round cylinder surface

Scheduled Pinned Locked Moved Newbie Forum
sketchup
13 Posts 2 Posters 392 Views
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.
  • S Offline
    steveyeong
    last edited by 3 Mar 2014, 09:53

    can anyone alight me , how can i attach a image file to a round cylinder surface ?
    i have no problem doing that on a flat surface. still figuring out how to get the image to blend into a round surface.

    apprecial your advice.

    1 Reply Last reply Reply Quote 0
    • D Offline
      Dave R
      last edited by 3 Mar 2014, 10:41

      map.png

      Something like this? In this case I just imported the image as a material and applied it to the rectangle. Then I applied it to the cylinder as you normally would with the Paint Bucket tool.

      Can you show an example of what you're trying to do and the results you're getting?

      Edited to add: I drew the cylinder first. Then I selected the circular edge and looked at Entity Info to find out how long it is. After that I drew the rectangle with its long side the same length as the circle. When I applied the material to the rectangle, I clicked at the lower left corner and dragged over to the right edge, not the corner or top. This resulted in the material being created at the proper size to wrap once around the cylinder.

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

      1 Reply Last reply Reply Quote 0
      • S Offline
        steveyeong
        last edited by 3 Mar 2014, 12:57

        Hi dave ,

        there are the e.g.:

        [3dwh]/Users/steveyeong/Documents/sketchup file/eg- 1.skp[/3dwh]

        not sure if you can read the 3d file, as i not sure whether how to upload a sketch up file.

        1 Reply Last reply Reply Quote 0
        • D Offline
          Dave R
          last edited by 3 Mar 2014, 13:00

          That link is no good. Click on Upload attachment just below the post window. Then select and upload the SKP.

          Etaoin Shrdlu

          %

          (THERE'S NO PLACE LIKE)

          G28 X0.0 Y0.0 Z0.0

          M30

          %

          1 Reply Last reply Reply Quote 0
          • S Offline
            steveyeong
            last edited by 3 Mar 2014, 13:01

            i need the cylinder to be transparent , the logo to be png file, not 100% wrap around, just label on certain part.

            any idea how can i do that with the e.g. ?

            thanks Dave


            eg 1

            1 Reply Last reply Reply Quote 0
            • D Offline
              Dave R
              last edited by 3 Mar 2014, 13:07

              I was just making this while waiting for your file. Draw an outline on the cylinder the size of the label and apply the material to that area only. You can then hide the edges around the label if you don't want them to show.

              map.png

              First you'll need to explode your label component so you get the image as a material.

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

              1 Reply Last reply Reply Quote 0
              • D Offline
                Dave R
                last edited by 3 Mar 2014, 13:12

                Here's your model.

                I added a little color to the transparent material.

                eg- 1.png


                eg- 1.skp

                Etaoin Shrdlu

                %

                (THERE'S NO PLACE LIKE)

                G28 X0.0 Y0.0 Z0.0

                M30

                %

                1 Reply Last reply Reply Quote 0
                • S Offline
                  steveyeong
                  last edited by 3 Mar 2014, 13:24

                  @dave r said:

                  I was just making this while waiting for your file. Draw an outline on the cylinder the size of the label and apply the material to that area only. You can then hide the edges around the label if you don't want them to show.

                  [attachment=0:23cb5a9p]<!-- ia0 -->map.png<!-- ia0 -->[/attachment:23cb5a9p]

                  First you'll need to explode your label component so you get the image as a material.

                  Hi dave,
                  YES , this is what i need. do you think you can give detail, step by step on how to do that ?
                  drawing a rectangle on the cylinder surface ? can you explain how to do that ?

                  thanks dave.

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    Dave R
                    last edited by 3 Mar 2014, 13:35

                    I just copied the top outside edge of the cylinder down with Move/Copy to make the top and bottom limits of the label. Then I drew vertical lines for the left and right edges of the label.

                    For the one with the map, I laid out the sides of the label on the cylinder first and determined the required width by selecting the bottom edge of the label and looking at Entity Info as I already described. Then I imported the image as texture (not an image like you did) and applied it to a rectangle also as I described above.

                    For yours I set the top and bottom limits of the label to match the height of your image. Then I exploded your image to make a texture. I applied the texture to the surface between the top and bottom edges. this makes the texture repeat a number of times around the cylinder. I drew vertical lines on either side of a single copy of it, deleted the edges I didn't need and hid the ones around the label. If you turn on Hidden Geometry, you'll be able to see the edges of the label.

                    Etaoin Shrdlu

                    %

                    (THERE'S NO PLACE LIKE)

                    G28 X0.0 Y0.0 Z0.0

                    M30

                    %

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      steveyeong
                      last edited by 3 Mar 2014, 14:38

                      @dave r said:

                      I just copied the top outside edge of the cylinder down with Move/Copy to make the top and bottom limits of the label. Then I drew vertical lines for the left and right edges of the label.

                      For the one with the map, I laid out the sides of the label on the cylinder first and determined the required width by selecting the bottom edge of the label and looking at Entity Info as I already described. Then I imported the image as texture (not an image like you did) and applied it to a rectangle also as I described above.

                      For yours I set the top and bottom limits of the label to match the height of your image. Then I exploded your image to make a texture. I applied the texture to the surface between the top and bottom edges. this makes the texture repeat a number of times around the cylinder. I drew vertical lines on either side of a single copy of it, deleted the edges I didn't need and hid the ones around the label. If you turn on Hidden Geometry, you'll be able to see the edges of the label.

                      hi dave, pardon me i still can't get it.

                      1. set the top and bottom limits of the label to match the height of your image.
                        how to do that ?
                        2)Then I exploded your image to make a texture.
                        i got this.
                        3)applied the texture to the surface between the top and bottom edges.
                        to no1 ?

                      apprecial your help..

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        Dave R
                        last edited by 3 Mar 2014, 14:45

                        I measured the dimensions of your label component and found it is 7' 11" tall. Then I:

                        -Selected the top edge of the cylinder.
                        -Got the Move tool and hit Ctrl (or Option on the Mac) to invoke the copy function.
                        -Moved a copy of the selected edge down a bit.
                        -Made another copy 7' 11" below the first copy.

                        This resulted in a band around the cylinder that matched the height of the label.

                        Etaoin Shrdlu

                        %

                        (THERE'S NO PLACE LIKE)

                        G28 X0.0 Y0.0 Z0.0

                        M30

                        %

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          steveyeong
                          last edited by 5 Mar 2014, 07:07

                          Hi dave, just want to say THANK YOU!

                          now i manage to get it work. the only set back i notice when apply texture image to a surface, even a png file, there is still rectangular line around the label which i can removed. it quite distracting after a render image.http://sketchucation.com/forums/download/file.php?id=116549%26amp;mode=view/rokbox.jpg

                          like you can see the rectangular line around the ''steve yeong".

                          is there a way to remove it ? i believed that is the face created.

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            Dave R
                            last edited by 5 Mar 2014, 10:26

                            That rectangle you see is because the trasparent material applied arround the label is a different color than the transparency of the label. Make them the same and you shouldn't see the edges.

                            Etaoin Shrdlu

                            %

                            (THERE'S NO PLACE LIKE)

                            G28 X0.0 Y0.0 Z0.0

                            M30

                            %

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

                            Advertisement