• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

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

Scheduled Pinned Locked Moved Plugins
136 Posts 32 Posters 258.4k 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 20 Dec 2009, 08:06

    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 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 20 Dec 2009, 10:29

      @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 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by 20 Dec 2009, 14:57

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

        Hi

        1 Reply Last reply Reply Quote 0
        • T Offline
          thomthom
          last edited by 20 Dec 2009, 15:03

          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 Reply Last reply Reply Quote 0
          • C Offline
            Chris Fullmer
            last edited by 20 Dec 2009, 21:00

            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 Reply Last reply Reply Quote 0
            • T Offline
              thomthom
              last edited by 20 Dec 2009, 21:04

              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 Reply Last reply Reply Quote 0
              • C Offline
                Chris Fullmer
                last edited by 20 Dec 2009, 21:07

                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 Reply Last reply Reply Quote 0
                • T Offline
                  thomthom
                  last edited by 20 Dec 2009, 21:12

                  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 Reply Last reply Reply Quote 0
                  • T Offline
                    thomthom
                    last edited by 20 Dec 2009, 21:13

                    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 Reply Last reply Reply Quote 0
                    • R Offline
                      rod1233
                      last edited by 20 Dec 2009, 22:15

                      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 Reply Last reply Reply Quote 0
                      • K Offline
                        KXI System
                        last edited by 21 Dec 2009, 01:52

                        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 Reply Last reply Reply Quote 0
                        • C Offline
                          Chris Fullmer
                          last edited by 21 Dec 2009, 04:19

                          @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 Reply Last reply Reply Quote 0
                          • R Offline
                            rod1233
                            last edited by 21 Dec 2009, 07:08

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

                            rod

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              Chris Fullmer
                              last edited by 22 Dec 2009, 19:58

                              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 Reply Last reply Reply Quote 0
                              • K Offline
                                KXI System
                                last edited by 22 Dec 2009, 21:08

                                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 Reply Last reply Reply Quote 0
                                • C Offline
                                  Chris Fullmer
                                  last edited by 22 Dec 2009, 21:14

                                  Yes, a few pages ( http://forums.sketchucation.com/viewtopic.php?f=323&t=23517&st=0&sk=t&sd=a&start=60#p208742 ) back Charly mentioned a free program. I meant to ad it to the first post, and never did. It is called Imagen:

                                  Link Preview Image
                                  This Page Does Not Exist

                                  Oops, looks like the page is lost.

                                  favicon

                                  (gromada.com)

                                  Try that one!

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

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    rod1233
                                    last edited by 22 Dec 2009, 23:33

                                    Chris
                                    We have succeeded, my friend
                                    Thank you for all the efforts 😍 😍
                                    You are truly wonderful
                                    Thank you again

                                    rod

                                    1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      Chris Fullmer
                                      last edited by 22 Dec 2009, 23:42

                                      Great, now I need to clean up the scripts for you again so they stop popping up windows everytime you open SketchUp with messages to relay back to me.

                                      Also, what does the pop up window say in it?

                                      And check back here hopefully today for an update on the scripts for you

                                      Chris

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

                                      1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        Chris Fullmer
                                        last edited by 22 Dec 2009, 23:46

                                        OK, well I cleaned it up very quickly and here are the 2 new scripts. There should both work on your system. And you should get no more pop up windows. Thanks for being patient with me as I de-bugged this for you. I am going to go back and remove all other test files I uploaded now too since I don't need other people to download them. But I will leave these up in case someone in the future has a system with your same needs.

                                        Chris


                                        clf_camera_recorder_loader.rb


                                        clf_camera_recorder.rb

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

                                        1 Reply Last reply Reply Quote 0
                                        • C Offline
                                          Chris Fullmer
                                          last edited by 22 Dec 2009, 23:51

                                          @pixero said:

                                          Chris, have you tried LightUp? Could you implement a flyaround mode with inertia like in LightUp?
                                          It would be so great to fly around smoothly and record scenes and then use that for both SU lines and LightUp.
                                          Pleeeeaaase? πŸ˜„

                                          I need to look into this. I do not have LightUp. If his flythrough is just a flythrough tool, then you should be able to activate the camera recorder, then use his flythrough and then stop recording when done. Maybe?

                                          Chris

                                          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
                                          • 6 / 7
                                          6 / 7
                                          • First post
                                            101/136
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement