エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
sketchupでruby その17 - Qiita
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
sketchupでruby その17 - Qiita
def ga entities = Sketchup.active_model.entities pi = Math::PI (-24..24).each { |i| group = entit... def ga entities = Sketchup.active_model.entities pi = Math::PI (-24..24).each { |i| group = entities.add_group face = group.entities.add_face [0, 0, 60], [0, 20, 60], [1, 20, 60], [1, 0, 60] face.pushpull -1 phi = i * pi / 24 trn = Geom::Transformation.translation [0, 0, 100] rot = Geom::Transformation.rotation [0, 0, 0], [0, 1, 0], phi group.transform! trn group.transform! rot } end

