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

    [Plugin] FollowMe and keep (v0.04 update 20090210)

    Scheduled Pinned Locked Moved Plugins
    223 Posts 79 Posters 171.9k 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.
    • thomthomT Offline
      thomthom
      last edited by

      Is that either, the only plugin you have installed - or the first file alphabetically in your Plugins folder?

      I'm guessing it's either one of them and that the file is missing require 'sketchup.rb' at the beginning of the file. Check the file in notepad, and insert that line at the top of the file if it's missing.

      Thomas Thomassen β€” SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • M Offline
        Mr. Bill
        last edited by

        thank you thomthom,

        I tried typing that in at a few different beginning locations to no avail, even compared it to one of you .rb.

        Unfortunately operator error (me) is in play. With that said i've uploaded the .rb (is that kosher to do with someone else's .rb? i'm sorry for not knowing protocol here) and if someone was able to determine where that require 'sketchup.rb i would be eternally grateful.
        [mod=:3stt16al]I've removed that FAK.rb attachment, as it's already available in the first post here and such duplicates simply lead to confusion...
        TIG[/mod:3stt16al]

        1 Reply Last reply Reply Quote 0
        • TIGT Offline
          TIG Moderator
          last edited by

          As thomthom said, you are missing a line of code require 'sketchup.rb' which should be on a line on its own at the very beginning of the file [indeed any file using some of sketchup's own methods like file_loaded? should include this line of code].

          So... check the FAK.rb file by opening it in Notepad [or any other plain-text editor, BUT never a wordprocessor!], and insert that simple line at the very top [include it exactly as the red text shown above - with the two enclosing '' around the second part etc].

          On a restart SketchUp should no longer throw up the error...

          Incidentally, if you had more scripts loading the chances are the 'sketchup.rb' would have already been 'required' by one of them, and the error would never have manifested - because once a file has been loaded a later 'require' skips over it... That's probably why this omission in this script has gone unnoticed for so long...

          TIG

          1 Reply Last reply Reply Quote 0
          • M Offline
            Mr. Bill
            last edited by

            Thanks guys, i was missing the enclosing '', but it works now.

            1 Reply Last reply Reply Quote 0
            • cottyC Offline
              cotty
              last edited by

              Example with standard follow-me (c) and FAK (d)...
              Thank you for this plugin!


              wasserrutsche_web.jpg

              my SketchUp gallery

              1 Reply Last reply Reply Quote 0
              • P Offline
                phoeniax
                last edited by

                It does not work now i used it for some time now it does nor do anything

                1 Reply Last reply Reply Quote 0
                • TIGT Offline
                  TIG Moderator
                  last edited by

                  @phoeniax said:

                  It does not work now i used it for some time now it does nor do anything
                  Obviously it does work for many people!
                  If you explain better what doesn't work, what's installed, what's changed etc... we might find what's wrong.

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • JBJDesignsJ Offline
                    JBJDesigns
                    last edited by

                    Thank you wikii! I can really use this tool!!! Jo πŸ˜„

                    ...you send them to school, you give them books, and they eat the pages...

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

                      Hi everyone,

                      I am trying to draw a handrail for "2 quart tournant" stairs ( don't know the word in english πŸ˜• ) since a bit.
                      When i saw this plugin i thought a miracle will come, but actually after i downloaded and installed it...nothing happened !
                      I select my path and my shape and then click on the FAK pluginin my plugin menu, but nothing happens.
                      Where am i wrong ? What do i don't understand ?

                      Please help, this handrail is making me crazy !

                      Thanks !!


                      Handrail stairs.skp

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

                        The profile and path need to be in the same context. Put the profile into the paths group and try again. Your path isn't continuous either, there is a slight problem in the top straight section, easy fix, delete it and redraw it making sure to connect properly with the curve.


                        Hand.JPG

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

                          Thank you soo much for answering so quickly !
                          I tried to do what you explain, but nothing happens again.
                          I may not redraw and fix well the straight sections, but i don't know how to do it properly.
                          Would you help me again ? could you join the .skp file you did for me to see how you did ?
                          Thanks again !

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

                            I even tried to connect the lines with the Weld ruby script, then put the profile into the path context, but it dosen't work.
                            😒

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

                              Here you go.


                              Handrail.skp

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

                                Ohh merci ! But i have SU8 so i can't open your file who is in SU13 πŸ˜•

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

                                  Why does your profile say 2013, I checked that before I saved it.


                                  SU8

                                  1 Reply Last reply Reply Quote 0
                                  • TIGT Offline
                                    TIG Moderator
                                    last edited by

                                    Here is the 'written' version...

                                    Edit the path group...
                                    Double-click on an end segment.
                                    If there is a break in the path not all of it will highlight.
                                    Zoom into the 'gap' between the parts.
                                    In this case it's near the top part and very small...
                                    Either draw in the missing piece, or perhaps more easily - deselect everything, and then use the Move tool to drag and relocated the end of one part snapped onto the other, thereby closing the gap.
                                    Double-click again and everything should highlight.
                                    IF you want a smooth path now 'weld' the selection, and provided there are no branching lines in the path [none in this case], it'll become a single 'curve': this will select with a single pick-click.
                                    Exit the path edit.

                                    That's the path fixed.

                                    Next... did you understand the part about 'same context'.
                                    You only need one profile and that needs to be at one end of the path.
                                    Delete any others?
                                    Now select the profile and Edit>Cut.
                                    Edit the path group again and Edit>Paste In Place to add the profile onto the path end.

                                    Now you should be able to use FAK [FollowMeAndKeep] on the desired path and the profile face as desired... You may need to smooth the result or reverse faces [depends on the profile's initial orientation], or with View > Hidden Geometry ON you may wish to make some of the form's edges solid [NOT smoothed/softened] - so select them and use the Entity Info check-boxes to adjust as desired...

                                    TIG

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

                                      Merci beaucoup beaucoup !
                                      I will try to do exactly what you say.
                                      Hope i'll be smart enough to suceed !

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

                                        And thank you Box, i can open it now!

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

                                          @tig said:

                                          Either draw in the missing piece, or perhaps more easily - deselect everything, and then use the Move tool to drag and relocated the end of one part snapped onto the other, thereby closing the gap.
                                          Double-click again and everything should highlight.

                                          What i don't understand is that when i use the move tool at the end of the straight line on the top, the curved line moves with it, as if it was already snapped. So i don't figure out where is the gap you are talking about

                                          1 Reply Last reply Reply Quote 0
                                          • TIGT Offline
                                            TIG Moderator
                                            last edited by

                                            With nothing selected the Move tool looks for objects below the cursor and offers you the best hit.
                                            That can be a face, edge or the start/end vertex of a edge - hover over the very end and it should display a green-dot, then press+drag that to the nearby other vertex - on the other side of the gap... then the gap is 'healed'...

                                            TIG

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

                                            Advertisement