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.
    • 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
                                  • utilerU Offline
                                    utiler
                                    last edited by

                                    This is nuts; really. I can't beleive how fast you are developing this plugin, Mr Kirill!!!

                                    purpose/expression/purpose/....

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

                                      @unknownuser said:

                                      Would it be possible to also attach the Sketchup file so I can try out the same file as you are using.

                                      interactive tests file
                                      File with the model, that appears in the demo video of ver. 1.8.
                                      Unfortunately interactivity enabled only in run-time (untill skp file is not closed) and I don't know yet how to save interaction data to skp file (maybe it's not possible at all). So if you want to play with initial faces, then it is necessary to make new blended object.

                                      Ver. 1.8. does not support interaction with curves yet, because it is difficult to get the curve object from the Sketchup.active_model... The point is that active_model contains no curves (curve is just a 'conceptual entity' "all circles, arcs, and arbitrary curves are really just edges that are bound together in sequence"). So it's necessary to perform some tricky things to obtain the certain curve, that you need.
                                      Edges also behave strange: moving of the edge or moving of the edge vertex does not envoke onChangeEntity event handler ๐Ÿ˜•. Only if you change some properties of the edge (for example layer or smoothness), then modify event rises and onChangeEntity envokes.

                                      [flash=425,344:2o85cxyz]http://www.youtube.com/v/ZgOUZR3Z2xE&hl=ru&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"[/flash:2o85cxyz]

                                      So ver. 1.8. supports interaction only between 2 faces and face+construction point. I'm not sure if I can solve myself edge and curve problems.

                                      1 Reply Last reply Reply Quote 0
                                      • MALAISEM Offline
                                        MALAISE
                                        last edited by

                                        It's amazing the way you progress. I hardly have time to test the current version, and you're already publishing the next version....... ๐Ÿ˜„

                                        Thanks a lot for sharing.

                                        MALAISE ๐Ÿ‘ ๐Ÿ‘

                                        La Connaissance n'a de valeur que partagรฉe

                                        1 Reply Last reply Reply Quote 0
                                        • P Offline
                                          PRSS
                                          last edited by

                                          Fantastic, I say !!!

                                          With best regards
                                          PRSS

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

                                            @kirill2008 said:

                                            @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,

                                            Yes I have been there too ๐Ÿ˜„ sometimes I have even dreamed of the answer, but forgot to write it down just before I woke up. Then later I would get a deja vรบ moment where the solution I eventually arrived at was the same as what I had dreamed of.

                                            I like the path idea.

                                            [my plugins](http://thingsvirtual.blogspot.ca/)
                                            tomot

                                            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