Mindwerks / pyplatec

Plate simulation for python (wrapper of an existing C library)
GNU Lesser General Public License v2.1
13 stars 3 forks source link

Basic introduction inadequate #11

Closed tibor95 closed 9 years ago

tibor95 commented 9 years ago

Hi, I tried the original project (compiled and run it) and then I found this one and as it is newer I would like to try also this one. Only I was not able to run it. To build yes - both C and python, but I dont understand what then.

You might clarify following:

  1. can I run also C binary directly? If yes, where is it? Does it takes the very same CLI arguments as original code?
  2. Can you elaborate more that python bindings use? Such simple script would probably need to start with 'import platec', correct? But this fails because I am probably in wrong directory.

I found also pybinding/test/test_generation.py but this also did not work

I am interesting to use it for creation of maps for widelands game, I was using fractal method, that is good, but I would also like to try this one. So the output of this would be at least png with height (no fancy colors, just B/W), or the better would be txt file with lines containing (x y height). I presume height 0 is just water.

Tibor

tibor95 commented 9 years ago

oops, this was intended for the other project!