![]() |
#1 |
Senior Member
Professional user
Join Date: Feb 2006
Location: Saint-Malo, France
Posts: 148
|
![]()
There are a number of really useful scripts I could produce, given a new ac3d command, called for instance "get_selected_surface". This command would deal with the currently selected surface (one surface at a time) and return a Tcl list, like so:
{ <name> <id> <type> <n> {x1 y1 z1} {x2 y2 z2} ... {xn yn zn} } Is it possible? Given that, I could, for instance, easily answer Tartarooga's request for a "new extrude", create Coons surfaces, etc. Cheers, Thierry |
![]() |
![]() |
![]() |
#2 |
Senior Member
Professional user
Join Date: Feb 2006
Location: Saint-Malo, France
Posts: 148
|
![]()
Is there a chance to see this suggestion taken into account?
Thierry |
![]() |
![]() |
![]() |
#3 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
|
![]()
I think you'd need a load of other functions too?
e.g. new_object, new_vertex, set_vertex, new_surface, surface_add_vertex, object_add_vertex/surface - as in the plugin interface etc. |
![]() |
![]() |
![]() |
#4 |
Senior Member
Professional user
Join Date: Feb 2006
Location: Saint-Malo, France
Posts: 148
|
![]()
Possibly not. My idea was to create a text file for the new objects/surfaces, which can be done with tcl/tk, and then to have the script itself merge it with the current scene, which, if I am not mistaken, can be done with the current set of commands. The whole thing transparent to the user, who would just have to be told the names of the new surfaces/objects. What do you think?
Thierry P.S: You know Andy, I am not very young as I have a little more than 30 years of development experience, but of all development tools I have ever used, C and C++ are those I hate most: inconsistent syntax, dangerous loopholes everywhere, etc. Tcl/tk is far from perfect, but at least it doesn't go against my religious beliefs :-). |
![]() |
![]() |
![]() |
|
|