国产探花免费观看_亚洲丰满少妇自慰呻吟_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;    }
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 米泉市| 河池市| 开封市| 清流县| 大洼县| 左贡县| 阿勒泰市| 册亨县| 安仁县| 余姚市| 康乐县| 错那县| 平山县| 阿拉尔市| 龙泉市| 娄底市| 永兴县| 扎赉特旗| 潼南县| 太仓市| 攀枝花市| 灵宝市| 长乐市| 东乡族自治县| 凌源市| 江油市| 长汀县| 隆安县| 临城县| 惠东县| 青州市| 冕宁县| 舟山市| 如东县| 科尔| 宿迁市| 大足县| 黄石市| 鄂托克前旗| 日照市| 万山特区|