Go Back   AC3D Forums > General > AC3D Suggestions
Register FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Display Modes
Old 7th September 2006, 04:34 AM   #1
PerFnurt
Member
Expert member
 
Join Date: Aug 2003
Location: Eslöv, Sweden
Posts: 93
Default 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
__________________
/Per

www.perfnurt.se

Last edited by PerFnurt; 7th September 2006 at 04:38 AM.
PerFnurt is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 03:07 AM.


AC3D Forum
(C) Inivis Limited 2020