|
how to make plugins from the command line
|
|
09-21-2019, 09:20 PM
Post: #6
|
||||
|
||||
|
RE: how to make plugins from the command line
Understood.
I did a test here and I got a code working using my dev environment (MSys), but not using the built version. I use this command line: werl +S1 -pa /F/unixlike/src/wings/ebin -run wings_start start -extra --script 'make_cube(x,y,z);scale(x,y,z);move_point(index,x,y,z);color_face(index,r,g,b);save_as(foo.wings);' But, a Windows shortcut adjusted to use the werl.exe under Wings3D install dir didn't work. Only dgud can help with that because it's beyond my erlang knowledge. ![]() If the any parameter would be catch by Wings3D, then you can just write a plugin to handle your script. I added the code below to my w.i.p. plugin: PHP Code: init() ->and the log got this printed out: Code: Script: "make_cube(x,y,z);scale(x,y,z);move_point(index,x,y,z);color_face(index,r,g,b);save_as(foo.wings);"
|
||||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
how to make plugins from the command line - hartsantler - 09-08-2018, 10:00 PM
RE: how to make plugins from the command line - micheus - 09-08-2018, 11:08 PM
RE: how to make plugins from the command line - hartsantler - 09-20-2019, 03:59 AM
RE: how to make plugins from the command line - micheus - 09-20-2019, 04:47 PM
RE: how to make plugins from the command line - hartsantler - 09-21-2019, 04:47 PM
RE: how to make plugins from the command line - micheus - 09-21-2019 09:20 PM
RE: how to make plugins from the command line - dgud - 09-23-2019, 06:46 AM
RE: how to make plugins from the command line - hartsantler - 09-24-2019, 02:43 AM
RE: how to make plugins from the command line - dgud - 12-09-2019, 07:43 AM
|
User(s) browsing this thread: 1 Guest(s)





@MicheusVieira
MicheusVieira
Micheuss
micheus4wings3d