View.write_image shows dotted line border
-
In what versions of SU do you observe this?
-
I've only encountered this in sketchup make 2017 on windows 10, Driven tested it on a mac, same issue.
-
Have you tested on older versions? Do you think this is a regression?
I wonder if it's related to a regression where the aspect ratio overlay bars are drawn as solid black in SU2017. -
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=1Yes, 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? -
The bars were by default a transparent black. The color can actually be adjusted. But in SU2017 the transparency is ignored. (I haven't actually tried to see if it picks up custom colors...)
-
the color can be adjusted? is there a command to do that? I can try and see.
-
@rami_lpm said:
the color can be adjusted? is there a command to do that? I can try and see.
I think it is one of the RenderingOptions.
-
Jim is correct, I don't recall exactly what it is, but you find it if you inspect the available keys.
-
Sketchup.active_model.rendering_options["BandColor"] = (Sketchup;;Color.new(185,138,0,127))this works in v16 but has no effect in v17 on my mac...
john
-
This is a cross post from our SketchUp Forum post
tl;dr - In addition to trying the work-arounds in this thread (only the resolution magic numbers worked) we discovered that turning off anti-aliasing eliminates the issue for any resolution - if you can accept the jaggies.
Hope that helps someone diagnose and fix the issue, or is a workaround for someone until the fix.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement