[Plugin] Skin.rb

[Plugin] Skin.rb

Postby architectboy » Wed Nov 21, 2007 4:19 am

Poll and results transfered from the old board

What feature should be added next?
Poll runs till Sat Nov 24, 2007 7:01 pm
Numerous Sides 32% [ 8 ]
Complex Shapes 40% [ 10 ]
Auto Smoothing 24% [ 6 ]
Something Else 4% [ 1 ]

So if you haven't heard, the Sketchup Pro Forums have downgraded to a google group. It went off line for the change at 11:45 AM today (Pacific Time) and my membership is still pending for the group. So since I was probably going to come here anyway, I thought I would move while I was waiting and bring my lofting script in progress with me (skin.rb).
1
Last edited by architectboy on Tue Oct 28, 2008 5:25 am, edited 1 time in total.

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

Postby boofredlay » Wed Nov 21, 2007 4:24 am

Welcome, we are glad you are here.
0
User avatar
boofredlay 
Global Moderator
 

Re: Skin.rb

Postby Gaieus » Wed Nov 21, 2007 4:24 am

Welcome and thanks for the immediate contribution!
(My membership is also just pending... and pending...)
0
User avatar
Gaieus 
 

Re: Skin.rb

Postby Edson » Wed Nov 21, 2007 4:25 am

hi archboy,

welcome. may i ask what exactly does skin.rb do?

regards.

edson
0
edson mahfuz, architect | porto alegre • brasil
http://www.mahfuz.arq.br
User avatar
Edson 
Global Moderator
 

Re: Skin.rb

Postby juju » Wed Nov 21, 2007 4:30 am

Welcome to the board and thanks for the contribution. In order to make contributions more useful we have requested that persons submitting ruby scripts also explain their usage as posted here and here.

Once we have these we can then add your scripts to the Ruby scripts depository.

Thanks again.
0
Save the Earth, it's the only planet with chocolate.
User avatar
juju 
Premium Member
Premium Member
 

Re: Skin.rb

Postby architectboy » Wed Nov 21, 2007 4:33 am

Well, when the script is done it will take two (maybe more, later) sides and connect them. To use it all that you would have to do is select the two sides and hit a button. For extra clarity, here are some examples, this one
Attachment:

Skinrb.jpg


is not quite (in version 1.7) doable with the script (it works about half of the time) but this one
Attachment:

Skinrb2.jpg


was done with version 1.7 (not the latest version) of the script without any issues.
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

Postby RickW » Wed Nov 21, 2007 4:37 am

Welcome!

Re: groups, I also had the "pending" issue. I finally ended up cancelling and re-joining, which worked. I now have access. But I still like it better over here than in groups...
0

RickW 
 

Re: Skin.rb

Postby architectboy » Wed Nov 21, 2007 4:38 am

Yea, that worked for me to, just unsubscribe, resubscribe, tell them I'm leaving, And Unsubscribe! :) . And as for the script, here's version 1.8 with connecting faces mostly working now. And tell me if the upload didn't go well.
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

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

