SketchUcation Plugin Store

 

 

[Plugin] Component Stringer UPDATED May 23, 2013

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

Postby utiler » Thu Feb 11, 2010 10:58 am

Pilou wrote:Suggestion
A rotation (s) of object on it own axis?
A scale of object?


What I wished for a while now.... viewtopic.php?f=180&t=19204&hilit=+copy+rotate+scale
I wish I could explain!!!
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1928
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: Andrew
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 KXI System » Wed Mar 10, 2010 11:27 pm

Chris, I love your tools but just one thing...

This plugin I can't get to work for some reason, I even reinstalled it. Nothing happens when I even activate it, here is what I get in the Ruby console:

Error: #<NoMethodError: undefined method `definition' for nil:NilClass>
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:103:in `main'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190:in `call'
See Chris? a little help here?
Getting the perfect sig is hard...

Google it!
KXI System
 
Posts: 555
Joined: Sun Dec 06, 2009 4:50 pm
Location: Canada

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

Postby Chris Fullmer » Thu Mar 11, 2010 12:21 am

Thank you for reporting the error with the error codes from the console, helps spped things up a bit!

It looks like you do not have a component selected when you start the script. So make sure that you select a component first, then start the script.

If that does not fix it, please upload a test model that you are having problems with and I'll test it.

Chris
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6694
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 KXI System » Thu Mar 11, 2010 1:47 am

Chris,

After a few moments of struggle I found out that the script works after a few failures...
But what I have found is that sometimes the selected component changes during action, see attachments:

Bug1.skp

Ruby Console:
No reversing needed
Error: #<NoMethodError: undefined method `position' for nil:NilClass>
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:137:in `main'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:134:in `each_with_index'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:134:in `each'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:134:in `each_with_index'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:134:in `main'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190:in `call'.

Note: 1 try only

Bug2.skp

