• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Interface & Usage v
« Previous 1 … 27 28 29 30 31 32 Next »
shell script

 
  • 0 Vote(s) - 0 Average
shell script

easyw
Offline

Junior Member

Posts: 1
Threads: 1
Joined: Apr 2013
#1
04-12-2013, 09:25 PM
Hi to all,
I would like to write a script for wings3D that would do these command in sequence:
- import STL 'filenamein'
-select all
-scale uniform 10%
-center X, center Y, center Z
-export WRL 'filenameout'
(the best would be to launch a script from windows command line...)

I cannot find a place with examples... or a manual to start from...

any help would be appreciate
thank you
Mau
oort
Offline

3D Obsessed

Posts: 1,184
Threads: 69
Joined: Nov 2012
#2
04-12-2013, 10:38 PM
easyw,
It is not possible to write scripts.

The following thread is your best bet... Combine Commands.

I am afraid what you are trying to do may be too complicated but I cannot say for sure since I have not tried the software mentioned in the thread.

oort
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,680
Threads: 184
Joined: Jun 2012
#3
04-12-2013, 10:59 PM
I also don't think it could be possible, but maybe this example could help you to try: Exploring Wings3D through the Erlang Shell (for beginners)
If you find a way, please don't forget to share here. Smile
dgud
Offline

Grumpy Dev
Posts: 692
Threads: 37
Joined: Nov 2012
#4
04-14-2013, 02:36 PM (This post was last modified: 04-14-2013, 02:44 PM by dgud.)
If you download the src there is a script, which I use to convert between fileformats
is can be easy modfied to do what you want, requires some programming though if you are not afraid
of that. See wings_convert in src directory.

It does file format conversion and tesselation, you will have to add scale and center command.

You need erlang installed (from erlang.org) and you will need to setup the paths so it finds
erlang and the wings compiled code.

The script currently requires bash (i.e. mingw or cygwin) but you can change the first line of it to run it from
the windows com shell. Requires some google skills :-)
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode