sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Component Stringer UPDATED May 23, 2013

    Scheduled Pinned Locked Moved Plugins
    173 Posts 73 Posters 1.1m Views 73 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      bentleykfrog
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • R Offline
        raffy
        last edited by

        thank you so much for your help....

        1 Reply Last reply Reply Quote 0
        • soloS Offline
          solo
          last edited by

          I'm getting this:

          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.

          http://www.solos-art.com

          If you see a toilet in your dreams do not use it.

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            @solo said:

            I'm getting this:

            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

            
                    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

            1 Reply Last reply Reply Quote 0
            • J Offline
              jorge2011
              last edited by

              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

              1 Reply Last reply Reply Quote 0
              • Chris FullmerC Offline
                Chris Fullmer
                last edited by

                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

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jorge2011
                  last edited by

                  that error can not play Mr. Chris, but the plugin works well in general.
                  thanks

                  1 Reply Last reply Reply Quote 0
                  • Chris FullmerC Offline
                    Chris Fullmer
                    last edited by

                    ok, I hope it keeps working for you,

                    Chris

                    Lately you've been tan, suspicious for the winter.
                    All my Plugins I've written

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      Lobster
                      last edited by

                      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

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        raineysky
                        last edited by

                        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


                        Sketchup.png

                        1 Reply Last reply Reply Quote 0
                        • Chris FullmerC Offline
                          Chris Fullmer
                          last edited by

                          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

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            raineysky
                            last edited by

                            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.

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              raineysky
                              last edited by

                              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.


                              Chain Axis.png

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                panpanndundu
                                last edited by

                                Awesome tool, thank you chris fullmer ...
                                Component Stringer + Maxwell Render

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  thegoodguy
                                  last edited by

                                  Brilliant plugin 😄 Just what I need. Thanks.

                                  1 Reply Last reply Reply Quote 0
                                  • I Offline
                                    ivreich
                                    last edited by

                                    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

                                    1 Reply Last reply Reply Quote 0
                                    • kingsiK Offline
                                      kingsi
                                      last edited by

                                      Many thanks for the excellent pluggin

                                      Noobtastic

                                      1 Reply Last reply Reply Quote 0
                                      • kingsiK Offline
                                        kingsi
                                        last edited by

                                        Wonderful plugin. Many Thanks Chris

                                        Noobtastic

                                        1 Reply Last reply Reply Quote 0
                                        • Chris FullmerC Offline
                                          Chris Fullmer
                                          last edited by

                                          You're welcome and you're welcome!

                                          Lately you've been tan, suspicious for the winter.
                                          All my Plugins I've written

                                          1 Reply Last reply Reply Quote 0
                                          • A Offline
                                            aaulestia
                                            last edited by

                                            Chris,

                                            I've been trying to use this amazing tool to place a Tree component along some streets, but can't them to be separated as I need them to be(distance between each component). Do you have any ideas to fix this? I would really appreciated it!
                                            Ana

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 7 / 9
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement