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

    Followfy 0.2 (2014-05-15)

    Scheduled Pinned Locked Moved Plugins
    18 Posts 11 Posters 8.1k Views 11 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
      CAUL
      last edited by

      Followfy is a script intended to solve some special cases where the native FollowMe fails to produce solids. Followfy works like FollowMe and can be used for any path (except loops), however, the solidsolving behaviour only works for planar paths.

      Usage: Select path and profile. Run Followfy from the Plugins menu. The selection may include edges from the profile surface; if the profile and path are stuck together triple click may be used. For predictable results the profile should be at either end of the path.

      Installation: Drop the file in the Plugins folder.

      The example .skp below shows some instances where Followfy produces solids while FollowMe doesn't.


      Followfy.png


      examples.skp


      CAUL_Followfy_0.2.rb

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

        Very nice. Your plugin works quite well. May I ask for a modification/addition? Would it be possible to have it also Smooth/Soften curves like the native Follow Me tool does?

        Etaoin Shrdlu

        %

        (THERE'S NO PLACE LIKE)

        G28 X0.0 Y0.0 Z0.0

        M30

        %

        1 Reply Last reply Reply Quote 0
        • Rich O BrienR Online
          Rich O Brien Moderator
          last edited by

          Hi Caul,

          Awesome script. Thanks for sharing.

          I took some liberties and added you to the Plugin Author pool and uploaded the script to the PluginStore.

          Download the free D'oh Book for SketchUp πŸ“–

          1 Reply Last reply Reply Quote 0
          • pilouP Offline
            pilou
            last edited by

            One more inside the toolbox! 😎
            And cool the unic selection + one click! πŸ‘

            ps Maybe an info Message "Followfy is calculating" will be fine for complex path/profile ! πŸ€“

            Followfy is meaning something ?

            Frenchy Pilou
            Is beautiful that please without concept!
            My Little site :)

            1 Reply Last reply Reply Quote 0
            • pilouP Offline
              pilou
              last edited by

              Does this normal ? (Followme works, Followfy not! )
              Put the profile at an extremity of the path don't change the result!

              followfy_fail.jpg


              followfy_fail.skp

              Frenchy Pilou
              Is beautiful that please without concept!
              My Little site :)

              1 Reply Last reply Reply Quote 0
              • massimoM Offline
                massimo Moderator
                last edited by

                Pilou, from the very fist post of the thread:

                @unknownuser said:

                Followfy works like FollowMe and can be used for any path (except loops)

                1 Reply Last reply Reply Quote 0
                • massimoM Offline
                  massimo Moderator
                  last edited by

                  πŸ‘ πŸ˜„

                  1 Reply Last reply Reply Quote 0
                  • pilouP Offline
                    pilou
                    last edited by

                    Aaaaaaaaaaaaaah ! 😳

                    And this also don't work because I don't put it at the extremity! 😳

                    followfy_fail1.jpg

                    Now all is fine!
                    Advantage against the FollowMe in this case: select by triple click! 😎

                    followfy_works.jpg

                    Frenchy Pilou
                    Is beautiful that please without concept!
                    My Little site :)

                    1 Reply Last reply Reply Quote 0
                    • mitcorbM Offline
                      mitcorb
                      last edited by

                      Nice tool, Caul.

                      @Pilou: "Followfy is meaning something ?" Straightforward answer is similar to the suffix in Quantify- which means apply a quantity to. Or Signify. It's a somewhat informal attachment commonly done in English, but new for the word follow.

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

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

                        Great! could have done with having this yesterday as I had a component in a model that 'follow me' just wouldn't work on.

                        1 Reply Last reply Reply Quote 0
                        • Bob JamesB Offline
                          Bob James
                          last edited by

                          Great addition to the toolbox πŸ‘

                          i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

                          1 Reply Last reply Reply Quote 0
                          • pilouP Offline
                            pilou
                            last edited by

                            @Mitcorb Thx! πŸ‘

                            Frenchy Pilou
                            Is beautiful that please without concept!
                            My Little site :)

                            1 Reply Last reply Reply Quote 0
                            • sdmitchS Offline
                              sdmitch
                              last edited by

                              CAUL,

                              Having written a similar plugin almost three years ago, I was very curious as to how you did yours. About the only similarity was the projecting of points on bisecting planes at the corners.

                              It is impossible to test for all possible things that could go wrong so when I seemed to find a situation that causes a failure in the mergeCoPlanarFaces method, I thought you might like to know.

                              cop failure a.jpg

                              cop failure b.jpg

                              Left clicking anywhere in the model causes this results to appear.
                              cop failure c.jpg

                              Adding the next statement eliminates the failure but typically, collecting the edges to be deleted and deleting them after all edges are processed, usually works best.

                                  es.each { |e|
                              		next unless e.faces[0] && e.faces[1]
                                      vs = e.faces[0].vertices + e.faces[1].vertices
                                      p = Geom;;fit_plane_to_points vs
                                      cop = vs.all? { |v| v.position.on_plane? p }
                                      e.erase! if cop
                                  }
                              
                              

                              cop failure.skp

                              Nothing is worthless, it can always be used as a bad example.

                              http://sdmitch.blogspot.com/

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

                                @sdmitch said:

                                Having written a similar plugin almost three years ago, I was very curious as to how you did yours. About the only similarity was the projecting of points on bisecting planes at the corners.

                                Interesting, how did you approach the problem?

                                @sdmitch said:

                                It is impossible to test for all possible things that could go wrong so when I seemed to find a situation that causes a failure in the mergeCoPlanarFaces method, I thought you might like to know.

                                Thanks for the feedback! The mergeCoplanar-method was/is a disaster waiting to happen. I will release an updated version soon.

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

                                  @dave r said:

                                  May I ask for a modification/addition? Would it be possible to have it also Smooth/Soften curves like the native Follow Me tool does?

                                  That's on the TODO-list.

                                  @unknownuser said:

                                  ps Maybe an info Message "Followfy is calculating" will be fine for complex path/profile !

                                  As it happens, almost all time is spent trying to build the geometry with the api method add_face. In this release the geometry is built with triangles. The next release will use rectangles when appropriate (which is almost always) and that will roughly double the speed.

                                  1 Reply Last reply Reply Quote 0
                                  • sdmitchS Offline
                                    sdmitch
                                    last edited by

                                    @unknownuser said:

                                    Interesting, how did you approach the problem?

                                    It is called Edge Follow Me and can be found in the plugins store. It was written in request of a tool that would use an edge/curve profile and do an extrusion.

                                    Nothing is worthless, it can always be used as a bad example.

                                    http://sdmitch.blogspot.com/

                                    1 Reply Last reply Reply Quote 0
                                    • MatheronM Offline
                                      Matheron
                                      last edited by

                                      Thank you very much, what a great plugin!

                                      Followfy is remarkably more solid than native followme for any tested planar nonlooping path.

                                      Please consider adding solidsolving for non-planar paths.

                                      1 Reply Last reply Reply Quote 0
                                      • xiombargX Offline
                                        xiombarg
                                        last edited by

                                        Nice! Great plugin.

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

                                        Advertisement