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

    [Plugin] follow me rotate

    Scheduled Pinned Locked Moved Plugins
    211 Posts 79 Posters 235.2k Views 79 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.
    • J Offline
      Jim57
      last edited by

      I love what this does!

      While it worked fine for me at first, now I'm having troubles. If anyone has fixes, let me know, I need this script!

      -sometimes the script reverses the follow line. It starts from one side, but when I select the script it flips to the other.

      -sometimes the script does not work, even after welding my follow lines religiously

      -sometimes all the script does is place a 2" long construction line on the underside of the face, one segment's length away from the face.

      -I just tried again. The first time, it didn't work. The second try, it placed the 2" construction line on the underside and reversed the path. The third try, it worked great, with the path coming from an offcenter construction point. The following five times, it shifted the path from the construction line to the center of the face and, other than that, worked.

      -not a bug, but a feature request: as I posted earlier, scaling and rotation are per segment of the follow path, not over the whole length. It might be more intuitive and controllable if they were measured over the whole path.

      Again I will repeat, I always weld my follow lines or use unexploded curves. I'm using FAR on a Mac and some posters feel it is Win only— Is this the issue? SU seems buggier as I use FAR, though this may be coincidence, or confusing the cause and effect.

      Thanks for any assistance,

      Jim

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim57
        last edited by

        I checked the Ruby Console at some point during my last experiments, and here's what I was getting:

        @unknownuser said:

        fError: #<ArgumentError: Cannot create unit vector from zero length vector>
        (eval):340:in intersect_line_plane' (eval):340:in wikii_push_pull'
        (eval):339:in collect' (eval):339:in wikii_push_pull'
        (eval):319:in each_index' (eval):319:in wikii_push_pull'
        (eval):141
        (eval):340:in `call'
        (eval):340
        Error: #<TypeError: can't convert Symbol into String>

        I don't seem to be able to reset the Console without quitting and restarting Sketchup, so it's hard to tell at what stage things were going wrong.

        1 Reply Last reply Reply Quote 0
        • S Offline
          sepo
          last edited by

          This video does not work for me. I have only black screen.

          1 Reply Last reply Reply Quote 0
          • C Offline
            Click Draw
            last edited by

            Hi Miguel,
            Great tutorial. I noticed some quick shots of your tools which don't look familiar. Would you mind posting a screen shot of your tools so I can see what ones you have that I don't?
            Thanks,
            Jeff

            Have I mentioned how much of a laugh I get out of some of the Signatures on here!

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

              "...in response to this tutorial found on the web:"

              I wish I could see your video. I've tried the plugin but it doesn't yield the same thing I showed in the tutorial. I did the tutorial without the plugin because of that and because I was asked to demonstrate a manual way of drawing that.

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

              1 Reply Last reply Reply Quote 0
              • Jean-FrancoJ Offline
                Jean-Franco
                last edited by

                +1 with Sepo !

                Jean-Franco

                1 Reply Last reply Reply Quote 0
                • E Offline
                  Ecuadorian
                  last edited by

                  Hello, Dave. I'm sorry, I'll be more careful with the wording in the future.

                  I liked your tutorial because it is actually the best way to do it in SketchUp without having to install any additional scripts.

                  It's just that I really think that Follow Me Rotate is an extremely cool script thas not everybody is aware of, so I wanted to share with your readers an even faster way to do the same balaustre.

                  Here's the Youtube link for those who can't see it embedded: http://www.youtube.com/watch?v=0eBIQC2Cgps
                  (Weird, it's working fine in Google Chrome...)

                  And sorry for my bad English, I learned it through Pink Floyd songs...

                  -------------------UPDATE--------------
                  Video does not work in Internet Explorer 6, but works fine in Firefox 2 and Google Chrome.

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

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    Ecuadorian
                    last edited by

                    Thank you, very much, wikii. This tool is extremely useful and solves one of my main gripes about SketchUp.

                    I created a video tutorial for twisted balaustres/legs...

                    [flash=425,344:10ax4kg1]http://www.youtube.com/v/0eBIQC2Cgps&hl=en&fs=1file=http://www.youtube.com/watch?v=0eBIQC2Cgps[/flash:10ax4kg1]

                    ...in response to this tutorial found on the web:
                    http://finewoodworking.taunton.com/item/6095/doin-the-twist

                    I hope you see the BIG difference your script makes. Without Follow Me Rotate, it is like being in the stone age!

                    By the way, I discovered that if I don't deselect the line after dividing it and make sure it has been properly divided, sometimes Follow Me Rotate will extrude in the opposite direction.

                    Thank you again.
                    And thanks to Simon Bonnet for the tip on posting Youtube videos here.

                    ---------------------18:08 31/01/2009 UPDATE--------------
                    Here's the Youtube link for those who can't see it embedded:
                    http://www.youtube.com/watch?v=0eBIQC2Cgps
                    I've just discovered that the video shows only a black screen in Internet Explorer 6, but works fine in Firefox 2 and Google Chrome.

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

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

                      I appreciate you wanting to show the readers a faster way but you need to provide the links for the plugins or they're not in any better position.

                      Etaoin Shrdlu

                      %

                      (THERE'S NO PLACE LIKE)

                      G28 X0.0 Y0.0 Z0.0

                      M30

                      %

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        Ecuadorian
                        last edited by

                        Sure, I posted the links in the Youtube video description. click on "(more info)" to show it. I'll copy the description here:

                        "
                        Today I read this tutorial for doing a "twisted leg": http://finewoodworking.taunton.com/item/6095/doin-the-twist
                        But I remembered that in the SketchUp Community Forums there are free tools that can do the same thing in a snap. So I decided to record a video tutorial.

                        You'll need the SCF Power Toolbar, which includes the "Join edges" tool by Rick Wilson:
                        http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=14770&st=0&sk=t&sd=a&hilit=powertoolbar
                        And the "Follow me rotate" script, by wikii:
                        http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=13014&st=0&sk=t&sd=a

                        In this video I did a counter-clockwise twist. To do it clockwise, simple input a negative value in the "Rotate" field of the Follow And Rotate script.

                        Remember to check that the line was properly divided before using the "Join Edges" tool; if you don't, the Follow And Rotate tool might not work properly.

                        Tutorial created with Camstudio, a free and open-source excellent little piece of software, and subtitles added in Windows Movie Maker.
                        "

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

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

                          Now I see. It's all hidden normally.

                          Thanks.

                          Etaoin Shrdlu

                          %

                          (THERE'S NO PLACE LIKE)

                          G28 X0.0 Y0.0 Z0.0

                          M30

                          %

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            sorgesu
                            last edited by

                            I thought this plug-in would be useful in finally solving the missing "sweep" tool, so I tried it. More specifically, I showed this one before, trying to make a squared handrail on a spiral staircase. Using follow me doesn't work because it curves the form so that the top isn't parallel with the ground. For this spiral stair case the steps are rotated 30 degrees so I tried the ruby with a 30 degree input. Totally didn't work. I tried various different inputs and I finally found one that visually, was "good enough". The input was -3 degrees.
                            Can you take a look and let me know if there is a better number and if I there should be some relationship that can always be used to figure out what angle to use?
                            Even if not, this saves just a ton of time as is and it is quite adequate for this job too! Thank so much.


                            SpiralStairRail.skp

                            Susan Sorger
                            Former Seller Hand Rendered Entourage
                            Former Canadian Authorized Training Centre, SketchUp

                            1 Reply Last reply Reply Quote 0
                            • W Offline
                              wikii
                              last edited by

                              Another script still in development can do followme and keep the profile from rolling.
                              Left part of the first image is followme ,right part is follow_me_and_keep .
                              In the second image ,the Long Corridor (exclude columns) is built by follow_me_and_keep after one time running.


                              1.jpg


                              2.jpg

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                sorgesu
                                last edited by

                                Fantastic! Can't wait.

                                Susan Sorger
                                Former Seller Hand Rendered Entourage
                                Former Canadian Authorized Training Centre, SketchUp

                                1 Reply Last reply Reply Quote 0
                                • GaieusG Offline
                                  Gaieus
                                  last edited by

                                  👍
                                  Sounds fantastic! That would be something needed so long!

                                  Gai...

                                  1 Reply Last reply Reply Quote 0
                                  • E Offline
                                    Ecuadorian
                                    last edited by

                                    Follow_me_and_keep should be a big hit among fans of the Great Wall, and will certainly help a lot when modeling roads. Keep up the excellent work, wikii!

                                    Mrs. Susan, for your specific case, the screw1_5.rb script works well, too. Unlike FollowMeRotate, with screw1_5.rb you have to select both the face and its borders, and it only works around the blue axis, so before using it you have to center your stair in the origin. You can find it here:

                                    http://www.crai.archi.fr/RubyLibraryDepot/Ruby/EM/screw1_5.rb

                                    The "first end" and "second end" that you are required to enter are just required to determine a differential in height, so, irrespective of where you click, the shape will always be created around the blue axis.

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

                                    1 Reply Last reply Reply Quote 0
                                    • N Offline
                                      notareal
                                      last edited by

                                      @wikii said:

                                      Another script still in development can do followme and keep the profile from rolling.
                                      Left part of the first image is followme ,right part is follow_me_and_keep .
                                      In the second image ,the Long Corridor (exclude columns) is built by follow_me_and_keep after one time running.

                                      A must have tool!

                                      Welcome to try [Thea Render](http://www.thearender.com/), Thea support | [kerkythea.net](http://www.kerkythea.net/) -team member

                                      1 Reply Last reply Reply Quote 0
                                      • boofredlayB Offline
                                        boofredlay
                                        last edited by

                                        I am looking forward to it.

                                        http://www.coroflot.com/boofredlay

                                        1 Reply Last reply Reply Quote 0
                                        • E Offline
                                          Ecuadorian
                                          last edited by

                                          Until follow_me_and_keep is ready (which will save all these following steps), here's a workaround:

                                          • Go to Camera > Standard Views > Left

                                          • Draw your profile within the plane formed by the positive blue and green axis, touching the origin.

                                          • Erase the face leaving the lines, and make it a component.

                                          • Select your profile (it must be a curve or a polygon, if it isn't, first join the edges with the join tool by Rick Wilson in the SCF Power Toolbar).

                                          • Use the "copy along distance" button on the SCF Power Toolbar (also a script by Rick Wilson) and play with the distance until you're satisfied.

                                          • Select all instances of the component and explode them. You can use Rick Wilson's script "select all instances": http://www.smustard.com/script/Instances

                                          • Click on the "configuration" button of the "Skin" script by Darrel to "By order". Leave the other options blank.

                                          • Execute the "skin" command and keep pressing "Enter" like crazy until the full object is done.

                                          • Add soften/smooth edges to your taste.

                                          You can download the "skin" script from this post:
                                          http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=1306&st=0&sk=t&sd=a&hilit=skin&start=105#p101209
                                          And you can browse the rest of that thread for the latest version of skin.rb, too, if you want...

                                          Yeah, it's a lot of extra work, that's why all await for follow_me_and_keep.

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

                                          1 Reply Last reply Reply Quote 0
                                          • david_hD Offline
                                            david_h
                                            last edited by

                                            This is pretty fun to play with.


                                            20090317161553_34s.jpg

                                            If I make it look easy...It is probably easy

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 6 / 11
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement