• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

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

Scheduled Pinned Locked Moved Plugins
223 Posts 79 Posters 171.8k 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.
  • M Offline
    Mr. Bill
    last edited by 5 Nov 2012, 21:12

    I have had trouble getting this ruby to load in SU8 pro, which i see a few others have previously screamed/posted. I have used thomthom's installer plugin as well as just placing the .rb in the appropriate plugin folder. I've had success loading .rbz, but not .rb in general. This .rb is just particularly needed at the moment. Both come back with the error below. Input appreciated.

    Thanks,


    Untitled-1.jpg

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 5 Nov 2012, 21:20

      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 5 Nov 2012, 21:38

        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
        • T Offline
          TIG Moderator
          last edited by 6 Nov 2012, 10:33

          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 6 Nov 2012, 17:01

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

            1 Reply Last reply Reply Quote 0
            • C Offline
              cotty
              last edited by 24 Dec 2012, 09:30

              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 14 Mar 2013, 14:29

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

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TIG Moderator
                  last edited by 14 Mar 2013, 18:47

                  @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
                  • J Offline
                    JBJDesigns
                    last edited by 15 May 2013, 20:02

                    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 1 Oct 2013, 13:36

                      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
                      • B Offline
                        Box
                        last edited by 1 Oct 2013, 15:24

                        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 2 Oct 2013, 08:26

                          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 2 Oct 2013, 09:02

                            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
                            • B Offline
                              Box
                              last edited by 2 Oct 2013, 09:23

                              Here you go.


                              Handrail.skp

                              1 Reply Last reply Reply Quote 0
                              • N Offline
                                News
                                last edited by 2 Oct 2013, 09:27

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

                                1 Reply Last reply Reply Quote 0
                                • B Offline
                                  Box
                                  last edited by 2 Oct 2013, 09:29

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


                                  SU8

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    TIG Moderator
                                    last edited by 2 Oct 2013, 09:34

                                    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 2 Oct 2013, 09:41

                                      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 2 Oct 2013, 09:49

                                        And thank you Box, i can open it now!

                                        1 Reply Last reply Reply Quote 0
                                        • N Offline
                                          News
                                          last edited by 2 Oct 2013, 10:37

                                          @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
                                          • 1
                                          • 2
                                          • 7
                                          • 8
                                          • 9
                                          • 10
                                          • 11
                                          • 12
                                          • 9 / 12
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement