On 26 Oct 2012, at 13:19, Nicolas Bachelard <[email protected]> wrote:

> Hi GMSH team,
> 
> I want to create a cube on which I should add spheres with random
> positions.
> 
> I already have the GMSH functions to generate 3D spheres and the big
> Cube where I want to include them.
> 
> Do you have an idea of how I could include my sphere at random positions
> inside this cube?
> 
> Best regards
> 

cf. tutorial/t5.geo + using Rand() ?

> 
> _______________________________________________
> gmsh mailing list
> [email protected]
> http://www.geuz.org/mailman/listinfo/gmsh

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine




_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh

Reply via email to