摘要: 阅读全文
posted @ 2021-12-28 15:19 刘朋1102 阅读(49) 评论(0) 推荐(0)
摘要: 1 Tag[] features = new Tag[0]; 2 Tag feature1 = Tag.Null; 3 UFSession.GetUFSession().Modl.CreateSetOfFeature("name", features, features.Length, 0, out 阅读全文
posted @ 2021-12-28 14:40 刘朋1102 阅读(452) 评论(0) 推荐(0)
摘要: 1.获取封闭曲线的对象 2.延一个方向做条辅助线,判断辅助线与封闭曲线的交点个数,判断完后删除 注意还需判断交点是否在封闭对象的端点,在端点则不计算数量(-2) 3.判断交点的奇偶性 if ((num & 1) != 1) 如偶数在外边,奇数在内部 阅读全文
posted @ 2021-12-28 14:29 刘朋1102 阅读(723) 评论(0) 推荐(0)
摘要: 1 NXOpen.Session theSession = NXOpen.Session.GetSession(); 2 NXOpen.Part workPart = theSession.Parts.Work; 3 NXOpen.Part displayPart = theSession.Part 阅读全文
posted @ 2021-12-28 14:13 刘朋1102 阅读(444) 评论(0) 推荐(0)
摘要: 1 public static void creatOffsetFaceBuilder(NXOpen.Face[] faces1 ,double dis) 2 { 3 NXOpen.Session theSession = NXOpen.Session.GetSession(); 4 NXOpen. 阅读全文
posted @ 2021-12-28 14:06 刘朋1102 阅读(242) 评论(0) 推荐(0)
摘要: 1 NXOpen.Direction direction1; 2 direction1 = workPart.Directions.CreateDirection(face, NXOpen.Sense.Forward, NXOpen.SmartObject.UpdateOption.WithinMo 阅读全文
posted @ 2021-12-28 13:59 刘朋1102 阅读(724) 评论(0) 推荐(0)