|
7th September 2006, 04:34 AM | #1 |
Member
Expert member
Join Date: Aug 2003
Location: Eslöv, Sweden
Posts: 93
|
Re: Accept VBScript or JavaScript
By the way, you've re-triggered my interest for it and I'll look into what could be done by having a totally separate (ie not AC3D plugin) interface to AC3D through sockets or tcl.
Main challenge is to design an object model so one could do stuff like (pesudo-code): ac3d = CreateObject("ac3dCOMProxy") ac3d.Select(ac3d.GetObjectByName("cylinder")) ac3d.Selection.Move(10,20,30) ac3d.Selection.Rotate(...) obj = ac3d.GetObjectByPos(200,10,23) obj.Move(10,-20,30) obj.Scale(1,1,10) vertArr = obj.GetVertices(); i=0 for each v in vertArr v.y = SomeFuncComputingY(i) i = i + 1 next . . . etc Last edited by PerFnurt; 7th September 2006 at 04:38 AM. |
|
|