Fantastic tool for woodwork modelers

To access this forum when logged in, please, sign up to the Woodworking User Group in your User Control Panel.

Fantastic tool for woodwork modelers

Postby Hazza » Tue Sep 23, 2008 3:32 am

I was reading the Ruby section forum the other day and came across this post, it is a fantastic tool for creating pieces of wood in one go.

Enter the height and width of the wood and then click click, enter, right click, change to component and you are done.... well nearly you still have to do the joints etc.
0
See all of my SketchUp models here.

Hazza 
 

Re: Fantastic tool for woodwork modelers

Postby ktkoh » Thu Oct 09, 2008 2:53 am

I modified the box.rb to create a wood part (with length with & thickness in inches) as a component and name it at the same time.
0

ktkoh 
PluginStore Author
PluginStore Author
 

Re: Fantastic tool for woodwork modelers

Postby apodsim » Sun Nov 23, 2008 11:29 pm

The ruby script appears to not work in ver 7. I received a error message on load.
0

apodsim 
 

Re: Fantastic tool for woodwork modelers

Postby Jim » Sun Nov 23, 2008 11:51 pm

ktkoh wrote:I modified the box.rb to create a wood part (with length with & thickness in inches) as a component and name it at the same time.


kthoh, the file you uploaded does not have these changes.

apodsim wrote:The ruby script appears to not work in ver 7. I received a error message on load.


apodsim, welcome to the forum.

What is the error? I'm guessing it has to do with $exStrings. Can you post a shot of the error?
0
Hi

Jim 
Global Moderator
 

Re: Fantastic tool for woodwork modelers

Postby apodsim » Mon Nov 24, 2008 12:23 am

Not sure how to paste a screen shot. The error message box is titled "Load Errors" with text "Error Loading File boxKKversion.rb
undefined method `GetString' for nil:NilClass"

Hope this helps.
0

apodsim 
 

Re: Fantastic tool for woodwork modelers

Postby Jim » Mon Nov 24, 2008 12:31 am

It does, but this download is peculiar if you are using SU7, and I wouldn't bother with it. All it does is draw a box anyway. It's only of interest for those wanting to learn the basics of writing a plugin for sketchup.
0
Hi

Jim 
Global Moderator
 

Re: Fantastic tool for woodwork modelers

Postby AdrianM » Mon Nov 24, 2008 11:35 am

If you're using Pro then you can do what that script does in a Dynamic Component. They're fantastic for woodworking, I can't believe the difference they're making to my workflow.

If you don't have Pro you can still do it, you just need someone with Pro to make the basic box/plank DC first.

Made all my Ruby scripts pretty much redundant!
0

AdrianM 
 

Re: Fantastic tool for woodwork modelers

Postby ktkoh » Fri Nov 28, 2008 3:09 pm

The boxkkversion.rb needs to be renamed box.rb and replaces the box.rb in the plugins/examples dir to load properly. Sorry that I omitted this important step. This works for ver6.

In ver7 box.rb only works if loaded after SU is loaded and running. I use a script script_loader.rb to do this.

Yes a dynamic component would do this if we can get a pro user to write the component and share it.

Keith
0

ktkoh 
PluginStore Author
PluginStore Author
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Woodworking

Who is online

Users browsing this forum: No registered users and 3 guests

Visit our sponsors: