[Plugin] CameraKeyMaker 1.0 (Update 2011-04-09)
78 posts
• Page 3 of 3 • 1, 2, 3
Re: [Plugin] CameraKeyMaker 1.0 (Update 2011-04-09)..bute are you sure it runs also within su8 ?
Re: [Plugin] CameraKeyMaker 1.0 (Update 2011-04-09)It should work. Incompatibility is usually 'backwards' to earlier versions, that don't have all of the newer version's tools. Why not just install it and try it out. The worst that can happen is it doesn't work ! Check that you have indeed installed it as directed [a common pitfall] !! If so then uninstall the few files you have installed. TIG
Re: [Plugin] CameraKeyMaker 1.0 (Update 2011-04-09)Hi,
This plugin for me is very useful but I work on Mac and it didn't work because de keys codes and pathname are different between Pc and Mac. I have done changes in camera_key_maker.rb and the plugin works on Mac now, except the preview animation with UP Key, I think is because the temporal folder on mac is different to Pc-->line 802: @fileName = c:/Temp/Anim/#{date}_img_#{@frame}.png I use Apple Extended Keyboard. CHANGES KEYS CODE lines 295 to 360 ------------------------------------ # ONKEYDOWN (CAMERA MANUAL ANIMATION) # ------------------------------------ def onKeyDown(key, x, y, view) # 63234 LEFT, 63235 RIGHT, 63232 UP, 63233 DOWN if @points_eye.size > 0 size = (@points_eye.size) -1 #previous/next Key <--[--1] || [++1]--> if key == 63234 or key == 63235 if key == 63234 # LEFT <-- if @index && @index > 0 @index -= 1 eye = @points_eye.at(@index) target = @points_target.at(@index) else @index = size eye = @points_eye.at(size) target = @points_target.at(size) end else # RIGHT --> if @index && @index < size @index += 1 eye = @points_eye.at(@index) target = @points_target.at(@index) else @index = 0 eye = @points_eye.at(0) target = @points_target.at(0) end end # key 63234 @camera.set eye, target, @up.clone Sketchup::set_status_text("Llave de Cámara: #{@index+1}", SB_PROMPT) view.animation = nil @edit_cam = false @draw = true view.invalidate end # key 63234/63235 # PLAY PREVIEW if key == 63232 # UP @edit_cam = false if @points_eye and @points_eye.size > 1 $preview = true view.animation = CameraAnimation.new(@points_eye, @points_target) #view.animation = cam_anim #place to last camera key @index = (@points_eye.size) -1 end #Animation stopped" end # 63232 # EDIT current position camera key if key == 63233 # DOWN @edit_cam = true Sketchup::set_status_text("Editar Llave de Cámara: #{@index+1} , Editar curva manualmente solo Vistas [Arriba-Abajo-Izquierda-Derecha]", SB_PROMPT) end # key 63233 end # @points_eye.size > 0 @draw = true view.invalidate end #onKeyDown CHANGES PATHNAME line 637: pathname = Sketchup.find_support_file "camera_path.html" ,"Plugins/CameraKeyMaker" If somebody can help with the implementation of Preview Animation (line 802: @fileName = "c:/Temp/Anim/#{date}_img_#{@frame}.png", path to temporal folder on Mac), I would be very grateful.
SketchUcation One-Liner AdvertsKeyframe Animation plugin - animate your SketchUp model by adding movement to any object.
Premium Members get 20% discount!
78 posts
• Page 3 of 3 • 1, 2, 3
|