[Plugin] Camera Recorder v1.7.2 UPDATED May 23, 2013
-
Chris
Emerged within the tool ( System preferencec )
But the need to activate the
I tried hard to no avail
-
Great, we're getting closer to solving it.
After you try to initilize it, make sure to also go to View > Toolbars > Camera Recoder
You must make sure the toolbar is turned on too.
Plus all the tools are availabe in Plugins > Chris Fullmer Tools > Camera Recorder
Check those things to see if that gets it working,
Chris
-
Chris
Did not show the tool in the tool bar
But emerged in the preferences
-
ok, so the loader file is loading, and its trying to load the script, but its failing. I have a few ideas how to fix that. Your XP is having issues with the path's for some reason. BUt I think I know how to fix it. Let me see what I can do.
Chris
-
I do not have Windows XP
I have a Windows Vista -
Soil you have the file on the Windows XP has been success with ease
But Windows Vista is still the problem -
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
-
Waiting for the new my friend
All thanks to you and your efforts -
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
-
Chris
This was the result
-
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
-
@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 \ thetr
way might be safer/easier to see...
@@path.tr("/","\\")if @@pc
-
What's wrong with gsub, and how is tr safer and easier?
-
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.
-
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.....
-
The
.tr
is somewhat different though. But can be used in this case..gsub
can also be used without using regex for pattern. -
Oh yeah, I also meant to ask:
What is regex?
Chris
-
Something which turns my brain into liquid goo.
-
Generic Regex info: http://www.regular-expressions.info/index.html
Ruby related: http://www.regular-expressions.info/ruby.html
-
Chris
This is the result :
Error Loading File clf_camera_recorder.rb
private methodgsub 'called for nil: NilClassprivate method
gsub!' called for nil: NilClassError Loading File clf_camera_recorder_loader.rb
private method `gsub! ' called for nil: NilClassI 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
Advertisement