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

[Plugin] Make Fur v.2.1.0(20140323)

Scheduled Pinned Locked Moved Plugins
650 Posts 255 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.
  • T Offline
    thomthom
    last edited by 2 Jun 2010, 09:08

    @tak2hata said:

    Sorry ,Now I examines the method to remember dialog position.
    That demands the javascript knowledge from me.
    I will update few day later.

    No need for javasscript to remember the window's position. SU does this for you if you specify a preference key.

    http://code.google.com/apis/sketchup/docs/ourdoc/webdialog.html#new

    @unknownuser said:

    pref_key
    The registry entry where the location and size of the dialog will be saved. If preferences_key is not included, the location and size will not be stored.

    Thomas Thomassen — SketchUp Monkey & Coding addict
    List of my plugins and link to the CookieWare fund

    1 Reply Last reply Reply Quote 0
    • J Offline
      jaceguay
      last edited by 2 Jun 2010, 14:31

      Nothing happend when i click make fur, the ruby console show this:

      Error: #<TypeError: no implicit conversion to float from nil>
      C:/Program Files/Google/Google SketchUp 7/Plugins/fur_en.rb:541:in initialize' C:/Program Files/Google/Google SketchUp 7/Plugins/fur_en.rb:541:in new'
      C:/Program Files/Google/Google SketchUp 7/Plugins/fur_en.rb:541:in fur_inputbox' C:/Program Files/Google/Google SketchUp 7/Plugins/fur_en.rb:1561 C:/Program Files/Google/Google SketchUp 7/Plugins/fur_en.rb:1561:in call'

      Does anyone know what can be done to adress this error?

      1 Reply Last reply Reply Quote 0
      • J Offline
        jeabdc
        last edited by 2 Jun 2010, 16:09

        ThankY ขอบคุณมากครับ

        1 Reply Last reply Reply Quote 0
        • D Offline
          Didier Bur
          last edited by 2 Jun 2010, 16:46

          Hi,

          @unknownuser said:

          Does anyone know what can be done to adress this error?

          After taking a look at the code, line 541 has something to do with "Direction (X)" Y and Z factors.
          Yours are undefined (nil), so check your values in the dialog box and try to change them with something else than zero and see if it works. Check your decimal "," or "." too.
          Hope this helps,

          DB

          1 Reply Last reply Reply Quote 0
          • J Offline
            jaceguay
            last edited by 2 Jun 2010, 19:00

            Thanks for the fast response, changing the values return another error:

            Error: #<TypeError: no implicit conversion to float from nil>
            C:/Program Files/Google/Google SketchUp 7/Plugins/fur_en.rb:852:in initialize' C:/Program Files/Google/Google SketchUp 7/Plugins/fur_en.rb:852:in new'
            C:/Program Files/Google/Google SketchUp 7/Plugins/fur_en.rb:852:in show_webdialog' C:/Program Files/Google/Google SketchUp 7/Plugins/fur_en.rb:792:in call'

            1 Reply Last reply Reply Quote 0
            • J Offline
              jonorman
              last edited by 2 Jun 2010, 19:52

              same problem here. after installing last version..

              Error: #<TypeError: no implicit conversion to float from nil>
              C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/fur_en.rb:541:in initialize' C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/fur_en.rb:541:in new'
              C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/fur_en.rb:541:in fur_inputbox' C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/fur_en.rb:1561 C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/fur_en.rb:1561:in call'

              buuuuhuuuuu... miss my fur/grass plugin 😢

              1 Reply Last reply Reply Quote 0
              • T Offline
                tak2hata
                last edited by 2 Jun 2010, 22:02

                Hi
                I uploaded version1.4.
                Change is...

                Remember webdialog position.(Thanks thomthom 😄 )
                Add new mode "Crowd".(Multi Instance scattering.)

                @jonorman said:

                same problem here. after installing last version..

                Error: #<TypeError: no implicit conversion to float from nil>
                C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/fur_en.rb:541:in initialize' C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/fur_en.rb:541:in new'
                C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/fur_en.rb:541:in fur_inputbox' C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/fur_en.rb:1561 C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/fur_en.rb:1561:in call'

                buuuuhuuuuu... miss my fur/grass plugin 😢

                In this version ,I changed convert string to length method little.
                When that error is happened , I want look your dialog parameter.
                I think problem is around "s_to_l" method.

                @thiloo said:

                thanks tak2hata for the quick explanation,

                wow, that´s also an powerful feature.
                sadly it´s not working if I choose "make by component - yes"!
                also, with component activated, the reaction to the force settings are quite unexpected?
                [attachment=0:367xbin3]<!-- ia0 -->fur_force.jpg<!-- ia0 -->[/attachment:367xbin3]
                I need the components for instancing -> rendering.

                again, Thank You for your time and effort

                "make by component -- yes" was added after making this plugin.
                This plugin originaly use for "make by component -- no".
                I do not have good way to componentinstance direction control.

                When I find good way,I will change it.

                Thanks.


                by TAK2HATA

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sloof
                  last edited by 3 Jun 2010, 05:05

                  how to use this ?

                  somebody help me please ?

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jonorman
                    last edited by 3 Jun 2010, 07:53

                    screen dump of SU trying to use fur.


                    screen dump 001.jpg

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      tak2hata
                      last edited by 3 Jun 2010, 10:00

                      @jonorman said:

                      screen dump of SU trying to use fur.

                      Hi,jonorman.
                      I updated version 1.4a.

                      Sorry,I forgat changing "s_to_l".
                      now it changed.
                      It may be work.


                      by TAK2HATA

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        tak2hata
                        last edited by 3 Jun 2010, 10:20

                        @sloof said:

                        how to use this ?

                        somebody help me please ?

                        Hi,sloof.
                        http://forums.sketchucation.com/viewtopic.php?f=323&t=28092
                        [url=http://sketchupdate.blogspot.com/2010/05/having-spent-last-three-hours-fiddling.html:1j014hsy]http://sketchupdate.blogspot.com/[/url:1j014hsy]
                        It may help.

                        Thanks.


                        by TAK2HATA

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          jonorman
                          last edited by 3 Jun 2010, 10:24

                          JIPPIIIIII ! ! ! ! Back in bizzniz 😍 👍 ☀

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            tomot
                            last edited by 3 Jun 2010, 15:53

                            WOW! .....another great Plugin,
                            This pampas grass looks better that the real stuff in my planter 😄
                            Thanks! tak2hata


                            PampasGrass.jpg

                            [my plugins](http://thingsvirtual.blogspot.ca/)
                            tomot

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              Didier Bur
                              last edited by 3 Jun 2010, 20:40

                              Hi,
                              Got this error when using "make crowd" without having a "fur_instance" component in my model:

                              Error: #<TypeError: wrong argument type (expected Sketchup::ComponentDefinition)>
                              C:/Program Files/Google/Google SketchUp 7/Plugins/fur_en.rb:1272:in `add_instance'

                              I guess the script does not check wether the relevant component is in the model or not ? 💭

                              It works OK if a "fur_instance" component is present.
                              After deleting the fur instance component, hit "CheckOnAll", and it is still there, and the makecrowd doesn't work anymore if I let its checkbox ticked.

                              DB

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                Stu
                                last edited by 3 Jun 2010, 22:15

                                Ive been using fur for a while ...with good results, and just loving it!! 👍

                                However I've struck a problem as in the attached....it seems to be the cut off angle that is upsetting the geometry.....if I try a square or rectangular plane it behaves normally.


                                Fur_Problem.jpg

                                http://www.landesign.com.au

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  tak2hata
                                  last edited by 4 Jun 2010, 03:32

                                  @paulower said:

                                  This is the translation of Make Fur to languaje Portuguese-BR (Brazil) by me.

                                  Tak2hata would be possible in the next version, you increase the size of the buttons "Assign Material to" and "Get Stuff From." Is that in Portuguese, we have more characters in the translation and some letters may not appear on the icon (button).

                                  You can see who is running smoothly letters with accents and numerical symbols.

                                  Thanks paulowr.
                                  I add language list on first thread.
                                  I will increase the size of Buttons in next version.

                                  @stu said:

                                  Ive been using fur for a while ...with good results, and just loving it!! 👍

                                  However I've struck a problem as in the attached....it seems to be the cut off angle that is upsetting the geometry.....if I try a square or rectangular plane it behaves normally.

                                  Hi , Stu.
                                  That happens in small value of "MaxNumber(/Face)" for the faces.
                                  You should increase "MaxNumber(/Face)" enough.

                                  Thanks.


                                  by TAK2HATA

                                  1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    Stu
                                    last edited by 4 Jun 2010, 03:42

                                    Thanks Tak2hata, I boosted it up to 12,000!! and its fine now


                                    SD2.jpg

                                    http://www.landesign.com.au

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      tomot
                                      last edited by 4 Jun 2010, 15:20

                                      Tak2hata I was wondering if you had considered including a random fur height function? I'm currently creating a random height tile/block/city generator... which is not finished yet.
                                      See my RAND code snippet below.

                                      if( $type == "Random + " )  
                                          
                                          group=entities.add_group
                                          entities=group.entities 
                                        
                                          1.upto($vpanes) do |i|
                                            x = ($vtile*i)+(i*$space)  
                                            1.upto($hpanes) do |j|
                                      	    y = ($htile*j)+(j*$space) 
                                              
                                      	o = $pt3.offset($hVec, y - $space).offset($vVec, x - $space)
                                          pt1 = o.offset($hVec, -$htile)
                                      	pt2 = o.offset($vVec, -$vtile)
                                      	pt3 = pt1.offset($vVec, -$vtile)
                                      	#entities.add_cpoint o
                                      	#entities.add_cpoint pt1
                                      	#entities.add_cpoint pt2
                                      	#entities.add_cpoint pt3
                                          face = entities.add_face o, pt1, pt3, pt2
                                          face.pushpull -($tthick+rand(20))
                                            end
                                          end
                                      end #if    
                                      

                                      cheers!

                                      [my plugins](http://thingsvirtual.blogspot.ca/)
                                      tomot

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        tak2hata
                                        last edited by 5 Jun 2010, 16:05

                                        Hi,all.
                                        I update this to version1.4b.

                                        @tomot said:

                                        Tak2hata I was wondering if you had considered including a random fur height function? I'm currently creating a random height tile/block/city generator... which is not finished yet.
                                        See my RAND code snippet below.

                                        if( $type == "Random + " )  
                                        >     
                                        >     group=entities.add_group
                                        >     entities=group.entities 
                                        >   
                                        >     1.upto($vpanes) do |i|
                                        >       x = ($vtile*i)+(i*$space)  
                                        >       1.upto($hpanes) do |j|
                                        > 	    y = ($htile*j)+(j*$space) 
                                        >         
                                        > 	o = $pt3.offset($hVec, y - $space).offset($vVec, x - $space)
                                        >     pt1 = o.offset($hVec, -$htile)
                                        > 	pt2 = o.offset($vVec, -$vtile)
                                        > 	pt3 = pt1.offset($vVec, -$vtile)
                                        > 	#entities.add_cpoint o
                                        > 	#entities.add_cpoint pt1
                                        > 	#entities.add_cpoint pt2
                                        > 	#entities.add_cpoint pt3
                                        >     face = entities.add_face o, pt1, pt3, pt2
                                        >     face.pushpull -($tthick+rand(20))
                                        >       end
                                        >     end
                                        > end #if    
                                        

                                        cheers!

                                        Thanks tomot.
                                        But this plugin created preset file.
                                        If I add new parameter, compatible with the old one is difficult for me.
                                        If you want to use random size to component instance, please use crowd(webdialog).
                                        and change value of "size jitter" as you like.

                                        Thanks.


                                        by TAK2HATA

                                        1 Reply Last reply Reply Quote 0
                                        • M Offline
                                          Mauhaus
                                          last edited by 5 Jun 2010, 19:55

                                          Hi guys,
                                          I lost my dwg-import option after installing the plugin. Any ideas why this happened?

                                          /Thomas 😞

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 13
                                          • 14
                                          • 15
                                          • 16
                                          • 17
                                          • 32
                                          • 33
                                          • 15 / 33
                                          15 / 33
                                          • First post
                                            282/650
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement