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

浙公网安备 33010602011771号