• 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.
  • A Offline
    architectboy
    last edited by 21 Nov 2007, 04:41

    Ok, this script is going Ridiculously SLOW! 😳 I must admit that I like architecture much more than programing, but I am waiting until this script is done before doing any. But since programing is an afterthought time fill-in and when I am programing it goes quite slowly... But there is good news, the code for the script is going to be a lot faster and better, there is progress, and the end is in sight (I have the final logic in my head).

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

      My family went on a 2 week vacation and when we got back it was about time for school to start. So now it is about a month since I have worked on the script, and my school schedule is pretty tight leaving me not much free time, and the free time that I do have normally goes to other things. But the script is still moving along, slowly though.

      1 Reply Last reply Reply Quote 0
      • M Offline
        Masta Squidge
        last edited by 21 Nov 2007, 04:42

        Hi, I just came in to say thanks for the nice script, and thus far I'm able to work it with very few errors.

        But I was wondering will you be including an option to auto-smooth the lines as they are made? I know its rather early in the life of your script, but that would be a helpful addition.

        Thanks again for the script, its a time saver and works alot better than the from contours tool in alot of cases.

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

          It will be considered when I come to that point. Thanks for the idea πŸ˜„

          1 Reply Last reply Reply Quote 0
          • D Offline
            Didier Bur
            last edited by 21 Nov 2007, 04:44

            Hi ArchitectBoy,

            Maybe you could have a look at the new versions of extrude_lines.rb or at extrudelinetool.rb. They "auto-soft" extruded edges when original edges are parts of curves, arcs, circles.
            Hope this helps,

            DB

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

              So life is now settling into the school pattern and I am now getting more time to work on the script. Now it just crossed my mind to check out all the versions that I have put out to you guys to see just how much the script had progressed through time. The results are sad, thus giving me a lot of reason to stop being lazy with the script. I almost feel like apologizing, but I know that you nice people wont accept one. If your wondering what I mean, just take a look at these test results. The unconnected ones came up with an error, the version numbers are on the side and the last row is to show what they were tested on.


              SkinTest.jpg

              1 Reply Last reply Reply Quote 0
              • G Offline
                Gaieus
                last edited by 21 Nov 2007, 04:45

                I am actually using 1.9 - to my (more or less) best satisfaction so far...
                πŸ˜„

                Thanks for your efforts, Darrel!

                Gai...

                1 Reply Last reply Reply Quote 0
                • B Offline
                  bellwells
                  last edited by 21 Nov 2007, 04:46

                  I think this script works well. I haven't tried it on complicated shapes, though.

                  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.

                  Ron

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

                    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 πŸ˜„.

                    Man, does that code look different than last version!

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

                                          Advertisement