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

    Difficulty with image wrapping

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    6 Posts 4 Posters 1.2k Views 4 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.
    • G Offline
      Gordonov
      last edited by

      I've researched this topic quite a bit and have tried many different ways to do it but am slowly going nuts so I thought I'd reach out for help.

      I'm trying to wrap a 2D image onto the inside of a 3D cylinder.
      So I've done the usual steps of:

      • Creating a rectangle of the same size as the interior of the cylinder
        Importing the image onto the rectangle
        Repositioning it within the rectangle
        Sampling it then applied it to the inside of the cylinder

      But it just isn't working. It seems to apply half of the image to one side of the cylinder then duplicates it on the other side (so I'm not getting the full image on it).

      I've also tried revealing hidden geometry and applying the image step by step, but it seems like every time I sample and attempt to apply it to the next segment, the positioning goes completely out of whack for each subsequent segment.

      I'm tearing my hair out here trying to figure it out. I've attached the file:
      Sketchup file
      and the 2D image:
      2D image

      I'm trying to get the image to go from the top of the left-side step and wrap around to the top of the right-side step.

      Any help is greatly appreciated.

      1 Reply Last reply Reply Quote 0
      • HornOxxH Offline
        HornOxx
        last edited by

        Hi
        could you please save down your skp to v16 or v15 since not all people here run the newest SkUp πŸ˜‰

        never trust a skinny cook

        1 Reply Last reply Reply Quote 0
        • JQLJ Offline
          JQL
          last edited by

          Hi, I didn't download ypur file but it looks like you are using a projected texture. That's what happens to an exploded image, it becomes a tecture projected into a face.

          Just right click the face with the image and go to texture - position - untick projected. After this you can sample it and it should wrap

          www.casca.pt
          Visit us on facebook!

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

            Projected is not the right choice for the texture in this case. Expose the hidden geometry so you can work on a single face and adjust the position of the texture.

            Screenshot - 1_15_2018 , 4_24_11 AM.png
            Screenshot - 1_15_2018 , 4_24_42 AM.png

            Then sample the texture on that face and apply it to the other faces.
            Screenshot - 1_15_2018 , 4_44_13 AM.png

            You didn't get the texture sized correctly so it won't make it all the way around the tube. The tube isn't drawn very well anyway. You dragged out the radii for the circles you started with at random angles. This is poor practice. You should always drag out the radius on axis so the vertices align.

            It looks like you are working in SketchUp Free, not in SketchUp 2017 Make as your profile implies. Currently there's more control over texture position in the desktop version of SketchUp.

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

            1 Reply Last reply Reply Quote 0
            • G Offline
              Gordonov
              last edited by

              Thanks for the help all - as requested here is a 2015 file version below:
              Tunnel Test v15.skp

              So Dave I tried that a few times, going like this:

              Selecting hidden geometry and copying the image:

              https://preview.ibb.co/kmgtrm/ex2.png

              Repositioning the image

              https://preview.ibb.co/bJyv46/ex3.png

              Sampling and filling around and I end up with this (still not aligned like yours is)

              https://preview.ibb.co/hrJv46/ex6.png

              When I check the adjacent segments, why do so many duplicates appear?

              https://image.ibb.co/nFb4xR/ex4.png

              You mentioned image sizing - I've tried resizing it (doubling, halving) and it still doesn't seem to matter, I can't duplicate what you did. Also I'm not clear on why the image isn't the correct size...the arc length of the top of the tunnel is 14153mm and 600000mm long, so I thought making a rectangle 14153mm W x 600000mm long and stretching the image to fit that shape would be a logical thing to do?

              Do I have to reposition each individual segment?

              I'm clearly still missing something and it doesn't seem like anything big but it just eludes me.

              Thanks again for the help

              1 Reply Last reply Reply Quote 0
              • HornOxxH Offline
                HornOxx
                last edited by

                Hi
                As Dave said, I cleaned (redid) the geometry first (using the axes for the circles or arcs), then clarified the dimension of the inner arc to adjust the texture size exactly to this dimension, assuming that's your intention (?). In addition, I separated the outer concrete shell from the inner (to become painted) surface to get easier access to this face. For texturing I used Fredo6Β΄s ThruPaint plugin then.
                To make this entire procedure much easier, this can happen at a short section instead of the whole length of the tunnel πŸ˜„


                Tunnel Test HX.jpg


                Tunnel Test HX.skp

                never trust a skinny cook

                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