2010/4/28 maria errfig <emari...@gmail.com>

> hi every body
>
> i am interested by learning python and pythonOCC,
>
> and i want  to create a 3D cylindre but i have a problem and i want really
> have your help,
>
> i want know if it's a problem of modules that i have to add ,or the
> emplacement of my existing or in the code section
>
> waiting for your request
>
> thank you
>
>
> Maria
>

Hi Maria,

Nothing easier:

from OCC.BRepPrimAPI import *
my_cylinder = BRepPrimAPI_MakeCylinder(100,30)

Without any additional detail related to your 'problem', it's difficult to
give you a more precise answer.

Best Regards,

Thomas

>
_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to