sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Blend ver 1.12.

    Scheduled Pinned Locked Moved Plugins
    80 Posts 35 Posters 63.7k Views 35 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.
    • D Offline
      Daniel S
      last edited by

      Thank you for adding color blending ๐Ÿ˜ ๐Ÿ˜ ๐Ÿ˜

      I have problems with this new version too (I use SU7).

      Sometimes work with results like the ones Dave R post above.
      In other cases the plugin dosenยดt do anything and prints this in the ruby console:

      Error: #<NoMethodError: undefined method back_material' for #<Sketchup::Edge:0x67b7f70>> C:/Archivos de programa/Google/Google SketchUp 7/Plugins/sublend.rb:68:in blend'
      C:/Archivos de programa/Google/Google SketchUp 7/Plugins/sublend.rb:270
      C:/Archivos de programa/Google/Google SketchUp 7/Plugins/sublend.rb:248:in `call'

      Daniel S

      1 Reply Last reply Reply Quote 0
      • W Offline
        watkins
        last edited by

        Dear Kirill,

        It might be a good idea to post versions 1.0 to 1.5 as the later versions seem to be problematic. Version 1.0 seemed to work quite nicely. I too have over-written previous versions and so cannot go back a step or two.

        Kind regards,
        Bob

        1 Reply Last reply Reply Quote 0
        • W Offline
          watkins
          last edited by

          Dear Kirill,

          Version 5 doesn't seem to work in SU Pro 7, even for simple shapes, but don't give up.


          Blending two circles.jpg


          Blending two squares.jpg

          1 Reply Last reply Reply Quote 0
          • W Offline
            watkins
            last edited by

            Thanks for posting versions 1.2 and 1.4. I will test them out with areas. Previously, I only tested this plugin with arcs, and that still works in V1.5.

            1 Reply Last reply Reply Quote 0
            • B Offline
              blajnov
              last edited by

              @watkins said:

              Dear Kirill,

              It might be a good idea to post versions 1.0 to 1.5 as the later versions seem to be problematic. Version 1.0 seemed to work quite nicely. I too have over-written previous versions and so cannot go back a step or two.

              Kind regards,
              Bob

              There are three previous versions:
              v 1.2
              v 1.3
              v 1.4
              Rename files in sublend.rb


              sublend__1.2.rb


              sublend_1.4.rb


              sublend_1.3.rb

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

                Guys, I don't know yet how to prevent skin (mesh) turning inside out ๐Ÿ˜ž The point is that script processes vertices with corresponding indices: so maybe flipping normal or 180 degrees rotation (or 90) of one of 2 faces may help.
                Missing triangles (they vanished after color blending feature addition) have come back now ๐Ÿ˜„ (ver. 1.6)
                Error messages kind of "undefined method `back_material' for... " debugged (I guess ๐Ÿ˜„ ).

                1 Reply Last reply Reply Quote 0
                • W Offline
                  watkins
                  last edited by

                  Dear Kirill,

                  Here is a quick question. You mention Sketchup 6 in both the first post and in the introduction to your plugin. Does this plugin work well in version 6? Many people have migrated to version 7, although with little added benefit.

                  Keep going, you are doing a great job.

                  Kind regards,
                  Bob

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    cosycat
                    last edited by

                    Thanks for all of the updates, this is really getting there. I have noticed that the result (v6) does depend on the order in which the points are drawn (for closed shapes at least) - this might explain some of the inside out results people are getting.
                    Quick example, the numbers show the order in which the upper shape points were added
                    bendtwist.jpg

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

                      Ver 1.6 demo videos:
                      Filtration capabilities video:
                      [flash=425,344:17c3bm6v]http://www.youtube.com/v/Pml0gn-5fuY&hl=ru&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"[/flash:17c3bm6v]

                      Blending between different types of entities demo:
                      [flash=425,344:17c3bm6v]http://www.youtube.com/v/0gchAp7Yje8&hl=ru&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"[/flash:17c3bm6v]

                      Fixing inside out problem variant:
                      [flash=425,344:17c3bm6v]http://www.youtube.com/v/6PvRKfzm-g4&hl=ru&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"[/flash:17c3bm6v]
                      As cosycat mentioned:

                      @cosycat said:

                      the result (v6) does depend on the order in which the points are drawn

                      1 Reply Last reply Reply Quote 0
                      • olisheaO Offline
                        olishea
                        last edited by

                        WOW. This is an awesome plugin. I tried using skin.rb for meshing between edges but it never worked for mac (i think). so im glad you can do it with this plugin!!

                        Amazing work, one of the best plugins around. the modeling possibilities are endless, I'm loving it!

                        oli

                        1 Reply Last reply Reply Quote 0
                        • utilerU Offline
                          utiler
                          last edited by

                          Kirill2008,
                          Have you thought about adding a path function to this script?
                          [see attached]
                          Blend-Path.png

                          Your generosity is much appreciated, I only wish I knew ruby too so I could reply the favor....

                          purpose/expression/purpose/....

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

                            @utiler said:

                            Have you thought about adding a path function to this script?

                            Yes, I think about it almost every day (and some times night ๐Ÿ˜„ too). I want to add a path processing very much, but it looks like such task is less obvious than already implemented algorithm. And maybe it's better to make a brand-new plugin with path processing, because it will work the other way than existing plugin.
                            Ver. 1.7. demo video, shows blending between face and construction point and context menu "Blend" command usage.
                            [flash=425,344:269yb5p5]http://www.youtube.com/v/-dfMofxc3pw&hl=ru&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"[/flash:269yb5p5]

                            I don't know yet how to implement custumization of context menu items, so "Blend" command appears always when more than 1 object is selected

                            1 Reply Last reply Reply Quote 0
                            • kenK Offline
                              ken
                              last edited by

                              Not sure how you are fixing the inside out problem. I can't tell exactly what you are doing. Could you please try again?

                              Thanks in advance

                              Ken

                              Fight like your the third monkey on Noah's Ark gangway.

                              1 Reply Last reply Reply Quote 0
                              • B Offline
                                Ben Ritter
                                last edited by

                                Kirill,

                                Thank you so much for the script, very useful.

                                Is there a bug with the blending of colors, I can't seem to get that to work?

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

                                  @unknownuser said:

                                  Not sure how you are fixing the inside out problem. I can't tell exactly what you are doing. Could you please try again?
                                  Ken

                                  I'm flipping the face normal (lower one).

                                  @ben ritter said:

                                  Is there a bug with the blending of colors, I can't seem to get that to work?

                                  Maybe. Note that color blending enabled only for 2 faces yet (does not work for curves, edges and construction points) and both face front material and face back material has to differ from default one. Hope that helps.

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

                                    Olishea, glad to hear sublend works on mac ๐Ÿ‘ (I was just going to ask someone to try it on mac). Thank's for testing and feedback and happy blendings ๐Ÿ˜„
                                    Ofcourse it's not my achievement ๐Ÿ˜„ , it's just because ruby is cross platform.

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

                                      Now the implementation of interaction is in progress (it is not yet stable so ver 1.8 will appear a little bit later). I think that interaction ability will solve (more or less) the inside out problem. I mean it will be easier to fix it by moving, rotating and/or flipping one of the initial faces and the result mesh or set of intermediate faces/curves will refresh automatically. This will be the step towards path processing also.
                                      [flash=425,344:f7q8z0yv]http://www.youtube.com/v/IYS69O6idg8&hl=ru&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"[/flash:f7q8z0yv]

                                      1 Reply Last reply Reply Quote 0
                                      • GaieusG Offline
                                        Gaieus
                                        last edited by

                                        Come on, Kirill, this is too much for me today. ๐Ÿ˜ฎ ๐Ÿ˜ฒ ๐Ÿ˜• ๐Ÿ˜’

                                        Gai...

                                        1 Reply Last reply Reply Quote 0
                                        • EarthMoverE Offline
                                          EarthMover
                                          last edited by

                                          Mr Krillshot....fantastic work and dedication to continually improving your script. Can't wait to see v. 1.8! Thanks so much!

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

                                          1 Reply Last reply Reply Quote 0
                                          • kenK Offline
                                            ken
                                            last edited by

                                            Mr Krillshot

                                            Great pluging, however, I am having trouble duplicating all the video you are showing. Would it be possible to also attach the Sketchup file so I can try out the same file as you are using. This way I would know if the problems I am having are with my computer or the plugin.

                                            Again thanks for the pluging

                                            Ken

                                            Fight like your the third monkey on Noah's Ark gangway.

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

                                            Advertisement