[Plugin] Camera Settings Export/Import
-
This is because the way the data is compiled from the array into a string in Ruby1.8 is different to Ruby2. It is currently incompatible with v2014 !
Here is how to fix it...
Open the file in Notepad++ on PC or TextWrangler on the MAC.
Find line #152, which reads:
myfile.write(new_array_entry.to_s)
Change it to readif Sketchup.version.to_i < 14 myfile.write(new_array_entry.to_s) else ### >=v2014 new_array_entry.each{|e| myfile.write(e) } end
Save it and restart SketchUp.
Now it should write the same format of data-file in all versions of SketchUp.
The import [reading] part should remain unaffected across versions... -
Because the author allows future changes by others, I have made v1.2 compatible with all SketchUp versions - available here http://sketchucation.com/pluginstore?pln=camera_export_import
-
Thanks TIG!!
-
@tig said:
Because the author allows future changes by others, I have made v1.2 compatible with all SketchUp versions - available here http://sketchucation.com/pluginstore?pln=camera_export_import
Thank you TIG
-
Thank you careca and TIG - this plugin has saved my day!
-
2d perspective scenes are not exported properly, i hope you add that features soon.
-
Im looking for something to place a camera on exact axis. This way i can copy a camera from different modeling app. Its seems to be missing in some importers.
Does anyone know a trick or script?
-
@rombout said:
Im looking for something to place a camera on exact axis. This way i can copy a camera from different modeling app. Its seems to be missing in some importers.
Does anyone know a trick or script?
a quick search
-
in the SketchUcation plugin store
http://sketchucation.com/pluginstore?listtype=1%26amp;author=0%26amp;category=0%26amp;search=camera%26amp;submit=%3F -
in the extension warehouse
http://extensions.sketchup.com/en/search/site/camera
-
-
找了这个插件很久了,修改后可以使用,自己修改了下界面换成中文了。
-
@mshdyh said:
找了这个插件很久了,修改后可以使用,自己修改了下界面换成中文了。
你好 我发现1.2版的这个插件在处理两点透视(并且缩放平移过)的相机时会出现问题,直观来说就是无法正确的导出和导入,我看了下代码,不知是不是因为没有加入“CX,CY,比例”这三个参数(在普通机位,这三个数值分别为0,0,1),如果是的话,我想请教如何自行添加?如果不是话,那无法正确处理两点透视相机的问题在哪里?
-
Re: [Plugin] Camera Settings Export/Import
Is there an update for this plugin that works in 2023?
Thanks!!
Advertisement