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.
    • 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
          • mitcorbM Offline
            mitcorb
            last edited by

            Thank you for the update. It really is an effective modeling tool.

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

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

              I found another way to speed the updates. A model with 11300 verts takes about 90 seconds to update in this version and about 6 seconds with the new method.

              But it order to get it ready for release I would almost have to rewrite it. Because it would be a significant amount of work I am thinking I might make the new one a "Pro" version.

              Question: How many would be willing to pay for a version with some significant updates? And what would be a fair price to charge?

              1 Reply Last reply Reply Quote 0
              • EarthMoverE Offline
                EarthMover
                last edited by

                Sounds like a significant speed improvement. I would pay for a Pro version with a few new features. I think in the range of $15 is fair.

                3D Artist at Clearstory 3D Imaging
                Guide Tool at Winning With Sketchup
                Content Creator at Skapeup

                1 Reply Last reply Reply Quote 0
                • MALAISEM Offline
                  MALAISE
                  last edited by

                  By the way, about 10 € ( 15$) seem to be a fair sum, as far as this version is also
                  available for SU ( not the Pro version )...

                  MALAISE 👍

                  La Connaissance n'a de valeur que partagée

                  1 Reply Last reply Reply Quote 0
                  • boofredlayB Offline
                    boofredlay
                    last edited by

                    I would pay for it too. $15 seems reasonable.

                    http://www.coroflot.com/boofredlay

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      lancaster
                      last edited by

                      @regis said:

                      Hi Tobobo

                      It's due to the hidden geometry.

                      Look at this one, it's different with the hidden geometry, you can easilly deform it where you want.
                      Just create the group and choose your FFD setting.
                      [attachment=1:3nq28v7h]<!-- ia1 -->curtain.skp<!-- ia1 -->[/attachment:3nq28v7h]

                      cheers

                      Edit

                      After some FFD
                      [attachment=0:3nq28v7h]<!-- ia0 -->curtainFFDv6.skp<!-- ia0 -->[/attachment:3nq28v7h]
                      cheers

                      FFD isn't working on my computer aswell, so i've read the whole topic to see for an answer. Unfortunately there are no answers yet.
                      I've downloaded the curtain.skp-file so I could try to FFD it with the sketchup version I am using. That worked fine! Other objects drawn in the curtain.skp-file transformed aswell by using the FFD plugin. However, copying the curtain into a new file: no result, no transformation.
                      I'll just try some other options and hopefully I or someone else will come up with an answer on why the FFD-plugin not always work...

                      EDIT:
                      In a new file I've created an 10x10 patch to transform. The transformation is succesful with an NxN FFD with default settings (4x4x4 false) and moving all 4 guidepoints.

                      Other tried and failed setting: 4x4x1 false, 4x4x2 false, 4x4x3 false, 4x4x5 false, 4x4x4 true, 5x5x4 false....

                      Seems like only the default setting work at my computer.

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

                        can't it be used on su5? it formed a group containing just one construction point at 0,0,0 instead of the 2x2 or 3x3 or nxn points 🎉

                        1 Reply Last reply Reply Quote 0
                        • F Offline
                          fransoiski
                          last edited by

                          Hi
                          this script seems to be great, but actually it does'nt work with me, i can move the choosen points but nothing happens (i never have the choice "uptade FFD")
                          what's wrong ? if someone can help me it would be great. Thanks (sketchup 6, windows XP)

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            teya
                            last edited by

                            I have the same problem! the UPDATE FFD does not apear. It seemn pretty easy to use this plugin, I really got the idea in 10 seconds. But it doesn'n work at me. Did i do something wrong? Also, no erors in the Ruby console.

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

                              @unknownuser said:

                              @unknownuser said:

                              That is the new group created by the FFD. You can simply delete or hide it when done with it.

                              THX: very simple indeed ! ☀

                              hello, i need a bit of help. I downloaded the ruby and copied it in the plugin directory but the ffd tool doesnt show up when i restart sketchup. Any ideas?

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

                                hello, i need a bit of help. I downloaded the ruby and copied it in the plugin directory but the ffd tool doesnt show up when i restart sketchup. Any ideas?

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

                                  hello, i need a bit of help. I downloaded the ruby and copied it in the plugin directory but the ffd tool doesnt show up when i restart sketchup. Any ideas?

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

                                    Hi myrto, as far as i know, FFD works on groups. So you have to group your object then right click and you will find FFD in your context menu. Add how many control points you want and use the tool.
                                    Read the very first post of this thread for detailed explanations.

                                    1 Reply Last reply Reply Quote 0
                                    • A Offline
                                      avya
                                      last edited by

                                      thanks...

                                      i'm gonna make make a try for this one.

                                      1 Reply Last reply Reply Quote 0
                                      • majidM Offline
                                        majid
                                        last edited by

                                        it seems that doesn't work on my SU7.1 free version 😞 anyone ealse has fronted with such problem too?

                                        My inspiring A, B, Sketches book: https://sketchucation.com/shop/books/intermediate/2612-alphabet-inspired-sketches--inspiring-drills-for-architects--3d-artists-and-designers-

                                        1 Reply Last reply Reply Quote 0
                                        • X Offline
                                          xrok1
                                          last edited by

                                          worked for me in 7.1 pro?

                                          BTW, i just used this script for first time for an actual purpose instead of just playing! 😍 awsome thanks again. there was no other way i could think of to achieve the same result. i'm sure i could have tweaked and tweaked manually until i gave up. 😕 put its not my style. 😆


                                          4-maya-tracklight-lowplus-34s.jpg

                                          “There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

                                          http://www.Twilightrender.com try it!

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

                                            Doesn't appear to work anymore... (The May Version works fine)

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

                                            Advertisement