sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] SketchyFFD (Classic)

    Scheduled Pinned Locked Moved Plugins
    412 Posts 153 Posters 419.2k Views 153 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.
    • R Offline
      REGIS
      last edited by

      Perhaps ypu can subdvide it using subdivide=true when you create your FFD control box.

      Cheers

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

        I am trying to take a simple rectangular solid and deform it. i have to sub divide the surface? how can i go about this?

        Thanks,

        -Tony

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

          One possibility
          Draw a rectangle
          Pull it with Ctrl any time you want
          Select all (triple click)
          Move it one time + CTRL = Copy
          Type "10*" (or more) = Multiple
          Select all (triple click)
          Group it
          Select group Right Click / FFD
          Edit the goup "FFD"
          Move points
          Et voilร  ๐Ÿ˜‰


          rec.jpg


          rec.skp

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

          1 Reply Last reply Reply Quote 0
          • M Offline
            michaelland
            last edited by

            Hi Chris, I've to say your work for this amazing RB is really great help for me! Thanks for your great job and sharing with us!!

            Michael Xie

            1 Reply Last reply Reply Quote 0
            • B Offline
              BTM
              last edited by

              @skell said:

              I am trying to take a simple rectangular solid and deform it. i have to sub divide the surface? how can i go about this?

              Thanks,

              -Tony

              There's a subdivide feature in the script.right click> FFD> NxN> set subdivide to true.

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

                @unknownuser said:

                FFD> NxN> set subdivide to true.

                Yes but will be any effect on the subdivide of a simple rectangle!!!
                Nothing will arrive when you will move a point of the FFD!

                Seems the only easy methode is draw a rectangle with the Sandbox ๐Ÿ˜„
                rect.jpg

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

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

                  Hi..

                  I think there might be a problem with FFD an ASGVIS V-ray for scetchup.. FFD did not work while i had V-ray installed but now that i have uninstalled V-ray FFD works fine again.. Same problem as with subdivide and smooth script..
                  can anyone else confirm this ?? Btw, FFD is a brilliant script. ๐Ÿ‘

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    GJV
                    last edited by

                    woooaaaa

                    amazing plugin
                    just what I needed

                    thanx a lot ๐Ÿ˜„ !!!!

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      Dee256
                      last edited by

                      Works nice! But "transformations reset" needs sometimes before FFD starts.

                      1 Reply Last reply Reply Quote 0
                      • I Offline
                        ideas_arte
                        last edited by

                        .. thanks a million!

                        really useful too ๐Ÿ‘

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

                          this looks like a wonderful ruby!!!

                          too bad it's not working for me, it doesn't do anything, and when I try undoing it beaks my geometry apart!

                          would have loved to use it ๐Ÿ˜ž

                          1 Reply Last reply Reply Quote 0
                          • Chris FullmerC Offline
                            Chris Fullmer
                            last edited by

                            Its not over yet. If its not working, then its installed wrong or your using it wrong. Or you have version 4 of SU ๐Ÿ˜„

                            Could you provide a better description of what its doing wrong? Perhaps screenshots, maybe a video. Just give us some more detail and we'll get it working for you.

                            Chris

                            Lately you've been tan, suspicious for the winter.
                            All my Plugins I've written

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

                              I'm running Sketchup 7 and just added your FFD tool. I can move points but there is no 'update FFD' option when I'm finished. Is FFD not compatible with Sketchup 7?

                              Thanks!

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

                                The shape should update automatically, you might have to give it a bit of time, though.

                                If that doesnt work delete the control points, explode the group, regroup and try again.

                                http://remusrendering.wordpress.com/

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

                                  After waiting on a 2.4 GHz dual core XP system, nothing changed. I've just installed FFD on my computer (2.1 GHz dual core) and created a circle so I could elongate one point. Nothing. This is disappointing.

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

                                    Have you tried it on 3d geometry? i think it can work on 2d things, but ive never gotten the hang of it.

                                    http://remusrendering.wordpress.com/

                                    1 Reply Last reply Reply Quote 0
                                    • H Offline
                                      hasan
                                      last edited by

                                      @cphillips said:

                                      @unknownuser said:

                                      I can't get this script to work. Nothing happens.
                                      I create a sphere, group it, right-click and do 3x3 FFD, enter the new group with Construction Points, move some to another position, exit the group, right-click the sphere group and choose Update FFD. Nothing happens.

                                      Can you open the ruby console and see if it is printing any errors?

                                      Chris

                                      1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        steven-arts
                                        last edited by

                                        Hi Chriss,

                                        it really makes fun to work with FFD! I looked at your code and found the factorial function where you mentioned to encrease performance by adding a table for factorials. I made it dynamic and it boosts your code! Just replace the section with:

                                        
                                        #used by calcBernstein. could be replaced by a table since in 
                                        #this application n is never more than 3 (number of control points).
                                        $fTable = []
                                        def factorial(n)
                                            sum = $fTable.rassoc(n)
                                            if sum
                                            	return sum[0]
                                            else
                                        	sum = 1
                                        	sum.upto(n) { |i| sum *= i }
                                        	$fTable << [sum, n]
                                        	return sum
                                            end
                                        end
                                        

                                        Ciao, Stefan

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

                                          Thanks Stefan! Its a nice idea. I updated the plugin with an adaption of the code and applied it to the Bernstein Polynomial as well. It sped up the initial weighting of a big model from 75 seconds to 15 seconds.

                                          I also figured out a way (in theory) to speed up the actual deformation by like 50x. The only problem is I would have to handle moving the control points without using any of Sketchups tools like select, move and rotate. Ugh!

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

                                            Just wanted to bump this and make folks aware of the update.

                                            http://forums.sketchucation.com/viewtopic.php?f=180&t=6029

                                            Hi

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 20
                                            • 21
                                            • 2 / 21
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement