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.
    • 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
                                    • TIGT Offline
                                      TIG Moderator
                                      last edited by

                                      @tootsiejo said:

                                      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

                                      Assuming you have indeed installed the .rb file into the Plugins folder and restarted SketchUp the tool runs from items in the right-click context-menu 'FFD...' if you have a suitable selection [group etc]...
                                      Please read the tool's instructions in the first page...

                                      TIG

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

                                        Hello I am somewhat new to sketchup and am having a bit of trouble with the "open control points group " step of the process. After the object has the control points around it I cant seem to snap to any of them, when I click the cursor just starts to create a selection box. I'm sure I'm missing something trivial, any help would be appreciated.

                                        Thanks,
                                        Dave

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

                                          You need to open the group to move the guide-points [aka cpoints] etc.
                                          You should be able to double lick on one of them to open the group.
                                          Failing that, use the Outliner to find it and double-click on the named entry in the Outliner dialog, it will then open to edit.
                                          To close an edit of a group [or component] click away from it in empty space, or use the right-click context-menu item to close it [or the equivalent Edit menu item]...

                                          TIG

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

                                            THank you!
                                            i love you.! ♥

                                            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