• Login
sketchucation logo sketchucation
  • Login
πŸ”Œ Quick Selection | Try Didier Bur's reworked classic extension that supercharges selections in SketchUp Download

Is it possible to offset a 3d spline?

Scheduled Pinned Locked Moved Developers' Forum
19 Posts 5 Posters 3.1k 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.
  • C Offline
    Chris Fullmer
    last edited by 26 May 2009, 15:31

    I think the closest thing is TIG's grow script. One of the problems with the idea is that a single point doesn't have such thing as "perpendicular" in 3d space. So those endpoints are difficult to solve.

    The tools on surface work so well because he isn't actually working on 3d space. His shapes are confined to the 2d of the faces they are working on, so there is a 3d constraint on them, making it possible to determine where they should go.

    Something like what your asking might be possible to make, but the results would be VERY unreliable. Sometimes it might do what you want, and sometimes it won't. That's my take.

    Chris

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

    1 Reply Last reply Reply Quote 0
    • P Offline
      pr0
      last edited by 26 May 2009, 16:13

      i know, what i meant to say a perpendicular line to each edge preceding the vertice that way it isn't constrained to 3d space. its like taking the follow me tool and using a square to follow the a constrained geometry - i.e. a square. The distance of the height and width of the square would determine where the offset line would go. Maybe like this? (p.s. the determining factor i used as the follow me constraint was your perpendicular face tool πŸ˜„, which is really great)


      3d_spline_example3.jpg

      1 Reply Last reply Reply Quote 0
      • P Offline
        pr0
        last edited by 26 May 2009, 17:08

        Hey Chris, I just wanted to thank you for your help either way. Your tools are more than great, and i just wanted to show you I really appreciate your advice. Thanks a lot man.

        -Sam

        1 Reply Last reply Reply Quote 0
        • E Offline
          Ecuadorian
          last edited by 26 May 2009, 17:45

          You could use "Follow Me And Keep" to extrude a rectangular profile and then delete all faces of the resulting object.

          To delete all faces and keep only edges, change to wireframe mode, select everything with a marquee, cut it, return to shaded mode and paste it.

          Here's a skippy showing the "before" and "after". If this is what you want to achieve, let me know and I'll explain it in more detail.


          extrude_3d.skp

          -Miguel Lescano
          Subscribe to my house plans YouTube channel! (30K+ subs)

          1 Reply Last reply Reply Quote 0
          • P Offline
            pr0
            last edited by 26 May 2009, 17:56

            Yep, thats what i did in that image that i posted before the last one. πŸ˜„. I was just wondering if this can be automated.

            1 Reply Last reply Reply Quote 0
            • C Offline
              Chris Fullmer
              last edited by 26 May 2009, 18:22

              Yeah, I have a feeling that the follow me and keep method might be the best way to do that. Essentially the offset you are suggesting is one that ignores the z or blue axis. So when you offset it on the blue, there is no change. Its just like a copy. But on the red and green it expands like a true offset. I think you'll find in your example that the upper offset is no different than the original line.

              Its not a bad idea, and with webdialogs it would be possible for the user to indicate which axis to ignore, making it possible to be more specific about how to get to the desired offset. I keep finding that webdialogs are the solution to lots of my UI issues. I need to learn those so it would be possible to create a script like this that lets the user supply more information about how they want the script to act.

              Maybe Webdialogs are my next project.....that means learning me some javascript.

              Chris

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

              1 Reply Last reply Reply Quote 0
              • P Offline
                pr0
                last edited by 26 May 2009, 18:54

                There is also a very interesting way to be able to control it intuitively without a web based dialogue. I don't know if this is possible if you were to create a small resizable square along the nearest vertex you click to offset the line and intuitively resize it or snap an edge to constrain the 'follow me' function and then simply offset the distance of that particular box along its edges. I'm always bad at explaining things, maybe i can show it in a picture once more. lol πŸ˜„


                example 4.png

                1 Reply Last reply Reply Quote 0
                • P Offline
                  pr0
                  last edited by 26 May 2009, 18:57

                  Sorry guys, let me repost it with the snaps πŸ˜„.

                  -Sam


                  example 4.png

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    pr0
                    last edited by 26 May 2009, 19:06

                    Actually now that i think about it, it could be a new function for lathe - given if it can take every custom angled edge on the area that it follows and uses this offset tool to follow with for the lathe tool. πŸ˜„ Don't mind me guys, i'm just dreaming. lol πŸ˜‰

                    -Sam


                    example 5.png

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      RickW
                      last edited by 27 May 2009, 22:44

                      You could try offset.rb

                      While I wrote it to provide standard "flat" offset capability, I noticed it does perform 3d offsets. It may not be exactly what you want, but it could form the basis for a 3d offset.

                      RickW
                      [www.smustard.com](http://www.smustard.com)

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

                      Advertisement