国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發設計 > 正文

C# NX創建圓

2019-11-10 18:41:28
字體:
來源:轉載
供稿:網友
 public static int Main(string[] args)    {        int retValue = 0;        try        {            thePRogram = new Program();            //TODO: Add your application code here             NXOpen.Part workPart = thesession.Parts.Work;           /* NXOpen.Point3d centerPoint3D = new Point3d(0,0,0);            NXOpen.Point3d xDirection = new Point3d(50, 100, 50);            NXOpen.Point3d yDirection = new Point3d(100, 100, 100);            bool startAndEndGotFlipped;            NXOpen.Arc line = workPart.Curves.CreateArc(centerPoint3D, pointon, endpoint, true, out startAndEndGotFlipped);*/            NXOpen.Point3d center = new NXOpen.Point3d(0, 0, 0);            NXOpen.Vector3d xvec = new NXOpen.Vector3d(0, 1, 0);            NXOpen.Vector3d yvec = new NXOpen.Vector3d(0, 1, 0);            NXOpen.Arc arc =  workPart.Curves.CreateArc(center, xvec, yvec, 5, 0, 2*System.Math.PI);            arc.Color = 120;            theProgram.Dispose();        }        catch (NXOpen.NXException ex)        {            // ---- Enter your exception handling code here -----        }        return retValue;    }
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 石狮市| 垦利县| 慈利县| 丰城市| 吉林省| 平谷区| 曲水县| 桐梓县| 藁城市| 太湖县| 遂平县| 江北区| 望谟县| 古丈县| 泗水县| 宜春市| 仁怀市| 太仆寺旗| 兰考县| 天津市| 三河市| 九龙城区| 攀枝花市| 沂南县| 格尔木市| 赫章县| 长白| 通辽市| 赤壁市| 甘谷县| 盘锦市| 即墨市| 靖江市| 友谊县| 邢台县| 汕尾市| 尼勒克县| 沙洋县| 肥乡县| 崇明县| 盐津县|