PDA

View Full Version : 3ds max surface custom press out


dontbeafraid
10-15-2009, 10:51 PM
Hello,



I have surface represented as mesh and 3d mesh custom object (ex. sphere).

How could I press out my surface in such way, that surface nodes are translated on the distance of sphere surface poins?

Something like extrude, but in extrude parallelipiped is used to translate. Also extrude is applicable only to 2d figures.



Appreciate any of your help,

Alexander

3ds max begginer

bkravi
10-16-2009, 05:57 PM
What I understand is that you want to extrude your mesh along with the local face normals.

here is the code -

myMesh = sphere name:"mySphere"
convertToPoly myMesh
modPanel.setCurrentObject myMesh.baseObject
subobjectLevel = 4
myMesh.EditablePoly.SetSelection #Face #{1..128}
myMesh.extrusionType = 2
myMesh.faceExtrudeHeight = 10.00
myMesh.EditablePoly.buttonOp #Extrude
myMesh.EditablePoly.SetSelection #Face #{}
clearSelection()
subobjectLevel = 0

if this is not what u are looking for then explain ur problem again in detail and provide some code.

Thanks

CGTalk Moderation
10-16-2009, 05:57 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.