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

    [Plugin] SketchyFFD (Classic)

    已排程 已置頂 已鎖定 已移動 Plugins
    412 貼文 153 Posters 419.2k 瀏覽 153 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • H 離線
      hasan
      最後由 編輯

      @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 條回覆 最後回覆 回覆 引用 0
      • S 離線
        steven-arts
        最後由 編輯

        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 條回覆 最後回覆 回覆 引用 0
        • C 離線
          CPhillips
          最後由 編輯

          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 條回覆 最後回覆 回覆 引用 0
          • J 離線
            Jim
            最後由 編輯

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

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

            Hi

            1 條回覆 最後回覆 回覆 引用 0
            • mitcorbM 離線
              mitcorb
              最後由 編輯

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

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

              1 條回覆 最後回覆 回覆 引用 0
              • C 離線
                CPhillips
                最後由 編輯

                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 條回覆 最後回覆 回覆 引用 0
                • EarthMoverE 離線
                  EarthMover
                  最後由 編輯

                  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 條回覆 最後回覆 回覆 引用 0
                  • MALAISEM 離線
                    MALAISE
                    最後由 編輯

                    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 條回覆 最後回覆 回覆 引用 0
                    • boofredlayB 離線
                      boofredlay
                      最後由 編輯

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

                      http://www.coroflot.com/boofredlay

                      1 條回覆 最後回覆 回覆 引用 0
                      • L 離線
                        lancaster
                        最後由 編輯

                        @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 條回覆 最後回覆 回覆 引用 0
                        • C 離線
                          cokea
                          最後由 編輯

                          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 條回覆 最後回覆 回覆 引用 0
                          • F 離線
                            fransoiski
                            最後由 編輯

                            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 條回覆 最後回覆 回覆 引用 0
                            • T 離線
                              teya
                              最後由 編輯

                              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 條回覆 最後回覆 回覆 引用 0
                              • M 離線
                                myrto
                                最後由 編輯

                                @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 條回覆 最後回覆 回覆 引用 0
                                • M 離線
                                  myrto
                                  最後由 編輯

                                  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 條回覆 最後回覆 回覆 引用 0
                                  • M 離線
                                    myrto
                                    最後由 編輯

                                    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 條回覆 最後回覆 回覆 引用 0
                                    • massimoM 離線
                                      massimo Moderator
                                      最後由 編輯

                                      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 條回覆 最後回覆 回覆 引用 0
                                      • A 離線
                                        avya
                                        最後由 編輯

                                        thanks...

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

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • majidM 離線
                                          majid
                                          最後由 編輯

                                          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 條回覆 最後回覆 回覆 引用 0
                                          • X 離線
                                            xrok1
                                            最後由 編輯

                                            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 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 20
                                            • 21
                                            • 11 / 21
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement