Notifications
Clear all
[Closed] poly cutting problem
Aug 22, 2008 2:00 pm
Hi all,
Just got a little problem that’s been causing me trouble for a while now. I’ve got an array of faces and an array with positions. The idea is to cut using the edit_poly cut tool to cut a line through them. Can anybody shed some light on this problem. I keep getting expceptional system error on StartCut.
face_index contains 1,2,3,4 etc
position_array contains point3 coordinates
ground_object.modifiers[1].SetOperation #Cut
for t = 1 to (face_index.count as integer -1) do
(
ground_object.modifiers[1].StartCut #Face face_index[t] position_array[t] [0,0,1]
ground_object.modifiers[1].SetCutEnd position_array[t+1]
)
ground_object.modifiers[1].Commit ()