Could someone who is good at graphic design make some icons for a tool bar for this script? I need 2 icons, one for the connect sides command, and another for a "clean selection" command (it's another one or those remove coplanar edges tools, but it removes faceless edges to), thanks for any help!
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

Postby baz » Wed Nov 21, 2007 4:40 am

heres a couple of quickie icons for discussion, Im not clear what the 'selecton' tool does tho.
baz
0
I am not an early bird or a night owl, I am some form of permanently exhausted pidgeon.
User avatar
baz 
 

Re: Skin.rb

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

Yes, I like the one for the connecting sides, thank you! And as for the clean selection tool it's hard to explain, put a picture is worth a thousand words, right? The reason that I included this tool is that I call it from inside the script.
Attachment:

CleanSelectionDemonstrate.jpg


Script Update: I think that I have just figured out why it wont successfully do lines :roll: (without the code to catch it) but since it is bed time I will go to bed and fix that tomorrow.
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

Postby Krisidious » Wed Nov 21, 2007 4:42 am

yes I've been digging the clean selection... it's awesome...
0
By: Kristoff Rand
Home Designer
Unique House Plans
User avatar
Krisidious 
 

Re: Skin.rb

Postby baz » Wed Nov 21, 2007 4:44 am

how about these?
baz
0
I am not an early bird or a night owl, I am some form of permanently exhausted pidgeon.
User avatar
baz 
 

Re: Skin.rb

Postby baz » Wed Nov 21, 2007 4:45 am

here they are again at about the right size
0
I am not an early bird or a night owl, I am some form of permanently exhausted pidgeon.
User avatar
baz 
 

Re: Skin.rb

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

They are very nice and clear, I like them, thank you again. And if you can, would you make them the same colors as the standard ones to make them look more official (I don't think you would leave them pink). As, for the script, I didn't do much work on it today because it's my brothers birthday
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

Postby baz » Wed Nov 21, 2007 4:47 am

Happy to change the colour, not sure what you mean by 'standard' lotsa colours on the toolbars, (including pink :)
you choose, I think you need a bright colour tho.
baz.

ps: I love the way the spell checker thinks Im spelling 'colour' wrong! Ok color. happy now?
0
I am not an early bird or a night owl, I am some form of permanently exhausted pidgeon.
User avatar
baz 
 

Re: Skin.rb

Postby architectboy » Wed Nov 21, 2007 4:47 am

Oh, well if you've seen pink ones that's fine with me, but I've only seen brownish ones so that's what I would be more comfortable with. And a bright color would probably make it easier to see, good idea. And should I put "Baz" in the credits or something else :?:

ps: color is only spelled colour by the British (see http://www.dictionary.com)
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

Postby baz » Wed Nov 21, 2007 4:48 am

its your call on the colour.
I dont need a credit, glad to help you ruby wizards for a change.
baz
0
I am not an early bird or a night owl, I am some form of permanently exhausted pidgeon.
User avatar
baz 
 

Re: Skin.rb

Postby PeterCharles » Wed Nov 21, 2007 4:49 am

May I say how much I appreciate the skin.rb script. :D

I can use SketchUp to create both ends of sheet metal 'square to rounds', 'skin.rb' will join the points, 'jf_unfoldtool.rb' will unfold a flat pattern which I can export full size as a DXF profile and feed to a laser profiler.

Magic :lol:
0

PeterCharles 
 

Re: Skin.rb

Postby architectboy » Wed Nov 21, 2007 4:49 am

As for the color, I would like it brown like the ones that come with sketchup, just a little bit lighter though :D . Now I don't know why I must disagree so much with someone I'm grateful to for helping me, but if I don't put your name in the credits and say that I did it all by myself I would be lying, and I was just wondering if "Baz" would be good enough or if you would like you real name in there (or if "Baz" is your real name). And if you cant get the background to be transparent, just send it to me withought any antialiasing and I will erase the background then antialias it.
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

Postby Edson » Wed Nov 21, 2007 4:50 am

i look forward to getting skinned.

cheers.

edson
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:20 am

Baz, I just took the large pictures of the icons, colorized them to my liking, and made them fit for being buttons. So the work load is now off of you but if you already have them just put them up and we'll see which ones are better. And thank you, Thank you, Thank You! for the icons :D :D :D

The script is coming along nicely and here is a in-between version with non-branching lines working, and it has the icons too. Just unzip everything into the Plugins folder.
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

Postby Daniel S » Wed Nov 21, 2007 5:21 am

Thank you!!!
It works with lines too!! A great script and very very usefull.
Thank you!!!
Daniel S
0

Daniel S 
 

Re: Skin.rb

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

Warning: the in-between versions are Very buggy :!:
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

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

So, since I was getting slightly tired of programing I decided to take a break and show you guys just what the plans for future versions are. Each picture shows what that version will do in one operation. The current version is 1.8, working on 1.9.

version1[1].9.jpg

version1[1].8.jpg

Versions1-1[1].7.jpg
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

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

Here are the rest. And all the versions in-between 1.0 and 1.7 had slightly different ways of doing the same thing, until 1.7 finally allowed enough expansion.
version2[1].0.jpg

version1[1].10.jpg
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

Postby baz » Wed Nov 21, 2007 5:29 am

ok ab here they are again with the colour change, exported without aa.

baz

edit: just saw yours, they look fine.
0
I am not an early bird or a night owl, I am some form of permanently exhausted pidgeon.
User avatar
baz 
 

Re: Skin.rb

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

Ahhh... Perfect ;) my colorizing left a odd tinge of pink in it but this will do very well.
0

architectboy 
PluginStore Author
PluginStore Author
 

Re: Skin.rb

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

hi archboy (what about giving us your name?),

each new post makes my mouth water more than the previous one. if you are doing this at 14 just image what you will be doing at 30!

cheers.

edson
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:32 am

So here is as close to version 1.9 as it's going to get because I ran into some trouble and think that it will be easier to fix it after changing to version 1.10 and beware that in-between versions are buggy! And as for my real name, it is in the copyright, and yes I to wonder what great things I will be doing at 30.
0

architectboy 
PluginStore Author
PluginStore Author
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: jls006 and 10 guests

Visit our sponsors: