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

    [Plugin] Make Fur v.2.1.0(20140323)

    已排程 已置頂 已鎖定 已移動 Plugins
    650 貼文 255 Posters 1.1m 瀏覽 254 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • E 離線
      Einstein
      最後由 編輯

      I tried to generate fur with SketchUp 8 also but the same problem exists with the same set of non-working params.

      Working parameters: Density, MaxNumber, Stiffness, Divide (Main tab), all Jitters, ValidDistance (Detail tab).

      Non-working parameters: Length, RootWidth (Main tab), directions and forces (Detail tab).

      No matter what values I am using, errors show up. I tried similar values to Dave's but it didn't change anything.

      Example error in Ruby console when adjusting non-working params:

      Error: #<ArgumentError: Cannot convert "0.006" to Length>
      C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/FUR_EN/main.rb:2407:in to_l' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/FUR_EN/main.rb:2407:in s_to_l'
      C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/FUR_EN/main.rb:1398:in start_fur_test' C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/FUR_EN/main.rb:1340:in show_webdialog'
      C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/FUR_EN/main.rb:2407:in `call'
      C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/FUR_EN/main.rb:2407

      Additionally, when I adjust a non-working param and after that, a working param, also that working param starts to generate Ruby errors. Only when I restart plugin, I can use some of the params again.


      fur error.png

      1 條回覆 最後回覆 回覆 引用 0
      • TIGT 線上
        TIG Moderator
        最後由 編輯

        def s_to_l( tstr1 )
          if tstr1
            tstr = tstr1.to_s.gsub(/\~ /,"")
            return tstr.to_l ####### THROWS ERROR
        
        

        In the error-message tstr1 is "0.0006" so if you type this in the Ruby Console it should work:
        x="0.0006" x.to_l

        If that works I can't see what's up !

        TIG

        1 條回覆 最後回覆 回覆 引用 0
        • E 離線
          Einstein
          最後由 編輯

          I should type in Ruby Console

          x="0.006"
          x.to_l

          where "0.006" is the value I adjusted with the slider; type it right after moving the slider, right? And then Make Fur.

          Sadly this still generates errors 😞


          no.png

          1 條回覆 最後回覆 回覆 引用 0
          • TIGT 線上
            TIG Moderator
            最後由 編輯

            This was not a FIX.

            I wanted to see what got returned when you set a reference to a string and then used .to_l to change that into a length...
            It should work in SketchUp >= 6 - particularly when tested outside of the main code.

            Fortunately your code in the Ruby Console shows the error.
            This should NEVER happen !

            What are your Model Info > Units set to ?
            A screen-shot might help.

            TIG

            1 條回覆 最後回覆 回覆 引用 0
            • E 離線
              Einstein
              最後由 編輯

              My units are set to metres.


              errors.png

              1 條回覆 最後回覆 回覆 引用 0
              • TIGT 線上
                TIG Moderator
                最後由 編輯

                Try typing in values like 0.250m - rather than the bald 0.250, without a units suffix.
                See if that helps ?
                This is a mystery...

                TIG

                1 條回覆 最後回覆 回覆 引用 0
                • E 離線
                  Einstein
                  最後由 編輯

                  Yeah! 😎

                  This is the point. Adding "m" suffix recovers the preview and makes creating fur possible. Sometimes the solution is so surprisingly simple and you wonder how you couldn't figure it out by yourself 😆

                  Thank you so much, TIG!

                  PS I still cannot use these sliders but this it OK. Typing values by hand is also good.

                  1 條回覆 最後回覆 回覆 引用 0
                  • M 離線
                    malthuviusrex8
                    最後由 編輯

                    I have a bit of a problem... The plugin was working perfectly fine for a bit, but then I must've either pressed some quick key accidentally or inadvertently changed an unknown setting, because suddenly now the grass isn't showing up; no preview, no end result, nothing.

                    I've moved a bunch of sliders trying to get it back, to no avail. The 'show preview' option is checked. I'm pretty sure it's not making the grass at all, since, when it does my slow pc will slightly lag, (this is aside from the fact that pressing 'Make Fur' does nothing) and now it shows no difference.
                    What the heck is happening?! 👿 I've tried changing many of the options in the dialog box... but nothing changes.

                    This was working perfectly fine, and is a wonderful plugin. I really could use help. 💚
                    Thank you!

                    1 條回覆 最後回覆 回覆 引用 0
                    • J 離線
                      jeff1harmed
                      最後由 編輯

                      Thanks. I'm mainly using the crowd maker and I have found it very useful.

                      I've used it to make a jungle of kelp. This was straightforward although I had to play around with the parameters to get the correct density. (see https://3dwarehouse.sketchup.com/model/5b40a061-4125-4b12-9e11-f91b9f2dbbcc/salt-water-fish-props) Then I tried it on a shoal of fish and this was slightly different. With face-me components they all swim in the same direction, no problem. However, with 3D models I had to move them forward and behind manually, but the plug-in was still a big time-saver.

                      Then I tried the crowd maker on vegetables packed in crates. Again I had to move components into rough grids but It still saved time. (see https://3dwarehouse.sketchup.com/model/13bc63c0-f52f-4f63-85bc-a359adf7fedc/vegetable-props ). Very interesting plug-in.

                      I would suggest alphabetically ordering components in your drop down list. as in its current (first-in first out) state, it takes some time to find one amongst many.

                      1 條回覆 最後回覆 回覆 引用 0
                      • M 離線
                        MoonDragon2009
                        最後由 編輯

                        Hi, thank you so much for this add-on.
                        Since I saw that there are translations in various languages, I translated the language file into Italian, if you want to include it in the next version.
                        Nice work! 👊


                        Italian language

                        1 條回覆 最後回覆 回覆 引用 0
                        • 1
                        • 2
                        • 29
                        • 30
                        • 31
                        • 32
                        • 33
                        • 33 / 33
                        • 第一個貼文
                          最後的貼文
                        Buy SketchPlus
                        Buy SUbD
                        Buy WrapR
                        Buy eBook
                        Buy Modelur
                        Buy Vertex Tools
                        Buy SketchCuisine
                        Buy FormFonts

                        Advertisement