SketchUcation Plugin Store

 

 

[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).
Please, register (free) to access all the attachments on the forums.
Last edited by ArchitectBoy on Tue Oct 28, 2008 5:25 am, edited 1 time in total.
ArchitectBoy
 
Posts: 182
Joined: Tue Nov 13, 2007 12:35 am
Location: Seattle, Washington, USA
Name: Darrel

Re: Skin.rb

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

Welcome, we are glad you are here.
User avatar
boofredlay
Global Moderator
 
Posts: 9009
Joined: Mon Oct 22, 2007 1:50 pm
Location: Huntsville/Madison Alabama
Name: Eric Lay
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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...)
Gai...
User avatar
Gaieus
Administrator
 
Posts: 27629
Joined: Sat Oct 20, 2007 8:24 am
Location: Pécs, Hungary
Name: Csaba Pozsárkó
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

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
edson mahfuz, architect
http://www.mahfuz.arq.br

Anyone can get you more for more, but it takes genius to get you more for less.
User avatar
Edson
Global Moderator
 
Posts: 2656
Joined: Mon Oct 22, 2007 1:46 pm
Location: Porto Alegre, Brasil
Name: Edson Mahfuz
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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.
Save the Earth, it's the only planet with chocolate.



Keeping things organised is not a sin. ;)
Juju
 
Posts: 1127
Joined: Mon Oct 22, 2007 1:45 pm
Location: Durbanville, Cape Town, South Africa.
Name: Julian Smith

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.
Please, register (free) to access all the attachments on the forums.
ArchitectBoy
 
Posts: 182
Joined: Tue Nov 13, 2007 12:35 am
Location: Seattle, Washington, USA
Name: Darrel

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...
RickW
 
Posts: 770
Joined: Fri Nov 16, 2007 6:38 am
Location: Wichita, KS
Name: Rick Wilson

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.
Please, register (free) to access all the attachments on the forums.
ArchitectBoy
 
Posts: 182
Joined: Tue Nov 13, 2007 12:35 am
Location: Seattle, Washington, USA
Name: Darrel

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!
ArchitectBoy
 
Posts: 182
Joined: Tue Nov 13, 2007 12:35 am
Location: Seattle, Washington, USA
Name: Darrel

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
Please, register (free) to access all the attachments on the forums.
"What do we want?...Time travel... When do we want it?... Irrelevant"
Thanks to Funny Pics
baz
 
Posts: 453
Joined: Tue Nov 20, 2007 8:31 am
Location: Melbourne, Australia
Name: Barry
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

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.
Please, register (free) to access all the attachments on the forums.
ArchitectBoy
 
Posts: 182
Joined: Tue Nov 13, 2007 12:35 am
Location: Seattle, Washington, USA
Name: Darrel

Re: Skin.rb

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

yes I've been digging the clean selection... it's awesome...
Kristoff Rand
Home Designer
Custom House Plans with a Point of View
User avatar
Krisidious
 
Posts: 3231
Joined: Mon Oct 22, 2007 1:52 pm
Location: Springfield, Missouri. USA
Name: Krisidious
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Skin.rb

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

how about these?
baz
Please, register (free) to access all the attachments on the forums.
"What do we want?...Time travel... When do we want it?... Irrelevant"
Thanks to Funny Pics
baz
 
Posts: 453
Joined: Tue Nov 20, 2007 8:31 am
Location: Melbourne, Australia
Name: Barry
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

Re: Skin.rb

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

here they are again at about the right size
Please, register (free) to access all the attachments on the forums.
"What do we want?...Time travel... When do we want it?... Irrelevant"
Thanks to Funny Pics
baz
 
Posts: 453
Joined: Tue Nov 20, 2007 8:31 am
Location: Melbourne, Australia
Name: Barry
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

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
ArchitectBoy
 
Posts: 182
Joined: Tue Nov 13, 2007 12:35 am
Location: Seattle, Washington, USA
Name: Darrel

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?
"What do we want?...Time travel... When do we want it?... Irrelevant"
Thanks to Funny Pics
baz
 
Posts: 453
Joined: Tue Nov 20, 2007 8:31 am
Location: Melbourne, Australia
Name: Barry
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

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)
ArchitectBoy
 
Posts: 182
Joined: Tue Nov 13, 2007 12:35 am
Location: Seattle, Washington, USA
Name: Darrel

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
"What do we want?...Time travel... When do we want it?... Irrelevant"
Thanks to Funny Pics
baz
 
Posts: 453
Joined: Tue Nov 20, 2007 8:31 am
Location: Melbourne, Australia
Name: Barry
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

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:
PeterCharles
 
Posts: 224
Joined: Sat Nov 17, 2007 4:47 pm

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.
ArchitectBoy
 
Posts: 182
Joined: Tue Nov 13, 2007 12:35 am
Location: Seattle, Washington, USA
Name: Darrel

Re: Skin.rb

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

i look forward to getting skinned.

cheers.

edson
edson mahfuz, architect
http://www.mahfuz.arq.br

Anyone can get you more for more, but it takes genius to get you more for less.
User avatar
Edson
Global Moderator
 
Posts: 2656
Joined: Mon Oct 22, 2007 1:46 pm
Location: Porto Alegre, Brasil
Name: Edson Mahfuz
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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.
Please, register (free) to access all the attachments on the forums.
ArchitectBoy
 
Posts: 182
Joined: Tue Nov 13, 2007 12:35 am
Location: Seattle, Washington, USA
Name: Darrel

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
Daniel S
 
Posts: 349
Joined: Mon Nov 12, 2007 6:06 pm
Location: Mar del Plata, Buenos Aires, Argentina

Re: Skin.rb

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

Warning: the in-between versions are Very buggy :!:
ArchitectBoy
 
Posts: 182
Joined: Tue Nov 13, 2007 12:35 am
Location: Seattle, Washington, USA
Name: Darrel

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
Please, register (free) to access all the attachments on the forums.
ArchitectBoy
 
Posts: 182
Joined: Tue Nov 13, 2007 12:35 am
Location: Seattle, Washington, USA
Name: Darrel

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
Please, register (free) to access all the attachments on the forums.
ArchitectBoy
 
Posts: 182
Joined: Tue Nov 13, 2007 12:35 am
Location: Seattle, Washington, USA
Name: Darrel

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.
Please, register (free) to access all the attachments on the forums.
"What do we want?...Time travel... When do we want it?... Irrelevant"
Thanks to Funny Pics
baz
 
Posts: 453
Joined: Tue Nov 20, 2007 8:31 am
Location: Melbourne, Australia
Name: Barry
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

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.
ArchitectBoy
 
Posts: 182
Joined: Tue Nov 13, 2007 12:35 am
Location: Seattle, Washington, USA
Name: Darrel

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
edson mahfuz, architect
http://www.mahfuz.arq.br

Anyone can get you more for more, but it takes genius to get you more for less.
User avatar
Edson
Global Moderator
 
Posts: 2656
Joined: Mon Oct 22, 2007 1:46 pm
Location: Porto Alegre, Brasil
Name: Edson Mahfuz
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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.
Please, register (free) to access all the attachments on the forums.
ArchitectBoy
 
Posts: 182
Joined: Tue Nov 13, 2007 12:35 am
Location: Seattle, Washington, USA
Name: Darrel

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Keyframe Animation plugin - animate your SketchUp model by adding movement to any object.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012

Next

Return to Plugins

Who is online

Users browsing this forum: Anton_S, cotty, Google Bot, micione, pak_pdt, woopix and 13 guests