0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

windows11で、sketchup6 その62

Posted at

概要

windows11に、sketchup6を入れてみた。
rubyで、3Dを書く。
shadow_infoを調査してみた。

写真

image.png

サンプルコード

def testinfo0
	model = Sketchup.active_model
	shadowinfo = model.shadow_info
	ie = UI::WebDialog.new("WEBDialog", true, "WEBDialog", 600, 480, 150, 150, true)
	html = "<html><head><meta http-equiv='content-type' content='text/html; charset=Shift_JIS' /></head><body><h2>shadow_info</h2><textarea cols=75 rows=25>"
	shadowinfo.each { |key, value|
		html += "\n " + key + " : " + value.to_s 
	}
	html += "</textarea></body></html>"
	ie.set_html html
	ie.show
end

以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?