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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 15th December 2021, 10:29 AM   #4
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,565
Default Re: Macro Recorder?

Put the attached file in your scripts folder (within the AC3D program folder).


When AC3D starts, it reads that script and adds an item to the Tools menu.


The code is this:


Code:
proc tomkat_run {} {

    #(switch to Object mode)
    ac3d set_select_mode 1

    #Object -> Merge
    ac3d object_merge    

    #(switch to Vertex mode)
    ac3d set_select_mode 3

    #Vertex -> Weld
    ac3d weld_vertices

    #Surface -> Combine 
    ac3d combine_surfaces
}

 .mbar.tools.menu add command -label "Tomkat Super Combine" -command "tomkat_run"
 
 puts "Tomkat script complete"
To experiment set the console to stay around (File->settings->advanced) and put "ac3d list" in a script to see all the possible commands.
Attached Files
File Type: tcl tomkat.tcl (394 Bytes, 69 views)
Andy is offline   Reply With Quote
 


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 08:15 PM.


AC3D Forum
(C) Inivis Limited 2020