Notifications
Clear all

[Closed] CgTalk Maxscript Challenge 018: "Wear and Tear"

Do people want more time on this or shall I move on?

since i suggested this to the challenge i take the responsibility and scream ‘please extend the deadline’!!! i hope that some more scripters will join the challenge though…

i’m afraid i can’t say much on wahooneys attempt since i only have max 8 and the script didn’t work here :shrug:

I know…the time of the challenge is finish.
But I would like to post my solution for worm edge.
It’s simple but work for me.

Just select the edges and run the script.

    undo on
    (
    	$.edgeChamfer = 1
    	$.EditablePoly.buttonOp #chamfer
    	$.connectEdgeSegments = 2
    	$.EditablePoly.ConnectEdges ()
    	edg = (polyOp.getEdgeSelection $) as array
    	for e=1 to edg.count do
    	(
    		ver = polyop.getEdgeVerts $ edg[e]
    		
    		for v=1 to 2 do
    		(
    			p=(polyop.getVert $ ver[v] )
    			
    			polyop.setVert $ #{ver[v]} (p + (random -0.5 0.5))
    		)		
    	)
    )
    

The red number are relative from object scale. Change if necessary…

1 Reply
(@drswoboda)
Joined: 10 months ago

Posts: 0

Very handy tool, thanks.
-David

Hey Aline3d,
I havn’t tried it but it looks pretty cool!
The simpler – the better

improvement suggestion:
Let the script do it for a whole object instead of selecting edges. Let the script find the edges itself by checking the angle of the faces normals. i.e. Let the user define an angle threshold.

Pity, that I’m full of work at the moment. Your script inspires me…

thanks
cheers
Uli

hey thats pretty cool i like the edge one it pretty useful

Page 2 / 2