• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ 30% Off | Artisan 2 on sale until April 30th Buy Now

[Plugin] Skin.rb

Scheduled Pinned Locked Moved Plugins
237 Posts 66 Posters 151.5k 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.
  • G Offline
    Gaieus
    last edited by 21 Nov 2007, 04:50

    @bellwells said:

    ...Gaieus' suggestion of removing (placing a # in front of) the 2 lines in the script which calls the 2 UI message boxes is VERY helpful. For others, those 2 lines start with UI "fakestart" and UI "!" They are probably 2/3 the way down the code. Disabling these allows the script to create the faces immediately.

    See, Ron, that's all I know of scripting; "removing lines" - i.e. "destruction" πŸ˜„

    @unknownuser said:

    Well, as the school schedule settled in for me, it did so for my friends and family. I also started playing tennis. I have spent practically no time at all on the script since the last post. Sad, isn't it, but please be patient as there is very little work left to be done.

    Just take your time, Darrel! These things are way more important than a bunch of whining, old fart like us who can actually wait...
    πŸ˜„

    Gai...

    1 Reply Last reply Reply Quote 0
    • A Offline
      architectboy
      last edited by 21 Nov 2007, 04:51

      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 21 Nov 2007, 04:51

        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 21 Nov 2007, 04:53

          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
          • E Offline
            Edson
            last edited by 21 Nov 2007, 04:54

            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 21 Nov 2007, 04:54

              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 21 Nov 2007, 04:56

                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 21 Nov 2007, 04:58

                  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 21 Nov 2007, 04:59

                    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 21 Nov 2007, 05:00

                      @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 21 Nov 2007, 05:02

                        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 21 Nov 2007, 05:03

                          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 21 Nov 2007, 05:04

                            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 21 Nov 2007, 05:05

                              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 21 Nov 2007, 05:05

                                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 21 Nov 2007, 05:06

                                  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 21 Nov 2007, 05:07

                                    This new version is working fantastic!
                                    Thank you!!

                                    Daniel S

                                    1 Reply Last reply Reply Quote 0
                                    • E Offline
                                      Edson
                                      last edited by 21 Nov 2007, 05:07

                                      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 21 Nov 2007, 05:08

                                        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 21 Nov 2007, 05:08

                                          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
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 6
                                          • 11
                                          • 12
                                          • 4 / 12
                                          4 / 12
                                          • First post
                                            61/237
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement