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

    [Plugin] Control points ver. 1.6.

    Scheduled Pinned Locked Moved Plugins
    115 Posts 42 Posters 59.4k Views 42 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.
    • EscapeArtistE Offline
      EscapeArtist
      last edited by

      
      Error; #<TypeError; reference to deleted Group>
      L;/Modeling/Sketchup Google/Plugins/ctrlpnts.rb;214;in `entities'
      L;/Modeling/Sketchup Google/Plugins/ctrlpnts.rb;214;in `deform_group'
      L;/Modeling/Sketchup Google/Plugins/ctrlpnts.rb;213;in `call'
      L;/Modeling/Sketchup Google/Plugins/bezier.rb;395
      Error; #<TypeError; reference to deleted Group>
      L;/Modeling/Sketchup Google/Plugins/ctrlpnts.rb;214;in `entities'
      L;/Modeling/Sketchup Google/Plugins/ctrlpnts.rb;214;in `deform_group'
      L;/Modeling/Sketchup Google/Plugins/ctrlpnts.rb;213;in `call'
      L;/Modeling/Sketchup Google/Plugins/bezier.rb;395
      Error; #<TypeError; reference to deleted Group>
      L;/Modeling/Sketchup Google/Plugins/ctrlpnts.rb;214;in `entities'
      L;/Modeling/Sketchup Google/Plugins/ctrlpnts.rb;214;in `deform_group'
      L;/Modeling/Sketchup Google/Plugins/ctrlpnts.rb;213;in `call'
      L;/Modeling/Sketchup Google/Plugins/bezier.rb;395
      Error; #<TypeError; reference to deleted Group>
      L;/Modeling/Sketchup Google/Plugins/ctrlpnts.rb;214;in `entities'
      L;/Modeling/Sketchup Google/Plugins/ctrlpnts.rb;214;in `deform_group'
      L;/Modeling/Sketchup Google/Plugins/ctrlpnts.rb;213;in `call'
      L;/Modeling/Sketchup Google/Plugins/bezier.rb;395
      Error; #<TypeError; reference to deleted Group>
      L;/Modeling/Sketchup Google/Plugins/ctrlpnts.rb;214;in `entities'
      L;/Modeling/Sketchup Google/Plugins/ctrlpnts.rb;214;in `deform_group'
      L;/Modeling/Sketchup Google/Plugins/ctrlpnts.rb;213;in `call'
      L;/Modeling/Sketchup Google/Plugins/bezier.rb;395
      Error; #<TypeError; reference to deleted Group>
      L;/Modeling/Sketchup Google/Plugins/ctrlpnts.rb;214;in `entities'
      L;/Modeling/Sketchup Google/Plugins/ctrlpnts.rb;214;in `deform_group'
      L;/Modeling/Sketchup Google/Plugins/ctrlpnts.rb;213;in `call'
      L;/Modeling/Sketchup Google/Plugins/bezier.rb;395
      
      ...and on and on and on.
      
      

      I noticed that after deleting a surface that I'd applied control points to I got this going on in my Ruby window ad infinitum, it's going so fast I had a hard time even copying it.

      I got this to happen by creating a surface, applying control points, using them to deform the surface (with a couple of "undos") and then deleting the surface. Only way to get it to stop was to restart SU.

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

        this is getting better and better
        now all we need is a visual representation (ideally interactive 😉 ) for the weight.

        “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
        • K Offline
          kirill2008
          last edited by

          @escapeartist said:

          I noticed that after deleting a surface that I'd applied control points to I got this going on in my Ruby window ad infinitum, it's going so fast I had a hard time even copying it.

          I got this to happen by creating a surface, applying control points, using them to deform the surface (with a couple of "undos") and then deleting the surface. Only way to get it to stop was to restart SU.

          Thanks for the report. I'll try to fix it as soon as possible.

          1 Reply Last reply Reply Quote 0
          • K Offline
            kirill2008
            last edited by

            @xrok1 said:

            this is getting better and better
            now all we need is a visual representation (ideally interactive 😉 ) for the weight.

            Well, I think, it's possible
            http://kolobok.us/smiles/standart/yes4.gif
            , why not.

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

              @kirill2008 said:

              @xrok1 said:

              this is getting better and better
              now all we need is a visual representation (ideally interactive 😉 ) for the weight.

              Well, I think, it's possible
              http://kolobok.us/smiles/standart/yes4.gif
              , why not.

              😲 don't tease.

              “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
              • EarthMoverE Offline
                EarthMover
                last edited by

                Krill, would it be possible to have an option to place a cage of control points on a mesh? Perhaps one FFD style cage box option for people used to that method and another that would place evenly distributed control points which would conform around the mesh at a given distance. You're already 80% of the way to a new type of Free Form Deformation plugin, might as well go all the way and improve on the existing.

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

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

                  @earthmover said:

                  Krill, would it be possible to have an option to place a cage of control points on a mesh? Perhaps one FFD style cage box option for people used to that method and another that would place evenly distributed control points which would conform around the mesh at a given distance. You're already 80% of the way to a new type of Free Form Deformation plugin, might as well go all the way and improve on the existing.

                  yes that would be great since FFD thread says "Unfortunately, I am out of time to work on this script. If anyone wants to pick it up contact me. The code is simple and (for me) well commented. It needs a UI and bug fixes." and doesn't seem to be progressing. 👍

                  “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
                  • K Offline
                    kirill2008
                    last edited by

                    Preview of interaction capabilities of ver. 1.6. (will be ready in the coming days).
                    Set of 4 videos:
                    [flash=480,385:lwr4hh5j]http://www.youtube.com/p/51499EA555BCA0CC&amp;hl=ru_RU&amp;fs=1" type="application/x-shockwave-flash" width="480" height="385" allowscriptaccess="always" allowfullscreen="true"[/flash:lwr4hh5j]

                    In case if someone wants to try prerelease version:
                    ver. 1.6. (prerelease)

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

                      Ой! Кажется какая то "волшебная" водка дает тебе творческие силы!

                      1 Reply Last reply Reply Quote 0
                      • jim smithJ Offline
                        jim smith
                        last edited by

                        @dedmin said:

                        Ой! Кажется какая то "волшебная" водка дает тебе творческие силы!

                        Google translator

                        Oops It seems some sort of a "magic" vodka gives you the creative power!

                        I'll drink to that 👍 👍 Thank you Kirill

                        "Out of clutter find simplicity,
                        from discord find harmony,
                        In the middle of difficulty lies opportunity"
                        Albert Einstein

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

                          Awesome plugin Kirill!!!

                          Will be possible to add control points automatic to have this results?
                          If you select a line:
                          Deform in SU 1.gif
                          If you select a face:
                          Deform in SU 2.gif

                          For more information:
                          http://forums.sketchucation.com/viewtopic.php?f=180&t=19321

                          Daniel S
                          PS: I suppose that ask to add automatic slicing to entities like Fredoscale does (Bend, Twist...) would be asking too much?

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

                            This is pretty much what I was asking here:

                            http://forums.sketchucation.com/viewtopic.php?f=323&t=25082

                            In Blender they use variable "brushes" with adjustable radius of influence, sort of like the inverse square law, or sort of like -BTM's Sculpt tools. But the deformations can be spherical, or even planar. Your gifs show a sort of spherical effect.

                            This ability would be delicious

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

                            1 Reply Last reply Reply Quote 0
                            • U Offline
                              unclex
                              last edited by

                              Wonderful

                              1 Reply Last reply Reply Quote 0
                              • K Offline
                                kirill2008
                                last edited by

                                The work on ver. 1.6. is still in progress...
                                The current stage new features:

                                • wireframe preview of geometry group deformation is a bit faster now
                                • ability to interact with curve control points is also available now

                                Demo video (first 3 minutes are about faster wireframe, last ones about curve control points):
                                [flash=320,265:2fn1qvwi]http://www.youtube.com/v/dO8Nk40IypQ&hl=ru_RU&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="320" height="265"[/flash:2fn1qvwi]

                                ver. 1.6. (prerelease again)

                                @daniel s said:

                                Daniel S
                                PS: I suppose that ask to add automatic slicing to entities like Fredoscale does (Bend, Twist...) would be asking too much?

                                Well, LibFredo6 is also free and open source and I think that almost everyone has it (Fredo tools are must-have ones), so, I guess, it is possible to utilize 'automatic slicing' if it is already implemented and present within the library. At least I'll try to.
                                Actually, I thought about something like adaptive tessellation around control point before, so I was going to make it anyway sooner or later.

                                @dedmin said:

                                Ой! Кажется какая то "волшебная" водка дает тебе творческие силы!

                                Ога, "волшебная": 3,2% жирности, производится в Чебаркуле, называется ряженка (fermented baked milk). По 0,5 в день и творческих сил, хоть отбавляй
                                http://smiles.kolobok.us/personal/russian.gif

                                1 Reply Last reply Reply Quote 0
                                • EscapeArtistE Offline
                                  EscapeArtist
                                  last edited by

                                  I see in your 1.5 update that you've fixed the "undo" error.

                                  Fantastic, and thanks again for a great plugin!!

                                  1 Reply Last reply Reply Quote 0
                                  • K Offline
                                    kirill2008
                                    last edited by

                                    First steps of interactive face deformation:
                                    [flash=480,385:2m8btgdg]http://www.youtube.com/p/8AB5C9C23863405C&amp;hl=ru_RU&amp;fs=1" type="application/x-shockwave-flash" width="480" height="385" allowscriptaccess="always" allowfullscreen="true"[/flash:2m8btgdg]
                                    The initial face dividing was actually not so difficult. Treating deformed result surface as a single entity is more tricky... I don't know yet how to do it. So ver. 1.6. release is delayed again.

                                    ver. 1.6. prerelease

                                    1 Reply Last reply Reply Quote 0
                                    • K Offline
                                      kirill2008
                                      last edited by

                                      Still prerelease...
                                      ver. 1.6.(prerelease)

                                      • 2 modes of interactive curve control points dragging: 1) 'preview' mode: shows curve preview while dragging, 2) 'full' mode: deforms the curve (it affects instances 'glued' to curve immediately, but sometimes causes SU crashes...), <Home> key to switch to 'preview' mode, <End> key to switch to 'full' mode.

                                      Video shows 2 modes difference, when curves which are under control are also in use within 'blended object' (sublend.rb)
                                      [flash=480,385:1q5ubzq1]http://www.youtube.com/v/Wt_Isl5tzP8&hl=ru_RU&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"[/flash:1q5ubzq1]

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

                                        thanks a million !!
                                        Great Plugin

                                        " An eye for an eye only ends up making the whole world blind "
                                        Gandhi

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

                                          Amazing !!!
                                          Thank you so much !!!

                                          1 Reply Last reply Reply Quote 0
                                          • K Offline
                                            kirill2008
                                            last edited by

                                            New version:
                                            ver. 1.6.( prerelease)
                                            New features:

                                            • the current version shows geometry deformation preview while moving control points (both geometry group control c-points and curve control c-points)
                                            • it is possible to choose preview mode by hitting <Ins> key (3 modes available: 1. flat-faced surface, 2. surface + edges, 3. wire)
                                              [flash=480,385:33h537rh]http://www.youtube.com/p/5077FD48856CD56D&amp;hl=ru_RU&amp;fs=1" type="application/x-shockwave-flash" width="480" height="385" allowscriptaccess="always" allowfullscreen="true"[/flash:33h537rh]
                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 4 / 6
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement