SketchUcation Premium Membership

 

 

[Plugin] Component Stringer UPDATED Nov. 16, 2009

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby thomthom » Sun Sep 05, 2010 9:43 am

EscapeArtist wrote:Anyone tried this with SU8 yet? I seem to be having difficulty with component orientation and scaling.

Screenshots? Would help with more specific information.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17556
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby Chris Fullmer » Mon Sep 06, 2010 7:51 am

Yeah, screenshot please :) I have not gotten around to testing my plugins with version 8. I'm sure there might be some problems. But problems with scaling and orientation were not on my list of things I was expecting to break - so I'm not exactly sure what might be wrong. But screenshots might help, thanks!

Chris
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6680
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby sklu » Mon Sep 06, 2010 10:05 am

Component Stringer Loading Problem

I loaded the RB into sketchup folder..but when trying to activate, it doesn't work.

Ruby Console showing:

Error: #<ArgumentError: Cannot convert argument to Sketchup::Point3d>
C:/PROGRA~1/Google/GOOGLE~2/Plugins/clf_component_stringer.rb:79:in `add_text'
C:/PROGRA~1/Google/GOOGLE~2/Plugins/clf_component_stringer.rb:79:in `curve_labeler'
C:/PROGRA~1/Google/GOOGLE~2/Plugins/clf_component_stringer.rb:70:in `curve_ordering'
C:/PROGRA~1/Google/GOOGLE~2/Plugins/clf_component_stringer.rb:105:in `main'
C:/PROGRA~1/Google/GOOGLE~2/Plugins/clf_component_stringer.rb:190

Any help, Chris?
sklu
 
Posts: 2
Joined: Sat Feb 07, 2009 3:47 am

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby Chris Fullmer » Mon Sep 06, 2010 10:42 am

Hmm, its past my bedtime right now, I'll check it out tomorrow. But what version of SU are you trying it on?

Chris
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6680
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby sklu » Mon Sep 06, 2010 11:10 am

SU 7 Pro...tried a few different windows..same error occurs..many thanks
sklu
 
Posts: 2
Joined: Sat Feb 07, 2009 3:47 am

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby olishea » Tue Sep 07, 2010 10:49 am

Great plugin :thumb:
oli
User avatar
olishea
Premium Member
Premium Member
 
Posts: 2495
Joined: Sat Nov 01, 2008 4:22 pm
Location: Manchester, UK
Name: Oliver Shea

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby EscapeArtist » Mon Sep 13, 2010 10:32 pm

thomthom wrote:
EscapeArtist wrote:Anyone tried this with SU8 yet? I seem to be having difficulty with component orientation and scaling.

Screenshots? Would help with more specific information.



I found the bug, it was on this side of my computer screen.
User avatar
EscapeArtist
Top SketchUcator
 
Posts: 1302
Joined: Sun Aug 03, 2008 7:36 pm
Location: Northeast US
Name: Jeff
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: hobby
Level of SketchUp: Intermediate

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby voxdei_999 » Tue Sep 14, 2010 4:48 pm

thanks Chris very useful to me
voxdei_999
 
Posts: 4
Joined: Wed Sep 09, 2009 3:04 pm
Name: beto

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby Chris Fullmer » Tue Sep 14, 2010 9:44 pm

Great Beto, glad you like it!

Chris
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6680
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby fabiorossi » Thu Jan 13, 2011 3:22 pm

sklu wrote:Component Stringer Loading Problem

I loaded the RB into sketchup folder..but when trying to activate, it doesn't work.

Ruby Console showing:

Error: #<ArgumentError: Cannot convert argument to Sketchup::Point3d>
C:/PROGRA~1/Google/GOOGLE~2/Plugins/clf_component_stringer.rb:79:in `add_text'
C:/PROGRA~1/Google/GOOGLE~2/Plugins/clf_component_stringer.rb:79:in `curve_labeler'
C:/PROGRA~1/Google/GOOGLE~2/Plugins/clf_component_stringer.rb:70:in `curve_ordering'
C:/PROGRA~1/Google/GOOGLE~2/Plugins/clf_component_stringer.rb:105:in `main'
C:/PROGRA~1/Google/GOOGLE~2/Plugins/clf_component_stringer.rb:190

Any help, Chris?

This is just the same error message that I see on my ruby console; I've got su7Pro and this message appears also on SU6;I've tried many times to download "Component Stringer"script but ther is not any changement...............what's the problem??
fabiorossi
 
Posts: 79
Joined: Thu Sep 18, 2008 2:59 pm
Location: Italy-Rome
Name: fabiorossi

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby Chris Fullmer » Thu Jan 13, 2011 8:47 pm

Hmm, does it fail everytime you try it? Can you upload a small test file here for me?

Are you using the Itallian Language of SketchUp and is your computer set to Itallian?

Upload a test model, I'll start by looking at that.

Chris
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6680
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby bentleykfrog » Sat Jan 29, 2011 1:41 pm

Nice plugin Chris, would love to see an option to use the tangent of the two edges at the node rather than perpendicular to one edge
bentleykfrog
 
Posts: 84
Joined: Thu Sep 10, 2009 2:27 am
Location: Adelaide, Australia
Name: Niall Campbell

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby raffy » Wed Mar 30, 2011 3:30 pm

thank you so much for your help....
raffy
 
Posts: 4
Joined: Sun Mar 27, 2011 9:29 am
Name: rafael sison jr

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby solo » Fri May 13, 2011 2:38 pm

I'm getting this:

Code: Select all
Error: #<NoMethodError: undefined method `definition' for nil:NilClass>
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_component_stringer.rb:103:in `main'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_component_stringer.rb:190
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_component_stringer.rb:103:in `call'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_component_stringer.rb:103


Nothing happens, no dialogue box.
My site

Quod gratis asseritur, gratis negatur.
User avatar
solo
Global Moderator
 
Posts: 10750
Joined: Mon Nov 12, 2007 1:46 pm
Location: Dallas, Texas
Name: Pete Stoppel
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby TIG » Fri May 13, 2011 8:58 pm

solo wrote:I'm getting this:

Code: Select all
Error: #<NoMethodError: undefined method `definition' for nil:NilClass>
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_component_stringer.rb:103:in `main'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_component_stringer.rb:190
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_component_stringer.rb:103:in `call'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/clf_component_stringer.rb:103


Nothing happens, no dialogue box.

