View Single Post
Old 5th July 2005, 11:54 AM   #2
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,564
Default

Feel free to add to this and release it in the plugins forum section


Put this in crease.tcl, inside your scripts folder

Code:
proc send_crease { } {

	set obs [ac3d get_selected_objects]
	set quick_crease_angle [.c.e get]

	puts "setting $quick_crease_angle on $obs"
	foreach ob $obs {
		ac3d object_set_crease_angle $ob $quick_crease_angle	
	}

	ac3d redraw_all
}


toplevel .c
entry .c.e -textvariable quick_crease_angle

button .c.b -command send_crease -text "Set crease angle"
pack .c.e -side top -fill x
pack .c.b -side top
Andy is offline   Reply With Quote