Create a cylinder with spaceclaim's python script

Hello 

I'm asking you because I need help to create a cylinder using the SpaceClaim script using the python language.

Indeed, I was able to create a sphere by using the spaceclaim scrpit and I would like to create a cylinder by using the same scrpit.

The difference with the sphere is that it must be given the radius and the height while the radius is sufficient for the sphere (logical).

I was able to find a lot of codes for the creation of the sphere because I don't know the coding specific to spaceclaim yet.

So I don't understand some parameters or fields already recorded in spaceclaim as "Frame.World" ...

After the creation of the sphere, I was able to duplicate it. But first I'd like to create the cylinder in the same way and then duplicate it in the same way as well.

I'm going to put below a screenshot of my script for the sphere.

If anyone has an idea of how to proceed please I will be grateful.

Thank you in advance for your help.

David.

Hello David

As no one answers you during the holidays, I was suddenly seized by a question that torments me about the bore.

To be able to sleep with peace of mind in my Garden of Eden, I ask you the following serpentine question:

With software as modern and intuitive as SpaceClaim, what's the point of using Python to generate shapes?


Especially if you plan to make an entire piece much more complicated than a cylinder or a sphere, or an apple that is the result of knowledge if ever there was one.
Would you have in SpaceClaim a heavenly image of the tree of creation after the Pythonian operation.

Kind regards