2008年5月24日土曜日

on the context menu when I right-click a line

on the context menu when I right-click a line
だいぶ前のスレですがまた出ていたので書きます
スレはtubealongpath.rbですが、実際に今使っているのはpipeの方ですよね
Chamfer Along Pathとかpipeとかは選択してからなのでとても便利に使わせて貰っています


ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
###$submenu2.add_item("Pipe Along Path") { pipe_along_path }###
UI.add_context_menu_handler{|menu|menu.add_separator;menu.add_item("Pipe Along Path"){Sketchup.active_model.select_tool pipe_along_path.new}}

ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー

0 件のコメント: