문제

I've only a basic knowledge of 3D Max. I'm creating a plane using MaxScript, converting it to an editable Poly and then extruding certain faces. The thing is, I only have 16 faces to work from. Is there a way to have more than 16 faces?

도움이 되었습니까?

해결책

You would have to define it before you do your conversion to poly.

The syntax shown in the listener for adding segments is:

$.lengthsegs = 20
$.widthsegs = 20

So for your script just add this right below your line where you define your plane:

yPlane.lengthsegs =20 --any number of segments 
yPlane.widthsegs = 20 --any number of segments 

this makes it more "bulletproof", since when using $ it means any selected object.

By using "yplane" variable we make sure it only affects this object.

다른 팁

And in case you have similar questions in the future, just turn on the MAXScript macro recorder and perform the edit in the 3ds Max UI. Most of the times, the recorder will show you the MAXScript code for your action.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top