測(cè)試環(huán)境 AnyCAD Editor 2.0.1
關(guān)鍵字: opencascade, ogre3d, vtk, anycad, freeware, acis
1. 首先建立參數(shù)
打開(kāi)參數(shù)管理窗口,建立double類(lèi)型的參數(shù), Id分別為:
Height
Radius
Angle
2. 編寫(xiě)腳本
aBrepTool=BrepTools();
aHeightParam = theParameterSet:FindParameter(“Height”)
aAngleParam = theParameterSet:FindParameter(“Angle”)
aRadiusParam = theParameterSet:FindParameter(“Radius”)
aShape=aBrepTool:MakeCylinder(Vector3(0,0,0), Vector3(0,0,1), aRadiusParam:AsDouble(), aHeightParam:AsDouble(), aAngleParam:AsDouble())
theShape = aBrepTool:Fillet(aShape, 5)
3. 生成模型

4. 程序下載
本程序在各大下載站點(diǎn)均有下載