rev


revolution surface

rev

rev(id)

        Built surface of revolution about the axis y identifier id generatrix line 3D the 13 points joining (100,100,0) and (100, -100.0) and 24 x sections.
Options:
ang(a,a0): angle a begining at a0 (a=2*PI and a0=0 by default).
close: closed (automatic if a=2*PI).
poi(p): generatrix 3D line p.
secx(nx): nx x sections.
secy(ny): ny
Some properties can be specified at creation.

Note: if option poi(p) is présente, secy(ny) can´t be choosen, since ny = NP(p)-1.

Example:
rev(7)ang(2*PI)poi(arc 200,PI/2,-PI,12);
        Builds ball(7)dim(200)secy(12).