sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Buffer Lines

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    18 Posts 4 Posters 2.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.
    • R Offline
      ryangarnett
      last edited by

      Thanks Dave. I will have to play with Offset to see what it can do in my situation. Attached are two graphics.


      Input road that change in height, and also have a tilt/slope


      The desire is to have a textured road with the line work with a width

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

        The broken line down the centerline might be a challenge mostly due to the tediousness of the work.

        I wonder if you would get lines that are close enough if you use projection. I'm thinking you would project the roads onto a flat surface if you don't already have them on one, do the appropriate offsets and such and then project the new lines back onto the roads. Even if there's some manual work involved that would be much easier on a flat surface than on the complex surface of the ground.

        Etaoin Shrdlu

        %

        (THERE'S NO PLACE LIKE)

        G28 X0.0 Y0.0 Z0.0

        M30

        %

        1 Reply Last reply Reply Quote 0
        • BoxB Offline
          Box
          last edited by

          It's a long way from my normal usage, but it strikes me perhaps a texture will suit your purpose, and Fredo's Thrupaint should help you apply it to non flat surfaces.

          I may be wrong tho.
          http://sketchucation.com/forums/viewtopic.php?t=44552

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

            Thank you for your suggestions. Dave I will have to play with your option, I can't "picture" it in my head right now. A texture won't work, as there are lanes merging into each other, and the lane widths change. If it were that easy, I would have done that in the beginning.

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

              Ryan, I was only wondering about a texture for the center line. Maybe alternating white and the asphalt color.

              Do you need help with the projection thing?

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

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

                Dave it would be great if you could help. A texture makes sense for the line, I thought you referring to a texture with the asphalt and lines in as one texture.

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

                  Ryan, take a look at the attached and see if that along with the following description would help.

                  From the origin:

                  1. The centerline of your road drawn on the terrain.
                  2. Projected down to a face using Didier Bur's Projection Tools.
                  3. Use Offset to create the limits for the white lines. I only did the outer lines and should have done another on each side for the edge of the asphalt.
                  4. Project the new lines back up to the terrain. You could use Push/Pull and then Intersect Faces for that.

                  Ryan.skp

                  Etaoin Shrdlu

                  %

                  (THERE'S NO PLACE LIKE)

                  G28 X0.0 Y0.0 Z0.0

                  M30

                  %

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

                    Dave thank you, and this looks awesome. So let me ask you this. My highways and ramps are as components (a series of faces) not a terrain. Will this matter?

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

                      Are they just the center lines now?

                      Etaoin Shrdlu

                      %

                      (THERE'S NO PLACE LIKE)

                      G28 X0.0 Y0.0 Z0.0

                      M30

                      %

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

                        They would be the edge lines and a number of center lines, as some parts are three lane highways. I may have a way to do it, I will need to try it out. This is where a straight buffer of lines would be great, even if it had to be extruded 1mm to eliminate the Z buffer fighting.

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

                          I guess I would just look to see what can be done using offset from tools on surface and maybe using the projection as I mentioned. It might be better to intersect the roads with the terrain so you don't have to worry about z-fighting. If your model covers a large area a few millimeters may not be enough to counteract the z-fighting.

                          Etaoin Shrdlu

                          %

                          (THERE'S NO PLACE LIKE)

                          G28 X0.0 Y0.0 Z0.0

                          M30

                          %

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

                            Dave would it be ok if I shared the model with you? To be honest, I am not following what you are recommending. I can't get my head around it in my situation. I have a Dropbox and Google Drive account that I could post it on.

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

                              You can send me small example. I'll try to get some time to look at it.

                              Etaoin Shrdlu

                              %

                              (THERE'S NO PLACE LIKE)

                              G28 X0.0 Y0.0 Z0.0

                              M30

                              %

                              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