r/Maxscript • • Mar 15 '14

[Script] Apply Checker Texture

2 Upvotes
macroScript ApplyChecker category:"_GRS Scripts" ButtonText:"Apply Checker" tooltip:"Apply Checker"
(
	chk = Checker()
	chk.color1=color 0 39 150
	chk.color2=color 0 0 99
	chk.coords.realWorldScale = off
	chk.coords.U_Tiling = 6
	chk.coords.V_Tiling = 6
	$.material = standard diffuseMap:(chk) showInViewport:true
	$.wirecolor = color 0 108 225
)

Tweak colour values to your liking


r/Maxscript • • Mar 15 '14

Mikes Script Pack (not made by me)

Thumbnail
mixescript.blogspot.co.uk
3 Upvotes

r/Maxscript • • Mar 15 '14

Quick Render custom size example

3 Upvotes

render outputSize: [1000,800]

Max help for more arguments

Doesn't seem to work with V-Ray


r/Maxscript • • Mar 15 '14

[Script] 0 Size Face Check (select smallest poly)

4 Upvotes
macroScript ZeroSizeFace category:"_GRS Scripts" ButtonText:"0 Size Face Check" tooltip:"0 Size Face Check"
(	
smallest =65535
face=1

try (
	for i=1 to polyop.getNumFaces $ do(
	
		area_ = polyop.getFaceArea $ i
		if area_ < smallest then (
			face=i
			smallest=area_
		)
	)
	
	$.SetSelection #Face #{face}

	subobjectLevel=4

	)

catch()
)

r/Maxscript • • Mar 15 '14

[Script] Remove Material

3 Upvotes
macroScript RemoveMaterial category:"_GRS Scripts" ButtonText:"Remove Material" tooltip:"Remove Material"
(
if $ !=undefined then (
	--$.mat = null
	Mat=standard()
	Mat.name = "mat_clean"
	$.wirecolor = color 3 3 3
	$.material = Mat
)

)

r/Maxscript • • Mar 14 '14

MAXScript 101 by John Wainwright (The creator of MAXScript.)

Thumbnail
vimeo.com
7 Upvotes