I noticed that Layers actually accepts float values, so

Layers{2*Pi*radius / lcar}

already works.
Sorry for the noise!
--Nico


On Thu, Oct 4, 2012 at 9:52 AM, Nico Schlömer <[email protected]> wrote:
> Hi,
>
> can I do basic calculations in the Gmsh scripting language?
> Specifically, I would like to calculate the number of layers in an
> extrusion as int(2*pi*radius / lcar).
>
> Cheers,
> Nico

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

Reply via email to