• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin] SketchyFFD (Classic)

Scheduled Pinned Locked Moved Plugins
412 Posts 153 Posters 419.2k 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.
  • T Offline
    TIG Moderator
    last edited by 10 Aug 2011, 11:06

    Here is an updated version http://forums.sketchucation.com/viewtopic.php?p=36127#p36127
    Some issues with it not being in a module, use of $ variables and a flaky observer have been fixed [I hope]... πŸ€“

    TIG

    1 Reply Last reply Reply Quote 0
    • S Offline
      sosegon
      last edited by 26 Aug 2011, 14:45

      Hi,

      I'd like to know if anyone has information about the algorithm used in this plugin.

      Cheers.

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 26 Aug 2011, 14:51

        @sosegon said:

        Hi, I'd like to know if anyone has information about the algorithm used in this plugin. Cheers.
        Get it and read it - it's a .rb file...

        TIG

        1 Reply Last reply Reply Quote 0
        • S Offline
          sosegon
          last edited by 30 Aug 2011, 13:18

          @tig said:

          @sosegon said:

          Hi, I'd like to know if anyone has information about the algorithm used in this plugin. Cheers.
          Get it and read it - it a .rb file...

          Thanks, I tried that, but since I don't speak ruby, it's been very hard to understand what the plugin is doing. That's why I asked for info about the algorithm used in the plugin. I don't necessarily need a piece of code, a brief explanation would be enough.

          1 Reply Last reply Reply Quote 0
          • T Offline
            TIG Moderator
            last edited by 30 Aug 2011, 13:28

            You make a series of grouped 'control-points' [guide-points] in a 3d grid around the selected group's bounding box, these are given special attributes so they can be 'observed' later.
            Now later on when you change any of them [e.g. you might edit the group that contains them and 'move' some] an 'observer' kicks in, and it runs code that adjusts the geometry within the group by distorting all of the vertices relative to the 'control-points' current locations. Thus you can distort a grouped form by changing the 3d grid of 'control-points'.
            The rules for determining the amount of the adjustment for each vertex is done by finding the changes in the vectors between the vertices and the 'control-points' and transforming each of the vertices accordingly...

            TIG

            1 Reply Last reply Reply Quote 0
            • S Offline
              sosegon
              last edited by 30 Aug 2011, 20:49

              @tig said:

              The rules for determining the amount of the adjustment for each vertex is done by finding the changes in the vectors between the vertices and the 'control-points' and transforming each of the vertices accordingly...

              That part is the most important for what I need. Now I have a better idea, thanks. If you have any link to other resources about the algorithm, it would be great.

              1 Reply Last reply Reply Quote 0
              • C Offline
                charly2008
                last edited by 31 Aug 2011, 13:02

                Hi,

                I installed the latest Ruby in the plugins folder in Sketchup 8. I do not get it to work. In the context menu the functions are all grayed out.

                Charly


                2011-08-31_143914.jpg

                He who makes no mistakes, makes nothing

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TIG Moderator
                  last edited by 31 Aug 2011, 16:50

                  Charly

                  Not a tool specific issue...
                  The context-menu gray-out is a known Sketchup issue.
                  There is a finite number of 'commands' that can be added to the context-menu/toolbars.
                  If you exceed this some items become 'disabled'.
                  This was discovered a while ago as more and more scripts were added.
                  Some scripts were found to add multiple entries, these were quickly found and fixed [e.g. all Fredo's tools latest versions are no longer implicated].
                  I didn't write the original version of this tool but I can't see it makes more that it has too...
                  However, having a lot of scripts loading - even if they are optimized - you can still eventually reach the limit in any case... and get the 'graying'.
                  I suggest you decide which scripts you don't often need and disable them by renaming the with .TXT on the end. They won't then auto-load and you should thereby avoid the 'graying' issue. If you want to change them to auto-load again simply remove the .TXT from the tool's name so the .rb file auto-loads. If you want to occasionally load a .TXT file just load it from the Ruby Console with load "xxxx.rb.TXT" - where 'xxxx' is the original scripts name... it's then loaded for that session only.
                  There is also an 'optimizer' you could try [ http://forums.sketchucation.com/viewtopic.php?p=252413#p252413 ] - but it will still fail if you clog up the 'auto-loading set' too much... It also has further reading on this whole issue πŸ˜’

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    pilou
                    last edited by 31 Aug 2011, 17:05

                    @TIG That's explain why this arrives with my numerous collections of plugins 😳
                    Thx for for this enlighting explanation πŸ‘

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

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      charly2008
                      last edited by 31 Aug 2011, 19:35

                      Dear TIG,

                      You have given me and many others, again very helpful tips with your expert explanations.

                      That was a good time to cleanup my plugin directory. I had so many plugins that I have never used or very rarely. With many more I knew not what function they have. I've promised myself that from now I install plugins only when I need it really.

                      In my context menu, all functions are now active again and SketchyFFD works fine now and Sketchup boots faster.

                      Many Thanks again TIG.

                      Charly

                      He who makes no mistakes, makes nothing

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        TIG Moderator
                        last edited by 31 Aug 2011, 21:40

                        Charly

                        Please be aware that there are some helper files that are 'required' by other files - e.g. 'progressbar.rb' is needed by Chris Fullmer's 'ShapeBender' and others, and 'deBabelizer.rb' by several of my own 'toolsets'.
                        So if you remove/rename_with_.TXT any of those and there are other files that need them, then you will get error messages, either at startup or more rarely when the tool activates.
                        If that happens the error-message is usually quite clear - telling you the missing file's name so it can readily find it and it can be reverted to as it was...

                        However, so far it sounds like your 'tidy-up' has been problem free... but just in case of future oddities please bear in mind what I've just said above... πŸ˜‰

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • L Offline
                          Lorelalala
                          last edited by 1 Sept 2011, 23:12

                          Great tool, CPhillips!

                          It has amazing results. I shall definitely try it.

                          Thanks for sharing this.

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            mandinga2006
                            last edited by 29 Nov 2011, 11:34

                            THX!! πŸ˜„ ...good job! πŸ‘

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              congellous
                              last edited by 27 Jan 2012, 21:58

                              Thanks for the help TIG, but I have got the sketchy FFD on my right click but it still doesn't work, move the control points nothing happens and no update in the menu. If it's so simple how come there are pages and pages of conflicts on this web site. I know how to do the root installation but the Fredo set with the lib for instance, version compatibility and the folder set up is a bit cryptic. I'm sure there great tools but this is open programing without quality control.
                              Also, you can read updates and instal instructions for outdated versions, PC versions etc ad nauseum or just ask someone to help which I'm sure is frustrating.

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                TIG Moderator
                                last edited by 27 Jan 2012, 22:39

                                OK... you have now got the tool loading, and it's in the right-click context-menu...
                                πŸ˜„
                                If you run it with the Ruby Console open what error message [if any] do you get ?
                                What doesn't 'work' exactly ??

                                There were many issues with early the versions... but I took it upon myself to [try to] fix the original author's code [with his permission!]... so that these were then hopefully resolved... [Q: You did download/install the most recent version, didn't you ??] - so if you are now saying that there are new issues we need to know about them... so, whatever details you have [beyond, 'It doesn't work!'], would be very useful πŸ˜’

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  congellous
                                  last edited by 28 Jan 2012, 10:00

                                  as I said move the control points and nothing happens
                                  it took 20 minutes to 'weigh' a panel
                                  can you point me to the latest one maybe it's that

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    TIG Moderator
                                    last edited by 28 Jan 2012, 10:11

                                    Did you get it from http://forums.sketchucation.com/viewtopic.php?p=36127#p36127 - the 20110810 version by me [TIG] downloaded 1385 times, and with few issues reported over the intervening five months [note that the two more flaky earlier versions were downloaded over 9000 times in total and even they had relatively few issues, when used as intended !]

                                    Do you get anything in the [all ready opened] Ruby Console when you are using it ?
                                    Are you following the usage notes carefully ?
                                    Screen-shot [or even post] your 'panel' SKP - is it incredibly complex ??
                                    πŸ˜•

                                    Can I also suggest that as this is no longer a unzip/install issue you post in the tool's own thread [as linked above]... I'll think about splitting the last few posts off into it too... MERGED!

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      congellous
                                      last edited by 28 Jan 2012, 16:33

                                      Worked instantly from that link, I must of downloaded it from somewhere else ???
                                      Exactly what I needed, Thanks

                                      1 Reply Last reply Reply Quote 0
                                      • H Offline
                                        Hogwarts
                                        last edited by 18 Apr 2012, 10:46

                                        I can't get this plugin to work and I need to use it desperately for some artificial snow I'm making for a building roof top.

                                        I put it into plugins folder and then I tried tools but no luck.

                                        An Install guide would be helpful.
                                        Thank you

                                        1 Reply Last reply Reply Quote 0
                                        • Rich O BrienR Offline
                                          Rich O Brien Moderator
                                          last edited by 18 Apr 2012, 10:55

                                          @hogwarts said:

                                          I can't get this plugin to work and I need to use it desperately for some artificial snow I'm making for a building roof top.

                                          I put it into plugins folder and then I tried tools but no luck.

                                          An Install guide would be helpful.
                                          Thank you

                                          Install by putting the script in your plugins directory.

                                          As it says on the first post

                                          Download the free D'oh Book for SketchUp

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 12
                                          • 13
                                          • 14
                                          • 15
                                          • 16
                                          • 20
                                          • 21
                                          • 14 / 21
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement