pythonocc例子06-圆柱

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
回复
shirazbj
帖子: 333
注册时间: 2010-01-30 18:38
送出感谢: 0
接收感谢: 0

pythonocc例子06-圆柱

#1

帖子 shirazbj » 2010-07-04 18:38

from OCC.Display.SimpleGui import *
from OCC.BRepPrimAPI import *
from OCC.BRepAlgoAPI import *
from OCC.gp import *
display, start_display, add_menu, add_function_to_menu = init_display()
my_cylinder = BRepPrimAPI_MakeCylinder(15,30).Shape()
display.DisplayShape(my_cylinder)
start_display()
附件
cylinder.gif
cylinder.gif (10.48 KiB) 查看 190 次
免费NanoCAD=免费DraftSight+可API编程(用.net或者vbs和java脚本)=白白 AutoCAD
http://nanocad.com/
回复

回到 “办公、图像、机械电子设计等”