/// <summary>
        /// 创建特征
        /// </summary>
        /// <param name="mat"></param>
        /// <param name="workNumber"></param>
        public void CreateBuilder(Matrix4 mat, int workNumber)
        {
            WorkModel work = new WorkModel(this.Model.Asm.WorkpieceDirectoryPath, this.Model.Asm.MoldInfo, workNumber, mat);

            work.CreatePart();
            work.Load(asmPart);
            singleton.AddWork(work);
        }
Example #2
0
 public bool Add(ref AssembleSingleton singleton)
 {
     return(singleton.AddWork(this.Model));
 }