Notifications
Clear all

[Closed] Create and Modify an object

Ok, quick question. So I have created objects in max using maxscript, converted it to a poly and chamfer/extrude/beveled/inset base off what is showing in the maxscript listener. My question is this though, is there a better, more efficient way to create and object?

For instance, let’s say I want to create a cylinder, capseg 1, height 3, radius 1.5. I then want to convert it to poly, select the bottom face, inset .5, extrude -2 and then select both rings of edges on the bottom and chamfer by .1

I can do this already using the commands that maxlistener gives me, but is there an easier/faster way to code these for creation?

Thanks

2 Replies

create splineshape profile and add lathe modifier

not exactly what I’m looking for per say.

is there a way to streamline this process like the one listed below?

		mybox = box length:(8*spn_rows.value) width:(8*spn_columns.value) height:(brickheight())
		select mybox
		ConvertTo $ Editable_Poly
		Max modify mode
		subobjectLevel = 4
		$.EditablePoly.SetSelection #Face #{1}
		$.insetAmount = 1.5
		$.EditablePoly.buttonOp #inset
		$.faceExtrudeHeight = (-brickheight()+1)
		$.EditablePoly.buttonOp #extrude
		subobjectLevel = 2
		$.EditablePoly.SetSelection #Edge #{5..12}
		$.edgeChamfer = 0.1
		$.EditablePoly.buttonOp #Chamfer
		subobjectLevel = 0