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

    [Plugin] Skin.rb

    Scheduled Pinned Locked Moved Plugins
    237 Posts 66 Posters 151.5k Views 66 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.
    • A Offline
      architectboy
      last edited by

      So, I finally got enough time to work on the script! And put out another version! ๐Ÿ˜„ I am calling this version 2.0 because of just how much has internally changed. There are still bugs, there will be for a while and I have a few (4-6) features that I will put on. The final version at which I will discontinue work on the script will be called Version 3.0


      skin.zip

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

        I've got just the project to use this on. I'll try 2.0.

        For those playing "a fun little game". ๐Ÿค“ INSIDE JOKE ALERT Granted, but it crashed my computer and everyone else's and now your effort to help us has resulted in great pain. ๐Ÿ˜‰ NOT REALLY

        1 Reply Last reply Reply Quote 0
        • A Offline
          AcesHigh
          last edited by

          can you post another of that TEST IMAGE with the several shapes, so we can see what changed in version 2.0?

          [AcesHigh]

          1 Reply Last reply Reply Quote 0
          • EdsonE Offline
            Edson
            last edited by

            good call, aces.

            that image (skin test) is very intriguing as it suggests that the script did less complex things as it evolved in time.

            edson mahfuz, architect| porto alegre โ€ข brasil
            http://www.mahfuz.arq.br

            1 Reply Last reply Reply Quote 0
            • A Offline
              architectboy
              last edited by

              While this may not seem like very much improvement, from my perspective is is now Way easier to add functionality to it (because of the code structure). Progress will be relatively quick from now on.


              SkinTest2.jpg

              1 Reply Last reply Reply Quote 0
              • A Offline
                architectboy
                last edited by

                Yay! another version. Version 2.1 can be told to fix it's own mes ups, meaning that the second test specimen below now works "all" of the time. Since the icons are not changing at all, this is the last time in a while that I will upload a zip file. For further versions I will only upload the .rb file.


                skin.rb


                skin.zip

                1 Reply Last reply Reply Quote 0
                • F Offline
                  Fletch
                  last edited by

                  I love how it says at the top of this forum "Do not discuss scripts in this forum" and everyone proceeds to discuss the scipt... even the mods. ๐Ÿ˜„

                  So, I will continue.

                  Thanks for this script. I did the circle on top, box on the bottom test, and the Line on top, arc on the bottom test. Here's my suggestion. The script should figure out the lowest poly lines chosen and divide them to equal the same number of segments as the highest-poly lines. Then it should stitch them, working it's way along to make triangles between each consecutive nearest segment to one another. But that's just my opinion.


                  skin_ruby_test_bug.jpg

                  Fletch
                  Twilight Render Cross-platform Plugin for SketchUp on PC or Mac

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    architectboy
                    last edited by

                    The reason that I don't do that, although it would be Way easier, is that when you're doing complicated shapes it does not produce favorable results. But now that you've mentioned it, I have made up my mind that if someone shows me a tutorial on how to make settings for scripts I will add that as an option.

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      RegH
                      last edited by

                      @fletch said:

                      I love how it says at the top of this forum "Do not discuss scripts in this forum" and everyone proceeds to discuss the scipt... even the mods. ๐Ÿ˜†

                      Ya got me curious (sorry about OT roaming)..
                      I don't see the text you refer to (at top of this page? of page one?) ?? โ“

                      [RegH]

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        architectboy
                        last edited by

                        Are you talking about this?
                        @unknownuser said:

                        meaning that the second test specimen below now works "all" of the time

                        If you are, the explanation is that I have my settings so that most recent posts are on the top, just mentally replace the word "below" with "above", sorry.

                        1 Reply Last reply Reply Quote 0
                        • F Offline
                          Fletch
                          last edited by

                          I was refering to the sticky at the top of the forum for "ruby scripts depository"

                          Fletch
                          Twilight Render Cross-platform Plugin for SketchUp on PC or Mac

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            RegH
                            last edited by

                            Thanks Fletch, I hope I didn't derail the thread, just felt kind of confused ๐Ÿ˜ณ

                            [RegH]

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              architectboy
                              last edited by

                              I decided to do some research and found that settings are very easy to put into a script. So I am now adding Fletch's idea to the script.

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                architectboy
                                last edited by

                                So, while I am working out the bugs I made with Fletchs idea, I would like to know what to work on next. If I missed any or you come up with more, please tell me.

                                Here's an explanation of the upcoming features:
                                Numerous Sides = The ability to connect multiple sides at once, see pic.
                                Complex Shapes = Doing shapes that are made up of more than just one face or line section.(I have no idea how to do this)
                                Auto Smoothing = It automatically smooths the faces coming from any curves.


                                Multiple feature.jpg

                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  architectboy
                                  last edited by

                                  So fletches idea works marvelously! Here's version 2.2 all working. Check out the options dialog if you would, it will soon have a button for it in the toolbar.

                                  Looking at the poll results, I think I'm going to be working on complex shapes for the next version.


                                  skin.rb

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

                                    This new version is working fantastic!
                                    Thank you!!

                                    Daniel S

                                    1 Reply Last reply Reply Quote 0
                                    • EdsonE Offline
                                      Edson
                                      last edited by

                                      i am probably asking too much, but would you consider doing a sort of guide to skin.rb so that everyone could understand what the script can do and how to do it?

                                      although it means more work for you, it would allow many people to take full advantage of your fine creation.

                                      thanks anyway.

                                      edson mahfuz, architect| porto alegre โ€ข brasil
                                      http://www.mahfuz.arq.br

                                      1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        architectboy
                                        last edited by

                                        Now if anyone understands what the options do and can come up with better wording for them, please tell me


                                        Skin Tut.skp

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

                                          This is great. Having followed the tut and downloaded version 2.2 I can get some really useful work out of this.

                                          Thank you.

                                          I love the idea that 3.0 will be perfect. Every bit of code I've written was always going to be perfect in the next major release too. ๐Ÿ˜›

                                          1 Reply Last reply Reply Quote 0
                                          • EdsonE Offline
                                            Edson
                                            last edited by

                                            darrel,

                                            thanks for the script and for the tutorial. i am going to forward it to my students too. cheers.

                                            edson mahfuz, architect| porto alegre โ€ข brasil
                                            http://www.mahfuz.arq.br

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

                                            Advertisement