Go Back   AC3D Forums > Resources > AC3D Scripts and Mods
Register FAQ Members List Calendar Today's Posts

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 10th January 2018, 02:38 PM   #2
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,565
Default Re: Creating objects in TCL script

There are no internal commands to create objects and add vertices and surfaces.

There is an old linecom plugin that comes with AC3D. From Help->about-plugins:

Code:
Line command plugin - Version 1.0 by Inivis

This plugin adds internal commands to AC3D.  Commands can be called from outside AC3D using various methods - see the SDK for more info.
commands added are:
line - start a line,
point <x> <y> <z> - add a point to the line
end - finish adding the line

note that you'll need to send the redraw_all command to make AC3D show the line that's been added.
I haven't tried it for a while so it may not still work but if it does, you could possibly use it. If you would like the source code for the plugin, let me know.
Andy is offline   Reply With Quote
 

Tags
mesh, tcl


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 09:21 AM.


AC3D Forum
(C) Inivis Limited 2020