Ruby Console:
Error: #<NoMethodError: undefined method `edges' for nil:NilClass>
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:59:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `times'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:105:in `main'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190:in `call'
Error: #<NoMethodError: undefined method `edges' for nil:NilClass>
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:59:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `times'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:105:in `main'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190:in `call'
Error: #<NoMethodError: undefined method `edges' for nil:NilClass>
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:59:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `times'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:105:in `main'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190:in `call'
Error: #<NoMethodError: undefined method `edges' for nil:NilClass>
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:59:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `times'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:105:in `main'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190:in `call'
Error: #<ArgumentError: Cannot convert argument to Sketchup::Point3d>
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:79:in `add_text'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:79:in `curve_labeler'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:70:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:105:in `main'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190:in `call'
Error: #<NoMethodError: undefined method `definition' for nil:NilClass>
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:103:in `main'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190:in `call'
Error: #<NoMethodError: undefined method `edges' for nil:NilClass>
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:59:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `times'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:105:in `main'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190:in `call'
Error: #<NoMethodError: undefined method `edges' for nil:NilClass>
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:59:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `times'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:105:in `main'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190:in `call'
Error: #<NoMethodError: undefined method `edges' for nil:NilClass>
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:59:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `times'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:105:in `main'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190:in `call'
Error: #<NoMethodError: undefined method `edges' for nil:NilClass>
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:59:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `times'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:105:in `main'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190:in `call'
Error: #<NoMethodError: undefined method `edges' for nil:NilClass>
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:59:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `times'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:105:in `main'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190:in `call'
Error: #<NoMethodError: undefined method `edges' for nil:NilClass>
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:59:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `times'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:105:in `main'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190:in `call'
Error: #<NoMethodError: undefined method `edges' for nil:NilClass>
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:59:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `times'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:105:in `main'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190:in `call'
Error: #<NoMethodError: undefined method `edges' for nil:NilClass>
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:59:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `times'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:56:in `curve_ordering'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:105:in `main'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190:in `call'

Note 10+ tries, no result

Bug3.skp

Ruby Console:
No reversing needed
Error: #<NoMethodError: undefined method `position' for nil:NilClass>
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:137:in `main'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:134:in `each_with_index'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:134:in `each'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:134:in `each_with_index'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:134:in `main'
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190
C:/Program Files/Google/Google SketchUp 7/Plugins/clf_component_stringer.rb:190:in `call'

Note 1 try, "big" problem
Please, register (free) to access all the attachments on the forums.
Getting the perfect sig is hard...

Google it!
KXI System
 
Posts: 555
Joined: Sun Dec 06, 2009 4:50 pm
Location: Canada

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

Postby simon le bon » Mon Mar 15, 2010 9:25 pm

Hello Chris, Hello everybody,
I'm back for a little addition in using Component Stringer.

I have had the idea to use a progressive segmented curve in conjunction with Component Stringer for various interesting effects.
It exists a Fredo's tool :Fredo_BZ__Animation which can do the goal. But it is build for animation matters and I had found it not enough flexible for my purpose.

So I have made a small tut to make our Own BZ_animation Curve

I have made some exemples, not very subtle I guess but I think the idea is shown ;)





*s
User avatar
simon le bon
 
Posts: 1077
Joined: Sat Jan 26, 2008 10:22 am
Location: Chouy/ Picardie/ France
Name: Simon Bonnet

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

Postby brookefox » Sun May 02, 2010 11:48 pm

Well, I'm happy to post this homely little picture: my first entry into the well-worn spiral stair saga. Contents: the usual suspects: one set of edges, one component (soon to be tuned and embellished with stringers, railings etc.). Why bother this thread? I just thought maybe a point or two needed clarification: In this case the length of each edge determines the displacement of the component, and the component cannot touch the edges or the routine will not work (for me).

Thanks, Chris!!

(For me, it would be nice if the settings were sticky across uses.)
Please, register (free) to access all the attachments on the forums.
~ Brooke
User avatar
brookefox
 
Posts: 832
Joined: Thu Jun 26, 2008 4:17 pm
Location: Pacific northwest, USA
Name: Brooke
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 jackalvn » Sun May 16, 2010 5:16 am

Hi Chris, Hi All.
I used the plugin to make an array of component along a path, but it only create one component at the start of the path and nothing else.
I don't know what i do wrong. Any help?
One more thing: The plugin don't give me a choice of inputting distance between components (like Copy to spacing in Copy along path plugin). Or I miss something?
Thanks for your attention!
jackalvn
 
Posts: 14
Joined: Fri Jan 15, 2010 5:40 pm
Name: Hu Truc

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

Postby Chris Fullmer » Sun May 16, 2010 5:23 am

Hi Hu. There is no option for spacing. It always inserts a component at each line segment. There is no way to skip line segments, or evenly space components over uneven lengthed lines.

It should not stop after a single component though. Could you upload the test model where this happened? Thanks,

Chris
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6694
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 tomislavm » Tue Jun 08, 2010 11:21 am

Thank You Chris!
tomislavm
 
Posts: 421
Joined: Wed Nov 21, 2007 9:35 am
Location: Croatia,Osijek
Operating system: Windows
SketchUp version: 8
License type: Free
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

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

Postby maybach67 » Fri Jun 11, 2010 6:16 pm

great plugin, thanks alots
maybach67
 
Posts: 3
Joined: Sun Mar 22, 2009 3:22 pm
Name: haikts

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

Postby pep75 » Sun Jun 20, 2010 11:54 am

:berserk:

unbelievable! Well this is an essential plugin! What can they still do at Google?

SU has become a full functional modeller at the moment...

Thanks Chris!
pep75
 
Posts: 87
Joined: Mon May 05, 2008 1:14 pm

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

Postby grim » Sat Jun 26, 2010 4:31 am

chris
the video shows a great tool and i have put it to the test, i build a chain link and made it a component, however when i apply the plug in it spaces the component far apart and rotates it in odd positions a can not seem to imitate the steps you show in the tutorial video :twisted: is there a problem with this script?
grim
 
Posts: 18
Joined: Fri Apr 02, 2010 1:04 am
Location: Canberra, Australia
Name: david

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

Postby Pilou » Sat Jun 26, 2010 2:08 pm

is there a problem with this script?

no :)
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10060
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free
SketchUp use: hobby
Level of SketchUp: Advanced

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

Postby Chris Fullmer » Sun Jun 27, 2010 3:02 am

Hi Grim, it is important to pay attention to the x-component axis. This plugin uses the component axis to place the component. So you are going to have to make sure that the axis is placed very strategically. You can post you test model if you are still unable to get it to work,

Chris
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6694
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 EscapeArtist » Sun Sep 05, 2010 3:21 am

Anyone tried this with SU8 yet? I seem to be having difficulty with component orientation and scaling.
User avatar
EscapeArtist
Top SketchUcator
 
Posts: 1304
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 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: 17642
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: 6694
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: 6694
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: 2509
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: 1304
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: 6694
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: 6694
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: 10774
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: 13992
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

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Artisan Organic Toolset - a set of powerful organic modeling tools.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012

PreviousNext

Return to Plugins

Who is online

Users browsing this forum: CrashZero81, I.Aleks.S, krostah, vantin, wtin1209 and 7 guests