[Gmsh] python example files?

lukshuntim at gmail.com lukshuntim at gmail.com
Mon Mar 28 08:38:18 CEST 2011


On 03/25/2011 02:37 PM, Christophe Geuzaine wrote:
> On 24/03/11 23:12, Perrin Meyer wrote:
>> Hi.
>>
>> I svn co https://geuz.org/svn/gmsh
>>
>> but I don't really see any python files, or even what is wrapping stuff
>> for python.
>>
>> Where would I find an example of using python to create a mesh?
>>
> 
> Hi Perrin - If you have swig >= 2.0 installed on your system the
> wrappers should be automatically built (make _gmshpy). Attached is a
> small example.

In debian sid, the default swig is 1.3. There's a swig 2.0 but the
binary is called swig2.0. Cmake can only find the default version. How
can I instruct cmake to find the required version 2.0?

Regards,
ST
--