public string generateToothMill() { if (!work.useToothMill) { return(null); } IGeometryOutput output = MakeOutput(); generatePrefix(output, work.toothMill); generateToothProfileMilling(output, work.numTeeth, work.toothMill); generateSuffix(output); return(output.Finish()); }
public string generateMainMill(bool includeTooth) { IGeometryOutput output = MakeOutput(); generatePrefix(output, work.mainMill); generateHoleMilling(output); generateRidgeTopMilling(output); generateFaceMilling(output); generateToothTopMilling(output); generateToothOutlineMilling(output); if (includeTooth) { generateToothProfileMilling(output, work.numTeeth, work.mainMill); } generateSuffix(output); return(output.Finish()); }