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

首頁 > 學院 > 開發(fā)設(shè)計 > 正文

C# NX創(chuàng)建圓

2019-11-10 16:49:03
字體:
供稿:網(wǎng)友
 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;    }
發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 建平县| 兴宁市| 当雄县| 威宁| 濮阳市| 龙井市| 宜城市| 牡丹江市| 永德县| 阿图什市| 五家渠市| 武城县| 苍梧县| 南部县| 湘乡市| 佛山市| 西峡县| 全椒县| 疏勒县| 义乌市| 游戏| 固镇县| 昌宁县| 定南县| 聂拉木县| 舞钢市| 大厂| 三门县| 当涂县| 阜阳市| 高邮市| 新化县| 昌宁县| 营山县| 平原县| 施甸县| 中卫市| 义乌市| 曲周县| 翁源县| 会泽县|