• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin] Control points ver. 1.6.

Scheduled Pinned Locked Moved Plugins
115 Posts 42 Posters 59.4k Views
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.
  • E Offline
    EarthMover
    last edited by 15 Dec 2009, 02:32

    TIG, got a DIY quick fix for one step undo?

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

    1 Reply Last reply Reply Quote 0
    • P Offline
      paulbarton
      last edited by 15 Dec 2009, 07:58

      I have an issue whereby the initial move does not seem to register. If i then do another move, and undo it (!) the mesh jumps to the previous position. And just to make matters worse, this only happens intermittently!

      1 Reply Last reply Reply Quote 0
      • K Offline
        kirill2008
        last edited by 15 Dec 2009, 08:36

        @mitcorb said:

        Can this script recognize and utilize construction/control points placed by another ruby script?

        This is an interesting idea. You mean you want to select a set of existing c-points + geometry group then make c-points not just c-points, but control c-points. I think it's possible, but it is not implemented yet in the current version.

        1 Reply Last reply Reply Quote 0
        • K Offline
          kirill2008
          last edited by 15 Dec 2009, 08:41

          @paulbarton said:

          I have an issue whereby the initial move does not seem to register. If i then do another move, and undo it (!) the mesh jumps to the previous position. And just to make matters worse, this only happens intermittently!

          Speaking of undo: the work on improving 'undo' behavior is in progress (I want to make it more 'natural', not sure if I can but I'll try). In the current version it is necessary to make undo several times to get everything to the initial state.
          Note: it is not necessary to wait until geometry transformation finishes, you may undo previous c-point movement while the group refreshes.
          For example, you moved c-point, then immidiately decided to get everything back: press 'ctrl+z' combination 3-times immediately to get the c-point back and to cancel group transformation.

          I'll try to find out why the initial move does not seem to register.

          1 Reply Last reply Reply Quote 0
          • M Offline
            mitcorb
            last edited by 15 Dec 2009, 16:19

            Kirill:
            On the outside c-points question, I thought I had a ruby script loaded prior to install of that placed construction points. I cannot find it now. What I did not fully realize is that cpoints could mean construction point or control point. Evidently your cpoints do more than simply highlight a target point in space.
            Sooo-- maybe my question was a bit naive.
            But thanks for the reply.
            I am putting this script through some modeling tests to learn its use.
            Thanks for the opportunity.
            mitcorb

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

            1 Reply Last reply Reply Quote 0
            • K Offline
              kirill2008
              last edited by 15 Dec 2009, 17:02

              @mitcorb said:

              Sooo-- maybe my question was a bit naive.

              But it gave a good idea!
              I think that it can be a kind of alternative to 'entity scanner' (it was discussed here: http://forums.sketchucation.com/viewtopic.php?f=323&t=22709&st=0&sk=t&sd=a#p191629 ). So it would be possible to link control c-points back manually to groups and/or curves after closing and opening the file. And it would be also possible to link any existing c-points to any group.
              What do you think?

              1 Reply Last reply Reply Quote 0
              • M Offline
                mitcorb
                last edited by 16 Dec 2009, 17:55

                Wouldn't the plain old cpoints that may have been inserted in the model prior to running this plugin have to change their status to Control cpoints? Could your plugin look for pre-existing cpoints(construction points) and change them?
                Just in case you understand- I do not have any Ruby expertise -yet.

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

                1 Reply Last reply Reply Quote 0
                • C Offline
                  Carrozza
                  last edited by 16 Dec 2009, 19:50

                  Thanks for the update Kirill! ☀

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    EarthMover
                    last edited by 16 Dec 2009, 22:58

                    HOLY SHIT!!!! Sorry...but after watching how fast you deformed that toilet in the 3rd video, I'm completely slack jawed. FFD on super steroids! I'm boggled by the speed krill. I think if the core group of power scripters got together, you guys could cause global revolution. Amazing stuff....Blend, 2 faces and a path and this script...all tremendously powerful, super fast and have post operation editing capabilities. I wish every script performed as fast. I don't know jack about coding, but your work deserves a shot and a beer!

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

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      KXI System
                      last edited by 17 Dec 2009, 01:40

                      Very nice!

                      Getting the perfect sig is hard...

                      Google it!

                      1 Reply Last reply Reply Quote 0
                      • K Offline
                        kirill2008
                        last edited by 17 Dec 2009, 15:15

                        @mitcorb said:

                        Wouldn't the plain old cpoints that may have been inserted in the model prior to running this plugin have to change their status to Control cpoints? Could your plugin look for pre-existing cpoints(construction points) and change them?
                        Just in case you understand- I do not have any Ruby expertise -yet.

                        I guess, I got it now
                        http://smiles.kolobok.us/standart/ok.gif

                        @earthmover said:

                        I don't know jack about coding, but your work deserves a shot and a beer!

                        http://smiles.kolobok.us/big_standart/drinks.gif

                        1 Reply Last reply Reply Quote 0
                        • Y Offline
                          Yanman
                          last edited by 19 Dec 2009, 05:59

                          Wow this is amazing Plugin
                          thank you 👍 👍 👍

                          1 Reply Last reply Reply Quote 0
                          • EscapeArtistE Offline
                            EscapeArtist
                            last edited by 22 Dec 2009, 22:19

                            
                            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 23 Dec 2009, 02:13

                              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 23 Dec 2009, 04:49

                                @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 23 Dec 2009, 05:14

                                  @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 24 Dec 2009, 00:33

                                    @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
                                    • E Offline
                                      EarthMover
                                      last edited by 24 Dec 2009, 01:10

                                      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 24 Dec 2009, 01:56

                                        @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 12 Jan 2010, 19:30

                                          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&hl=ru_RU&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
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 6
                                          • 3 / 6
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement