Hey everyone! I was inspired by a cool trend on X and experimented with Ruby in SketchUp. Excited to share this with you and hear your thoughts!
I like it!
Code?
Did you use the ākind of techniqueā that your post suggests you did before this post? (view.write_image
ā¦)
__
Moved to the right forum categoryā¦
Thank you! Iām glad you like it!
Yes, I used view.write_image
and synchronized the image position on the dialog with the viewport.
If interested, you can view the source code here.
(Iāve only tested it on Mac so far)
Thanks. I assumed something similar!
The code looks nice and clear, I guess should work in Windows! (I will try it laterā¦)
Sorry I donāt know much about coding, what does it do, is it like a magnifying glass or what?
As I see, currently is to simulate transparency of the dialog - see what is ābehindā of the dialog in a model. Which otherwise cannot be achieved natively by UI::HtmlDialog.
However, āmagnifying glassā feature can be addedā¦ relative easy, with a resolution restriction. I guess.
The idea I shared revolves around a ātransparent dialogā in SketchUp. Typically, dialogs in SketchUp occupy a fixed area on the viewport, blocking part of the view.
In the video, I make a dialog that is see-through. You can still see your SketchUp model while the dialog is open.
it feels like an xray machine.
could be funny to have a different style in it. or your birdcage
lots of possibilities in this !