I use this.
def self.reload()
Sketchup.send_action(CMD_RUBY_CONSOLE)
load __FILE__
puts "reloaded #{__FILE__.to_s}\n"
end
I use this.
def self.reload()
Sketchup.send_action(CMD_RUBY_CONSOLE)
load __FILE__
puts "reloaded #{__FILE__.to_s}\n"
end
Hello everyone. I've modified the plugin so it saves textures as png.
It will also respect(mostly) the names of already textured materials.
If 4088 works, so should 2044(or near). Actually, I'ts a miracle that some particular resolutions work at all.
The exported images FOV is 90.
The FOV you can modify is the viewer's FOV. You can change this in the javascript code as well.
You're welcome. I'ts good to see that this is useful.
AKHLPZ: I don't know how to solve that. I can suggest you generate the images with this plugin and then change the names.
brettsichellodesign: when you export with resolution 2040 it still shows the lines? what is your OS and sketchup version?
Sadly, this bug is related to the way Sketchup 2017 renders the bars when the image export ratio and the window ratio are different. It's not something I can fix at the moment.
Not yet.
Have you tried modifying the resolution to 1020,2040 or 4080?
What program are you using? this is for cubic panoramas, and the plugin generates the html needed to show the result.
the color can be adjusted? is there a command to do that? I can try and see.
I wrote the panorama plugin in 2014, and never had this problem.
Ok, I've just tested this.
model=Sketchup.active_model
view=model.active_view
cam=view.camera
cam.aspect_ratio=1
Yes, in SU2016 the bars were transparent. in SU2017, the bars are black. That's a regression? I don't remember the bars ever being black.
I fail to see why this change would interfere with view.write_image
Has anyone else reported this problem when exporting images? maybe with other aspect ratio?
I've only encountered this in sketchup make 2017 on windows 10, Driven tested it on a mac, same issue.
I see. this happens in SU 2016 as well.
Apparently looking straight up renders the style background color, not the sky color.
To avoid this glitch, you should make them both the same color.
Hey pilou, is that on windows or mac? I've tested it on windows 10 and and the only problem was the border around images.