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
      shri
      last edited by

      very cool stuff..thanks alot..makes very easier working with organic shapes
      FFD..rocks...

      1 Reply Last reply Reply Quote 0
      • LanaL Offline
        Lana
        last edited by

        just have the best here . thank you . 😍

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

          Erm, i'm new here. i have sketchup 8 and i've put this ruby into the plugins folder with all the other rubys, but i can't find out how to use this in sketchup?

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

            Hi, itscabbage:
            I would highly recommend reading through the entire series of pages in this thread. Among the pages are animations, visuals etc. that can provide information on how to use the tool. If you are unable to activate it, perhaps you should check to see if it is in the proper folder. This is dependent on whether you are using Windows or Mac.
            FFD does take a little practice.
            And, if you haven't already done so, update your profile. This will enable helpers to determine specific solutions, especially with regard to operating systems.

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

            1 Reply Last reply Reply Quote 0
            • gillesG Offline
              gilles
              last edited by

              For some reason, only the first version works for me.

              I set NxN
              width=11
              depth=11
              height=1
              subdivise=false

              First version everything is OK, scale move rotate...

              Second version, nothing moves (see ruby report)

              Tig's version, trying to move the original group just disappear? 😲 no console report.

              Any idea?

              WARNING: make_unique is a deprecated methodof Sketchup:Group Error: #<NoMethodError: undefined method*' for nil:NilClass>
              /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:453:in calcBernstein' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:214:in initFFD'
              /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:213:in upto' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:213:in initFFD'
              /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:211:in upto' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:211:in initFFD'
              /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:209:in upto' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:209:in initFFD'
              /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:200:in each' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:200:in initFFD'
              /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:151:in startFFD' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:20 Error: #<NoMethodError: undefined method []' for nil:NilClass>
              /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:253:in applyMultipleFFD' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:252:in each'
              /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:252:in applyMultipleFFD' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:242:in each'
              /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:242:in applyMultipleFFD' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:423:in analizeLattice'
              /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:163:in updateFFD' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:84:in onChangeEntity'
              /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:453
              Error: #<NoMethodError: undefined method []' for nil:NilClass> /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:253:in applyMultipleFFD'
              /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:252:in each' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:252:in applyMultipleFFD'
              /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:242:in each' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:242:in applyMultipleFFD'
              /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:423:in analizeLattice' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:163:in updateFFD'
              /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:84:in onChangeEntity' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyFFD.rb:253


              Sans titre.skp

              " c'est curieux chez les marins ce besoin de faire des phrases "

              1 Reply Last reply Reply Quote 0
              • TIGT Offline
                TIG Moderator
                last edited by

                I made the adjusted version because the older versions were all causing issues, clashes with other scripts etc, the observer was very flaky...
                My version works fine for me when tested using your settings, although I don't fully understand the 'moving the group...disappear' issue 😕 what disappears ? If you move the group away from the guides it will deform differently...
                You can only have one set of FFD guide-points at a time, so is this your issue ?
                The 'second' version had the most fails so I'd expect the litany of error messages...

                TIG

                1 Reply Last reply Reply Quote 0
                • gillesG Offline
                  gilles
                  last edited by

                  I set NxN parameters and clicking ok the group disappears, it is still in the outliner but nowhere in the model.

                  " c'est curieux chez les marins ce besoin de faire des phrases "

                  1 Reply Last reply Reply Quote 0
                  • gillesG Offline
                    gilles
                    last edited by

                    I also try with only SketchyFFD.rb in plugins folder, same result.

                    SU 8.0.14345

                    " c'est curieux chez les marins ce besoin de faire des phrases "

                    1 Reply Last reply Reply Quote 0
                    • TIGT Offline
                      TIG Moderator
                      last edited by

                      It works fine for me with z=1 set, provided that the geometry has some 3d-ness.
                      If I draw a grid 10x10 as a flat 2d group it does then fail !?
                      Not having written the original code [I just fixed some known issues] I am unclear why...

                      Adding a short vertical line to the grouped mesh fixes it... Capture.PNG I'll check though the code and see if I can trap for this...

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • gillesG Offline
                        gilles
                        last edited by

                        If I add a vertical line in the group it works.
                        Good to know.

                        " c'est curieux chez les marins ce besoin de faire des phrases "

                        1 Reply Last reply Reply Quote 0
                        • TIGT Offline
                          TIG Moderator
                          last edited by

                          Here's my update http://sketchucation.com/forums/viewtopic.php?p=36127#p36127
                          The recently reported NxN issues with NaN [0.0/0.0] & Infinity [1.0/0.0] fixed, these occurred when the selected group was 2d & NxN height=1...
                          Also the NxN dialog now remembers the last used values that session for the NxN lattice [width, depth, height, subdivide]...

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • gillesG Offline
                            gilles
                            last edited by

                            Works great, thanks a lot TIG, have a sunny day.

                            " c'est curieux chez les marins ce besoin de faire des phrases "

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              matt.gordon320
                              last edited by

                              Thanks! This is awesome!

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

                                Thanks Chris,Thanks Chris.

                                1 Reply Last reply Reply Quote 0
                                • guanjinG Offline
                                  guanjin
                                  last edited by

                                  @tig said:

                                  Here's my update http://sketchucation.com/forums/viewtopic.php?p=36127#p36127
                                  The recently reported NxN issues with NaN [0.0/0.0] & Infinity [1.0/0.0] fixed, these occurred when the selected group was 2d & NxN height=1...
                                  Also the NxN dialog now remembers the last used values that session for the NxN lattice [width, depth, height, subdivide]...

                                  New version, can not be achieved on the sphere deformation

                                  I come from China, is to learn

                                  1 Reply Last reply Reply Quote 0
                                  • TIGT Offline
                                    TIG Moderator
                                    last edited by

                                    @guanjin said:

                                    @tig said:

                                    Here's my update http://sketchucation.com/forums/viewtopic.php?p=36127#p36127
                                    The recently reported NxN issues with NaN [0.0/0.0] & Infinity [1.0/0.0] fixed, these occurred when the selected group was 2d & NxN height=1...
                                    Also the NxN dialog now remembers the last used values that session for the NxN lattice [width, depth, height, subdivide]...

                                    New version, can not be achieved on the sphere deformation
                                    But did the old version ?
                                    There is little difference with this update !
                                    How are you trying to deform a sphere ??

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • guanjinG Offline
                                      guanjin
                                      last edited by

                                      @tig said:

                                      @guanjin said:

                                      @tig said:

                                      Here's my update http://sketchucation.com/forums/viewtopic.php?p=36127#p36127
                                      The recently reported NxN issues with NaN [0.0/0.0] & Infinity [1.0/0.0] fixed, these occurred when the selected group was 2d & NxN height=1...
                                      Also the NxN dialog now remembers the last used values that session for the NxN lattice [width, depth, height, subdivide]...

                                      New version, can not be achieved on the sphere deformation
                                      But did the old version ?
                                      There is little difference with this update !
                                      How are you trying to deform a sphere ??

                                      Sorry, operational errors, thank TIG

                                      I come from China, is to learn

                                      1 Reply Last reply Reply Quote 0
                                      • E Offline
                                        eshertoding
                                        last edited by

                                        i can't find the "update ffd" after i move the point and close grup
                                        can't anyone explain me?

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

                                          thank you!

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

                                            Hi i can't see the SketchyFFD in my SKP8. it doesnt appear. how do you really install it? is there a tool? it doesnt install when i put it in the plugins folder

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

                                            Advertisement