sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    Question: Render reduction as camera pans out

    已排程 已置頂 已鎖定 已移動 Newbie Forum
    sketchup
    28 貼文 7 Posters 2.3k 瀏覽 7 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • C 離線
      Checker
      最後由 編輯

      1. Okay, I have created the correct (but empty) folders for both versions 6 (free) and 7 (free)

      2. Still no effect

      3. With Ruby Console open - running the script - I got this message

      Error; #<NoMethodError; undefined method `+' for nil;NilClass>
      /Library/Application Support/Google SketchUp 6/SketchUp/Plugins/MatrixProximity.rb;550;in `proximity'
      /Library/Application Support/Google SketchUp 6/SketchUp/Plugins/MatrixProximity.rb;686
      /Library/Application Support/Google SketchUp 6/SketchUp/Plugins/MatrixProximity.rb;550;in `call'
      /Library/Application Support/Google SketchUp 6/SketchUp/Plugins/MatrixProximity.rb;550
      
      

      Does this mean anything to you? Or is this a generic error?

      I thank you again sir!

      TIG is my hero, a true gentleman and scholar!

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

        OK we have some new info 💭
        It's saying that it's having trouble finding a folder
        C:/Program Files/Google/Google SketchUp 6/Components/Proximity Components/
        (or 7 ?)
        I don't get those errors, so I can't see why you do... but...
        Here's v1.8 that MIGHT stop the error ???
        Try it and report backMatrixProximity.rb
        Check you have the folder correctly made...

        TIG

        1 條回覆 最後回覆 回覆 引用 0
        • C 離線
          Checker
          最後由 編輯

          Thank you for posting the revamped script! Half GREAT news! On Windows XP running SU6 (Pro) it WORKED!!!!!!
          IT WORKED on my WinXP SU6 (Pro) but NOT on my Mac SU6 (Free) or SU7 (Free)
          The Half BAD news, on my Mac (my primary computer) in both SU 6 (Free) and SU 7 (Free) I get a NEW error

          Error; #<TypeError; can't convert nil into String>
          /Library/Application Support/Google SketchUp 6/SketchUp/Plugins/MatrixProximity.rb;552;in `open'
          /Library/Application Support/Google SketchUp 6/SketchUp/Plugins/MatrixProximity.rb;552;in `entries'
          /Library/Application Support/Google SketchUp 6/SketchUp/Plugins/MatrixProximity.rb;552;in `proximity'
          /Library/Application Support/Google SketchUp 6/SketchUp/Plugins/MatrixProximity.rb;687
          /Library/Application Support/Google SketchUp 6/SketchUp/Plugins/MatrixProximity.rb;552;in `call'
          /Library/Application Support/Google SketchUp 6/SketchUp/Plugins/MatrixProximity.rb;552
          

          So, again, thank you for your patience (I owe you huge after this) - does this error (from my mac) tell you anything new?

          I've attached a screen shot of where I have my "Proximity Components" folder:

          1. Is there anything wrong (that you can tell) with this folder?
          2. Is this folder in the wrong place?

          ![The location of "Proximity Components" folder on my MAC](/uploads/imported_attachments/YEBw_Picture11.png "The location of "Proximity Components" folder on my MAC")

          TIG is my hero, a true gentleman and scholar!

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

            Try this - the /Components/Proximity Components/ folder MUST now exist and if it doesn't you get an error message.MatrixProximity.rb

            TIG

            1 條回覆 最後回覆 回覆 引用 0
            • C 離線
              Checker
              最後由 編輯

              The folder structure is different on the MAC side. This is what it looks like:

              "/Library/Application Support/Google SketchUp 6/Sketchup/Components/Proximity Components"

              (note that the "Components" folder in not located in the Google Sketchup application folder itself)

              Can you alter the .rb to work with both Mac and PC?

              TIG is my hero, a true gentleman and scholar!

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

                Why not make a folder within the Sketchup structure - the ../Components/ folder should be in the same relationship as the ../Plugins/ folder ??? To get it to work make an empty ../Components/ folder where it's looking and an empty ../Components/Proximity Componnets folder too... that'll fool it.
                I think your Mac's folder structure is wrong... if you copy/paste these two lines into the Ruby Console they should return the same path ?
                Sketchup.find_support_file("","Components") Sketchup.find_support_file("","Plugins")
                ❓

                TIG

                1 條回覆 最後回覆 回覆 引用 0
                • F 離線
                  Freddie
                  最後由 編輯

                  Hey guys!

                  The folder path is different from PC to Mac.

                  I spoke to my coding friend, who took at TIG's code, and in addition to being really impressed with what you created, he was able to "Frankenstein" it and got it to work for both PC and Mac.

                  Now the script checks for platform first, and that effects where it looks for the "Proximity Components" folder

                  Tested on WinXP and MacOSX with 👍

                  Hope this helps, and thank you for sharing!


                  Matrix Proximity for both PC and Mac

                  http://www.freddieart.com

                  1 條回覆 最後回覆 回覆 引用 0
                  • C 離線
                    Checker
                    最後由 編輯

                    HOLY CRAP (the new one) WORKS FOR BOTH MY MAC AND PC!!!!

                    AWESOME! Thank you both Especially you TIG!!!

                    TIG is my hero, a true gentleman and scholar!

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

                    Advertisement