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

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

C# NX創建圓

2019-11-09 20:23:05
字體:
來源:轉載
供稿:網友
 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;    }
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 巴林左旗| 柳州市| 东阿县| 曲阳县| 新民市| 定州市| 民权县| 海晏县| 沅江市| 文水县| 安吉县| 昆山市| 惠东县| 思茅市| 西林县| 遵化市| 甘肃省| 磐石市| 莎车县| 旌德县| 张掖市| 常山县| 南平市| 鄄城县| 商河县| 白玉县| 临潭县| 报价| 三门县| 台安县| 高台县| 武陟县| 明溪县| 深水埗区| 堆龙德庆县| 江山市| 安庆市| 孝义市| 论坛| 桃江县| 泗阳县|