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

    [Plugin] Camera Recorder v1.7.2 UPDATED May 23, 2013

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

      Soil you have the file on the Windows XP has been success with ease
      But Windows Vista is still the problem

      1 條回覆 最後回覆 回覆 引用 0
      • Chris FullmerC 離線
        Chris Fullmer
        最後由 編輯

        Very odd. I write these plugins on a Vista system, and use them at work on an XP system.

        I'll keep digging. I might have a new file for you to try in a few hours.

        Chris

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

        1 條回覆 最後回覆 回覆 引用 0
        • R 離線
          rod1233
          最後由 編輯

          Waiting for the new my friend
          All thanks to you and your efforts

          1 條回覆 最後回覆 回覆 引用 0
          • Chris FullmerC 離線
            Chris Fullmer
            最後由 編輯

            Sorry Rod, I've been sick and have not been doing too much.

            So I don't know what the problem is, but these scripts open the ruby concole while the scripts are loading, so we can see any load errors. So please overwrite the existing files with these. And copy any text that gets written to the ruby console when SketchUp is starting. Then paste that code back here.

            Chris

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

            1 條回覆 最後回覆 回覆 引用 0
            • R 離線
              rod1233
              最後由 編輯

              Chris
              This was the result


              Untitled.jpg

              1 條回覆 最後回覆 回覆 引用 0
              • Chris FullmerC 離線
                Chris Fullmer
                最後由 編輯

                OK Rod, I think I've found a solution. Please download and overwrite this file sindei the clf_camera_recorder folder. Please oh Please tell me this works.

                Chris

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

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

                  @chris fullmer said:

                  OK Rod, I think I've found a solution. Please download and overwrite this file sindei the clf_camera_recorder folder. Please oh Please tell me this works.
                  Chris

                  @@path.gsub!( /\//, "\\\\" ) if @@pc
                  around line #53, seems a heavy handed [wrong] way to replace all of the PC's filepath's / separators with a \ the tr way might be safer/easier to see...
                  @@path.tr("/","\\")if @@pc
                  ❓

                  TIG

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

                    What's wrong with gsub, and how is tr safer and easier?

                    Hi

                    1 條回覆 最後回覆 回覆 引用 0
                    • thomthomT 離線
                      thomthom
                      最後由 編輯

                      in that example you do save a few characters. And you avoid the overhead of rexex processing. if it is simple text or character replacement it is faster to do plain text replace than invoking regex.

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

                      1 條回覆 最後回覆 回覆 引用 0
                      • Chris FullmerC 離線
                        Chris Fullmer
                        最後由 編輯

                        I was not aware of the .tr method. I had only seen gsub, and I was able to get it to work. But I like the way .tr works. It looks much simpler. It took me hours and hours to wrap my head around how slashes work and escaping characters with lots of help. I'm sure I don't understand it all yet. But just having it work made me happy.

                        So the problem in this script that I was fixing is that I was storing forward slashes into the Windows registry. It seems to work fine on most computers. But not Rod's. His Vista won't handle forward slashes at all. Anyone know what might be making his system work like that?

                        Chris

                        PS I still don't know if these tweaks fixed it for Rod - I sure hope it did. Because I'm about out of ideas otherwise.....

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

                        1 條回覆 最後回覆 回覆 引用 0
                        • thomthomT 離線
                          thomthom
                          最後由 編輯

                          The .tr is somewhat different though. But can be used in this case.

                          .gsub can also be used without using regex for pattern.

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

                          1 條回覆 最後回覆 回覆 引用 0
                          • Chris FullmerC 離線
                            Chris Fullmer
                            最後由 編輯

                            Oh yeah, I also meant to ask:

                            What is regex?

                            Chris

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

                            1 條回覆 最後回覆 回覆 引用 0
                            • thomthomT 離線
                              thomthom
                              最後由 編輯

                              Something which turns my brain into liquid goo.

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

                              1 條回覆 最後回覆 回覆 引用 0
                              • thomthomT 離線
                                thomthom
                                最後由 編輯

                                Generic Regex info: http://www.regular-expressions.info/index.html

                                Ruby related: http://www.regular-expressions.info/ruby.html

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

                                1 條回覆 最後回覆 回覆 引用 0
                                • R 離線
                                  rod1233
                                  最後由 編輯

                                  Chris
                                  This is the result :
                                  Error Loading File clf_camera_recorder.rb
                                  private method gsub 'called for nil: NilClassprivate method gsub!' called for nil: NilClassError Loading File clf_camera_recorder_loader.rb
                                  private method `gsub! ' called for nil: NilClass

                                  I am very sad because I did that I had that tool

                                  Note: In this strange problem I succeeded for the first time and then I got this problem.

                                  rod

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • K 離線
                                    KXI System
                                    最後由 編輯

                                    Can you have anyway for this plugin to export as a movie file too?
                                    If you can thanks! but I know its gonna be hard.

                                    Getting the perfect sig is hard...

                                    Google it!

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • Chris FullmerC 離線
                                      Chris Fullmer
                                      最後由 編輯

                                      @Rod - ok, I think I know a surefire way to fix your problem. I'll try to get a script out tonight or tomorrow. But I am going to disable the script's ability to remember a location to save the image files, since that is what seems to be causing the problems.

                                      @KXI - I agree that would be cool. If I implement it will probably cost something.

                                      Anyone out there know a free ruby library that compiles sequence images into a video? Would I be able to do it with the command line mplayer? Or doies imagemagik support anything beyond animated .gifs?

                                      Chris

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

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • R 離線
                                        rod1233
                                        最後由 編輯

                                        Chris
                                        I am waiting for what will be the solution
                                        And thank you

                                        rod

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • Chris FullmerC 離線
                                          Chris Fullmer
                                          最後由 編輯

                                          OK Rod, try this one now. overwrite the clf_camera_recorder.rb file that is inside the clf_camera_recoreder folder.

                                          Also, it should pop up a little message while loading. I would like to know what it says on your system. Thanks!

                                          Chris

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

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • K 離線
                                            KXI System
                                            最後由 編輯

                                            ok, but Chris can you at least tell me a free program that acts like Quick time pro (the feature that this plugin uses)?

                                            Getting the perfect sig is hard...

                                            Google it!

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

                                            Advertisement