The relevant code is this [ending line #103
Code: Select all
        sel = model.selection
###...............
      comp = []
      $arc_labels = []
      comp_height = []

      sel.each do |e|
        comp << e if e.is_a? Sketchup::ComponentInstance
        edges << e if e.is_a? Sketchup::Edge
      end

      comp_height = comp[0].definition.bounds.depth
So the error is saying that the selection [sel] doesn't contain a component-instance ?
Since 'nil' has no 'definition'...
It could be better trapped to stop if the selection contains no instances but...
SO - question: does the selection contain a component-instance when you run the tool ??
TIG
User avatar
TIG
Global Moderator
 
Posts: 13929
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby jorge2011 » Sat Jun 11, 2011 3:02 am

hi sr Chris Fullmer.
This plugin is generating the following error

Error: #<NoMethodError: undefined method `edges' for nil:NilClass>
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/clf_component_stringer.rb:59:in `curve_ordering'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/clf_component_stringer.rb:56:in `times'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/clf_component_stringer.rb:56:in `curve_ordering'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/clf_component_stringer.rb:105:in `main'
C:/Archivos de programa/Google/Google SketchUp 8/Plugins/clf_component_stringer.rb:190

I use sketchup8 pro



It is possible to fix?

Thank you very much
jorge2011
 
Posts: 154
Joined: Thu Jun 02, 2011 5:01 pm
Name: jorge2011
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby Chris Fullmer » Sat Jun 11, 2011 7:43 am

Can you supply the model or a part of the model you are working on? Is it repeatedable on all models for you?
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6680
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby jorge2011 » Thu Jun 30, 2011 12:11 pm

that error can not play Mr. Chris, but the plugin works well in general.
thanks
jorge2011
 
Posts: 154
Joined: Thu Jun 02, 2011 5:01 pm
Name: jorge2011
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby Chris Fullmer » Fri Jul 01, 2011 5:30 pm

ok, I hope it keeps working for you,

Chris
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6680
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby Lobster » Wed Jul 06, 2011 2:35 am

Hi chris,

Great plugin, however i have this on a model.

Error: #<ArgumentError: Cannot convert argument to Sketchup::Point3d>
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/clf_component_stringer.rb:80:in `add_text'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/clf_component_stringer.rb:80:in `curve_labeler'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/clf_component_stringer.rb:70:in `curve_ordering'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/clf_component_stringer.rb:105:in `main'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/clf_component_stringer.rb:190
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/clf_component_stringer.rb:80:in `call'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/clf_component_stringer.rb:80

Here is a link for it http://www.mediafire.com/?aesv4fd1ccv1cvn

It does not get to the reverse option. The plugin works fine on a simple box and a curve.

SU8, OSX 10.6.7

It seems to write 'start' but not 'end'.

I hope it is useful, if you have time to have a quick look.

Regards

Sam
Lobster
 
Posts: 52
Joined: Sat Jan 23, 2010 4:34 pm
Name: Sam Kent
Operating system: Mac
SketchUp version: 8
License type: Free
SketchUp use: other
Level of SketchUp: Intermediate

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby raineysky » Tue Jan 10, 2012 6:35 pm

I am trying to make a chain like in the video in the first post. Must be doing something wrong because I'm getting what's in the picture below when I set the component rotation to 90°. Any advice? SU8 Free M2

Thank You
Please, register (free) to access all the attachments on the forums.
raineysky
 
Posts: 96
Joined: Fri Sep 09, 2011 6:46 pm
Location: Louisiana
Name: Paul
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby Chris Fullmer » Thu Jan 12, 2012 2:50 am

It all has to do with where the component axis is set. It looks like its oriented correctly, its just not centered right. Then once the chain is made, you need to edit the component and extend one end of it so that it overlaps into the other components, which I think I did in the video.

But first, spend some time figuring out how to center the component axis better.

Chris
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6680
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby raineysky » Fri Jan 13, 2012 1:03 am

OK. Thank You very much Chris. I'll let you know how it turns out this weekend. Thanks again for your help and for the plugin.
raineysky
 
Posts: 96
Joined: Fri Sep 09, 2011 6:46 pm
Location: Louisiana
Name: Paul
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby raineysky » Sun Jan 15, 2012 10:43 am

I did it!!! Centered the axis like in the picture below and it works like a charm. Thank You very much Chris for your help and for a wonderful plugin.
Please, register (free) to access all the attachments on the forums.
raineysky
 
Posts: 96
Joined: Fri Sep 09, 2011 6:46 pm
Location: Louisiana
Name: Paul
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby panpanndundu » Sat Feb 25, 2012 8:30 am

Awesome tool, thank you chris fullmer ... :berserk:
32.jpg
Please, register (free) to access all the attachments on the forums.
panpanndundu
 
Posts: 13
Joined: Tue Nov 09, 2010 4:22 am
Name: pandu pebruanto
Operating system: Windows
SketchUp version: 8
License type: Free
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby thegoodguy » Tue May 22, 2012 12:10 pm

Brilliant plugin :-) Just what I need. Thanks.
thegoodguy
 
Posts: 7
Joined: Wed Feb 08, 2012 9:53 pm
Name: thegoodguy

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby ivreich » Fri Jul 20, 2012 5:26 am

Any chance there could be a "stretch" modifier (like the stretch tool in FredoScale) when stringing components? Although i guess this would destroy the component definitions.

joel
ivreich
 
Posts: 54
Joined: Fri May 16, 2008 9:28 am
Location: Australia
Name: Joel Lee
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby kingsi » Sat Jan 05, 2013 1:58 pm

Many thanks for the excellent pluggin
Noobtastic
User avatar
kingsi
 
Posts: 57
Joined: Sun Dec 11, 2011 9:02 pm

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby kingsi » Mon Jan 07, 2013 1:03 pm

Wonderful plugin. Many Thanks Chris
Noobtastic
User avatar
kingsi
 
Posts: 57
Joined: Sun Dec 11, 2011 9:02 pm

Re: [Plugin] Component Stringer UPDATED Nov. 16, 2009

Postby Chris Fullmer » Mon Jan 07, 2013 1:09 pm

You're welcome and you're welcome!
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6680
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Need SketchUp Books, Models, Styles or Textures? Check out our One Stop Shop for SketchUp.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012

PreviousNext

Return to Plugins

Who is online

Users browsing this forum: bugmenot123, Daniel S, Hutton, meocram and 14 guests