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

      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
                                    • N Offline
                                      narrator
                                      last edited by

                                      thanks for the beautiful script!!

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

                                        Darrel, you suggested I give the Catalina 27 lines a go with your script. I just finished it with the most recent version. See the attached skippy. It did pretty well although it had a bit of trouble between two stations and couldn't handle the bow. I expect that could be dealt with differently but still using your script. I could use the waterlines instead of stations at the bow. The aft end of the keel is a problem but I don't think it is the fault of your script.

                                        Good work on this. I think it'll be handy in a lot of applications.

                                        Dave


                                        Skinned Catalina.skp

                                        Etaoin Shrdlu

                                        %

                                        (THERE'S NO PLACE LIKE)

                                        G28 X0.0 Y0.0 Z0.0

                                        M30

                                        %

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

                                          Thanks to all for the feedback. I will look into this, Dave.

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

                                            Well, I have already come up with a way to fix this, so the next version will have this fix, not complex shapes. It should be out pretty fast though.

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

                                            Advertisement