Save the text of the script as, for example, script.geo on your desktop. Put also your image file (image.jpg) on your desktop. Use notepad.exe to edit script.geo and replace the third line
Merge "cg.jpg"; by Merge "image.jpg"; Save the edited script, launch gmsh.exe, and open the script. Dave -- David Colignon, Ph.D. Collaborateur Logistique du F.R.S.-FNRS CÉCI - Consortium des Équipements de Calcul Intensif ACE - Applied & Computational Electromagnetics Sart-Tilman B28 Université de Liège 4000 Liège - BELGIQUE Tél: +32 (0)4 366 37 32 Fax: +32 (0)4 366 29 10 WWW: http://hpc.montefiore.ulg.ac.be/ Agenda: http://www.google.com/calendar/embed?src=david.colignon%40gmail.com [email protected] wrote: > Thanks! I've noticed it 2min ago, but still I don't know how to run this > script on Windows platform... > Cheers > andres > > > "David Colignon" <[email protected]> escribió: > >> Hi Andres, >> >> you have another example at the top right corner of http://geuz.org >> , and a link to the script used ( >> http://geuz.org/photos/cg/cg.geo ) >> >> Cheers, >> >> Dave >> >> -- >> David Colignon, Ph.D. >> Collaborateur Logistique du F.R.S.-FNRS >> CÉCI - Consortium des Équipements de Calcul Intensif >> ACE - Applied & Computational Electromagnetics >> Sart-Tilman B28 >> Université de Liège >> 4000 Liège - BELGIQUE >> Tél: +32 (0)4 366 37 32 >> Fax: +32 (0)4 366 29 10 >> WWW: http://hpc.montefiore.ulg.ac.be/ >> Agenda: >> http://www.google.com/calendar/embed?src=david.colignon%40gmail.com >> >> >> >> [email protected] wrote: >>> Hello, >>> I've just joined the mailing list for GMSH. It looks quite an >>> impressive software and its free accessibility is worth mentioning! >>> I have a question regarding the possibility to generate a mesh >>> from a picture (JPEG, PNG, etc), like the case study of Lenna as >>> background mesh >>> Is it possible to do it with some picture of simple geometries? >>> >>> Thanks in advance! >>> Regards, >>> Andres Idiart >>> Pos-doc position at OXAND, FRANCE >>> >>> >>> _______________________________________________ >>> gmsh mailing list >>> [email protected] >>> http://www.geuz.org/mailman/listinfo/gmsh >> >> >> _______________________________________________ >> gmsh mailing list >> [email protected] >> http://www.geuz.org/mailman/listinfo/gmsh >> > > _______________________________________________ gmsh mailing list [email protected] http://www.geuz.org/mailman/listinfo/gmsh
