[Plugin] Skin.rb

Re: Skin.rb

Postby Gaieus » Wed Nov 21, 2007 5:33 am

Darrel,

Brilliant script.
Nevertheless it gives me a "fakestart" eroor and from then on I have to click for every single edge to be created (and some more clicks/Enters for some reason).

Thanks anyway!
0
User avatar
Gaieus 
 

Re: Skin.rb

Postby architectboy » Wed Nov 21, 2007 5:34 am

Oops, sorry but I forgot to remove some debugging stuff :oops: , those message boxes are just checkpoints along the code to help me figure out where problems are, they don't mean anything.
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

Postby Gaieus » Wed Nov 21, 2007 5:34 am

OK, I deleted the two lines that launched the message boxes. The script works "fluently" now but actually does some irregularities; it does not start stitching from the point which would be logical for me. (See the attached picture)
Instead of the red edge another one from the next point on the circle (to the left) should go to the bottom right corner.
0
User avatar
Gaieus 
 

Re: Skin.rb

Postby architectboy » Wed Nov 21, 2007 5:35 am

There the problem comes up again. I saw it before but couldn't replicate it but apparently you re-found it so I can fix it, now that circles diameter is the same as the squares width, right?
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

Postby Gaieus » Wed Nov 21, 2007 5:35 am

Yes, exactly and it's aligned right above it.
It only does it where it starts stitching - all other lines are in the right place.
0
User avatar
Gaieus 
 

Re: Skin.rb

Postby architectboy » Wed Nov 21, 2007 5:36 am

Thanks for the info :D , it probably is being fixed in the (edited again) ENTIRE REWRITE of the code that I'm doing but I'll check for it when I'm done. Meanwhile you can just use the "Flip Edge" tool from the sandbox tools to fix it.
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

Postby Gaieus » Wed Nov 21, 2007 5:37 am

Yeah, or just redraw that single line. Not a big problem anyway...
Thanks for the script again and hope you can make it even more perfect.
0
User avatar
Gaieus 
 

Re: Skin.rb

Postby architectboy » Wed Nov 21, 2007 5:37 am

So, I was just wondering just how much people would be willing to pay for this script. It will be for free (don't worry :) ), but I just want to see what a reasonable price would be.
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

Postby Gaieus » Wed Nov 21, 2007 5:38 am

Darrel,

You probably know Smustard.com - you can see how much most of the "pay scripts" cost for some kind of a comparison.
0
User avatar
Gaieus 
 

Re: Skin.rb

Postby architectboy » Wed Nov 21, 2007 5:39 am

So, I went to camp last week and am just getting back to the script. Progress is currently slow, so please be patient. I will be releasing a half version soon, hopefully before Sunday, and probably with a question on some logic.
And I think I have my info from the poll, could a moderator please remove it. Thank you. :D
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

Postby Gaieus » Wed Nov 21, 2007 5:39 am

Darrel,

You should also be able to delete it by editing your first post but I deleted it for you now.

I1m looking forward to the progress eagerly though don't want to "push" you.
:)
0
User avatar
Gaieus 
 

Re: Skin.rb

Postby Tobobo » Wed Nov 21, 2007 5:40 am

I'm just over awed with you programming, I struggled with Visual Basic. Kudos to you.
0
Toby

Philippians 4:13

I can do everything through him who gives me strength.
User avatar
Tobobo 
 

Re: Skin.rb

Postby architectboy » Wed Nov 21, 2007 5:41 am

Ok, this script is going Ridiculously SLOW! :oops: 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).
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

Postby architectboy » Wed Nov 21, 2007 5:41 am

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.
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

Postby Masta Squidge » Wed Nov 21, 2007 5:42 am

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.
0

Masta Squidge 
 

Re: Skin.rb

Postby architectboy » Wed Nov 21, 2007 5:43 am

It will be considered when I come to that point. Thanks for the idea :D
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

Postby Didier Bur » Wed Nov 21, 2007 5:44 am

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,
0
Didier Bur
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur 
 

Re: Skin.rb

Postby architectboy » Wed Nov 21, 2007 5:45 am

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.
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

Postby Gaieus » Wed Nov 21, 2007 5:45 am

I am actually using 1.9 - to my (more or less) best satisfaction so far...
:)

Thanks for your efforts, Darrel!
0
User avatar
Gaieus 
 

Re: Skin.rb

Postby bellwells » Wed Nov 21, 2007 5:46 am

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.
0
Ron

bellwells 
Premium Member
Premium Member
 

Re: Skin.rb

Postby architectboy » Wed Nov 21, 2007 5:46 am

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!
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

Postby Gaieus » Wed Nov 21, 2007 5:50 am

bellwells wrote:...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" :)

Architectboy wrote: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...
:)
0
User avatar
Gaieus 
 

Re: Skin.rb

Postby architectboy » Wed Nov 21, 2007 5:51 am

So, I finally got enough time to work on the script! And put out another version! :D 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
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

Postby SchreiberBike » Wed Nov 21, 2007 5:51 am

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

For those playing "a fun little game". :ugeek: 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
0

SchreiberBike 
 

Re: Skin.rb

Postby AcesHigh » Wed Nov 21, 2007 5:53 am

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


[AcesHigh]
0

AcesHigh 
 

Re: Skin.rb

Postby Edson » Wed Nov 21, 2007 5:54 am

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.
0
edson mahfuz, architect | porto alegre • brasil
http://www.mahfuz.arq.br
User avatar
Edson 
Global Moderator
 

Re: Skin.rb

Postby architectboy » Wed Nov 21, 2007 5:54 am

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.
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

Postby architectboy » Wed Nov 21, 2007 5:56 am

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.
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

Postby Fletch » Wed Nov 21, 2007 5:58 am

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. :D

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.
0

Fletch 
Twilight Render
 

Re: Skin.rb

Postby architectboy » Wed Nov 21, 2007 5:59 am

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.
0

architectboy 
PluginStore Author
PluginStore Author
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

PreviousNext


 

Return to Plugins

cron

Who is online

Users browsing this forum: kimuynn082, RRuiz_GPJ, Verbitsky, williamho8 and 9 guests

Visit our sponsors: