• Login
sketchucation logo sketchucation
  • Login
🤑 30% Off | Artisan 2 on sale until April 30th Buy Now

[Plugin] Component Stringer UPDATED May 23, 2013

Scheduled Pinned Locked Moved Plugins
173 Posts 73 Posters 1.1m Views
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.
  • C Offline
    Chris Fullmer
    last edited by 27 Jun 2010, 02:02

    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

    1 Reply Last reply Reply Quote 0
    • S Offline
      simon le bon
      last edited by 9 Aug 2010, 17:00

      @unknownuser said:

      I have found no solution to make the flat stakes to follow the path while they are planted vertically (=invariable direction+ following direction) ❓ ❓

      http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/BarriereBucolique04th.jpg

      Well.., I've found a hand-assisted solution 😉

      Fredo6 [Plugin] Tools On Surface - v1.5f

      http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/clf_CompString_016th.jpg

      Fredo6 [Plugin] BezierSpline v1.21

      http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/clf_CompString_017th.jpg

      I assume I want the stakes are to be regularly spaced, non depending of the declivity. So The 3D curve must be regularly segmented (Segmented Polyline) before to be projected on the wall and on the floor.
      (Re: if reversely we want the stakes planted depending of the déclivity, the segmentation must be done after curve projection on the floor and on the wall.)
      Didier Bur [plugin] Projections version 2

      http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/clf_CompString_018th.jpg


      http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/clf_CompString_019th.jpg

      The long rectangle set as component, distributed along the wall projected curve using Component Stringer is going to be used as a gauge. A line of this rectangle fall in coincidence with the initial 3D curve. This intersection is the point where to move each stake placed on the ground.
      (Re: 1)ground face is deleted to make the process easy.
      2)Move tool is used with Up arrow to constraint the moving on the blue direction)


      http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/clf_CompString_020th.jpg

      http://i274.photobucket.com/albums/jj245/Spendauballet/videos/CompStringFence01.gif

      (The same on Youtube )

      [flash=575,360:1p7pi4pm]http://www.youtube.com/v/zDAQYT0jk6k[/flash:1p7pi4pm]


      http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/clf_CompString_021th.jpg


      http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/clf_CompString_022th.jpg


      http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/clf_CompString_023th.jpg


      http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/clf_CompString_024th.jpg

      😒 Simon

      1 Reply Last reply Reply Quote 0
      • E Offline
        EscapeArtist
        last edited by 5 Sept 2010, 02:21

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

        1 Reply Last reply Reply Quote 0
        • T Offline
          thomthom
          last edited by 5 Sept 2010, 08:43

          @escapeartist said:

          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

          1 Reply Last reply Reply Quote 0
          • C Offline
            Chris Fullmer
            last edited by 6 Sept 2010, 06:51

            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

            1 Reply Last reply Reply Quote 0
            • S Offline
              sklu
              last edited by 6 Sept 2010, 09:05

              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?

              1 Reply Last reply Reply Quote 0
              • C Offline
                Chris Fullmer
                last edited by 6 Sept 2010, 09:42

                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

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sklu
                  last edited by 6 Sept 2010, 10:10

                  SU 7 Pro...tried a few different windows..same error occurs..many thanks

                  1 Reply Last reply Reply Quote 0
                  • olisheaO Offline
                    olishea
                    last edited by 7 Sept 2010, 09:49

                    Great plugin 👍

                    oli

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      EscapeArtist
                      last edited by 13 Sept 2010, 21:32

                      @thomthom said:

                      @escapeartist said:

                      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.

                      1 Reply Last reply Reply Quote 0
                      • V Offline
                        voxdei_999
                        last edited by 14 Sept 2010, 15:48

                        thanks Chris very useful to me

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          Chris Fullmer
                          last edited by 14 Sept 2010, 20:44

                          Great Beto, glad you like it!

                          Chris

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

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            fabiorossi
                            last edited by 13 Jan 2011, 14:22

                            @sklu said:

                            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??

                            my blog
                            http://progettin3d.blogspot.com/

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              Chris Fullmer
                              last edited by 13 Jan 2011, 19:47

                              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

                              1 Reply Last reply Reply Quote 0
                              • B Offline
                                bentleykfrog
                                last edited by 29 Jan 2011, 12:41

                                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 30 Mar 2011, 14:30

                                  thank you so much for your help....

                                  1 Reply Last reply Reply Quote 0
                                  • soloS Offline
                                    solo
                                    last edited by 13 May 2011, 13:38

                                    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 13 May 2011, 19:58

                                      @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 11 Jun 2011, 02:02

                                        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
                                        • C Offline
                                          Chris Fullmer
                                          last edited by 11 Jun 2011, 06:43

                                          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
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 6
                                          • 7
                                          • 8
                                          • 9
                                          • 6 / 9
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement