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

Buffer Lines

Scheduled Pinned Locked Moved SketchUp Discussions
sketchup
18 Posts 4 Posters 2.2k 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.
  • R Offline
    ryangarnett
    last edited by 23 Jul 2013, 22:50

    Hello All,

    Is there a way/tool that will buffer a line? I am making some roadways and bridges and I would like to put in the painted lines. My thoughts were to draw in lines and then buffer them so they were polygons, but I can't seem to find a way or a tool that will buff a line.

    Any help would be appreciated,

    Thanks...

    1 Reply Last reply Reply Quote 0
    • M Offline
      mitcorb
      last edited by 24 Jul 2013, 02:26

      I have never seen the term buffer or buff used this way before. However, if I understand your description, maybe TIGs 2d tools has linestyles like road stripes?

      I take the slow, deliberate approach in my aimless wandering.

      1 Reply Last reply Reply Quote 0
      • R Offline
        ryangarnett
        last edited by 24 Jul 2013, 15:39

        A buffer is a very common term in GIS, architecture, and landscape architecture. A buffer is a when you provided a uniform distance around an object, like a riparian zone (ie: 30 meters from a stream). Thank you for pointing me to the tool, I will take a look at it.

        1 Reply Last reply Reply Quote 0
        • R Offline
          ryangarnett
          last edited by 24 Jul 2013, 16:23

          The tool is really cool, but I don't think it will work, as my roads have elevation and slopes. They are not a flat 2D surface.

          1 Reply Last reply Reply Quote 0
          • D Offline
            Dave R
            last edited by 24 Jul 2013, 19:55

            It sounds like maybe you need something like Offset that would work on 3D curves/polylines. Is that correct? I wonder if Offset in Tools on Surface might work for you.

            Maybe you could show an example of what you're starting with and what you want to finish with? We're all really visual folks, you know. Pictures help a lot.

            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 24 Jul 2013, 20:18

              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
              • D Offline
                Dave R
                last edited by 24 Jul 2013, 20:23

                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
                • B Offline
                  Box
                  last edited by 24 Jul 2013, 21:02

                  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 24 Jul 2013, 21:09

                    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
                    • D Offline
                      Dave R
                      last edited by 24 Jul 2013, 21:39

                      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 24 Jul 2013, 21:49

                        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
                        • D Offline
                          Dave R
                          last edited by 24 Jul 2013, 22:15

                          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 24 Jul 2013, 22:34

                            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
                            • D Offline
                              Dave R
                              last edited by 25 Jul 2013, 00:17

                              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 25 Jul 2013, 00:55

                                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
                                • D Offline
                                  Dave R
                                  last edited by 25 Jul 2013, 01:06

                                  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 25 Jul 2013, 05:06

                                    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
                                    • D Offline
                                      Dave R
                                      last edited by 25 Jul 2013, 11:21

                                      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
                                      1 / 1
                                      • First post
                                        1/18
                                        Last post
                                      Buy SketchPlus
                                      Buy SUbD
                                      Buy WrapR
                                      Buy eBook
                                      Buy Modelur
                                      Buy Vertex Tools
                                      Buy SketchCuisine
                                      Buy FormFonts

                                      Advertisement