Open-Source Parametric Design and Automated Surgical Planning Pipeline for Total Knee Replacement
Abstract
1. Introduction
2. Materials and Methods
2.1. Reference Bone Model
2.2. Femoral Component
- distal (9 mm);
- anterior (3 mm at 10° draft);
- posterior (6 mm);
- two chamfer cuts at 45°.
2.3. Tibial Baseplate
2.4. Polyethylene Insert
2.5. Parametric Architecture
2.6. Automated Surgical Planning Pipeline
- Import and alignment: Femur and tibia STL meshes are imported and aligned to a canonical coordinate frame via principal component analysis (PCA). The longest principal axis, superior–inferior (SI), is mapped to Z, ML to Y, and AP to X. The femur is oriented condyles–down, the tibia plateau–up.
- TEA detection: The surgical transepicondylar axis is identified by performing 2D principal component analysis on the epicondylar band of the distal femur, the transverse slice containing the widest mediolateral extent. The first principal component of this band approximates the medial-to-lateral epicondylar direction. The femur is then rotated so that this axis aligns with the world Y axis, establishing consistent rotational alignment in the transverse plane. This automated approach replaces the manual landmark digitization typically required in surgical planning software.
- Measurement and size selection: Bounding box dimensions (ML, AP) are extracted from the aligned bones and matched against a twelve-size lookup table to select the closest standard size. Rounding behavior and other selection parameters are exposed for user configuration in the script.
- Component placement: Pre-made implant STL components (femoral, tibial baseplate, insert) are imported and positioned on the aligned bones. Each component’s origin corresponds to the center of its mating surface in the Fusion model, enabling direct placement without additional offsets.
- Boolean resection: Parametric cutting blocks, oversized Boolean primitives encoding the five-cut femoral protocol and proximal tibial resection, are applied via Boolean difference operations. A separate shell cutting block, recessed by 0.2 mm at each cutting surface, extracts the resected bone volume as a distinct mesh for visualization and 3D printing. This dual-block approach ensures the shell and resected bone fit together physically with manufacturing tolerance when printed for demonstration and planning.
- Export: Cut bones, shells, and positioned components are exported as STL files for visualization, 3D printing, or further analysis. A complete log file with all process parameters is exported in the text format.
2.7. Prototype Fabrication and Validation
3. Results
3.1. Reference Geometry
3.2. Implant Component Design
3.3. Geometric Validation
3.4. Patient Bone Application
3.5. Pipeline Performance
4. Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| AM | Additive Manufacturing |
| AP | Anterior–Posterior |
| CAD | Computer-Aided Design |
| CR | Cruciate-Retaining |
| CT | Computed Tomography |
| CSV | Comma-Separated Values |
| FEA | Finite Element Analysis |
| ML | Medial–Lateral |
| NIH | National Institutes of Health |
| PCA | Principal Component Analysis |
| PETG | Polyethylene Terephthalate Glycol |
| PLA | Polylactic Acid |
| POMVC | Parametric Orthopedic Model-View-Controller |
| PS | Posterior-Stabilized |
| RCT | Randomized Controlled Trial |
| RMSE | Root Mean Square Error |
| HD | Hausdorff Distance |
| SI | Superior–Inferior |
| SSM | Statistical Shape Model |
| sTEA | Surgical Transepicondylar Axis |
| STL | Standard Tessellation Language (file format) |
| TEA | Transepicondylar Axis |
| TKA | Total Knee Arthroplasty |
| UHMWPE | Ultra-High-Molecular-Weight Polyethylene |
References
- Evans, J.T.; Walker, R.W.; Evans, J.P.; Blom, A.W.; Sayers, A.; Whitehouse, M.R. How Long Does a Knee Replacement Last? A Systematic Review and Meta-Analysis of Case Series and National Registry Reports with More than 15 Years of Follow-Up. Lancet 2019, 393, 655–663. [Google Scholar] [CrossRef]
- DeFrance, M.J.; Scuderi, G.R. Are 20% of Patients Actually Dissatisfied Following Total Knee Arthroplasty? A Systematic Review of the Literature. J. Arthroplast. 2023, 38, 594–599. [Google Scholar] [CrossRef] [PubMed]
- Yamazaki, T.; Watanabe, T.; Nakajima, Y.; Sugamoto, K.; Tomita, T.; Maeda, D.; Sahara, W.; Yoshikawa, H.; Tamura, S. 3D Kinematics of Mobile-Bearing Total Knee Arthroplasty Using X-Ray Fluoroscopy. Int. J. Comput. Assist. Radiol. Surg. 2015, 10, 487–495. [Google Scholar] [CrossRef] [PubMed]
- Mahfouz, M.; Abdel Fatah, E.E.; Bowers, L.S.; Scuderi, G. Three-Dimensional Morphology of the Knee Reveals Ethnic Differences. Clin. Orthop. Relat. Res. 2012, 470, 172–185. [Google Scholar] [CrossRef] [PubMed]
- Chui, C.S.; Leung, K.S.; Qin, J.; Shi, D.; Augat, P.; Wong, R.M.Y.; Chow, S.K.H.; Huang, X.Y.; Chen, C.Y.; Lai, Y.X.; et al. Population-Based and Personalized Design of Total Knee Replacement Prosthesis for Additive Manufacturing Based on Chinese Anthropometric Data. Engineering 2021, 7, 386–394. [Google Scholar] [CrossRef]
- Nielsen, C.S.; Nebergall, A.K.; Huddleston, J.I.; Lidgren, L.; Greene, M.E.; Malchau, H. Medial Overhang of the Tibial Component Is Associated with Higher Risk of Inferior KOOS Pain after Knee Replacement. J. Arthroplast. 2018, 33, 1394–1398. [Google Scholar] [CrossRef]
- Burge, T.A.; Jeffers, J.R.T.; Myant, C.W. A Computational Tool for Automatic Selection of Total Knee Replacement Implant Size Using X-Ray Images. Front. Bioeng. Biotechnol. 2022, 10, 971096. [Google Scholar] [CrossRef]
- Zimmer Biomet. Persona: The Personalized Knee System–Brochure and Size Reference Guide; Zimmer Biomet: Warsaw, IN, USA, 2016. [Google Scholar]
- ConforMIS. FDA Clears First Patient-Specific Implant System for Total Knee Replacement. 2011. Available online: https://www.conformis.com/about-conformis/news/fda-clears-first-patient-specific-implant-system-for-total-knee-replacement/ (accessed on 8 June 2026).
- Moret, C.S.; Hirschmann, M.T.; Vogel, N.; Arnold, M.P. Customised, Individually Made Total Knee Arthroplasty Shows Promising 1-Year Clinical and Patient Reported Outcomes. Arch. Orthop. Trauma Surg. 2021, 141, 2217–2225. [Google Scholar] [CrossRef]
- Beit Ner, E.; Dosani, S.; Biant, L.C.; Tawy, G.F. Custom Implants in TKA Provide No Substantial Benefit in Terms of Outcome Scores, Reoperation Risk, or Mean Alignment: A Systematic Review. Clin. Orthop. Relat. Res. 2021, 479, 1237–1249. [Google Scholar] [CrossRef]
- Meheux, C.J.; Park, K.J.; Clyburn, T.A. A Retrospective Study Comparing a Patient-Specific Design Total Knee Arthroplasty with an off-the-Shelf Design: Unexpected Catastrophic Failure Seen in the Early Patient-Specific Design. J. Knee Surg. 2021, 34, 86–93. [Google Scholar] [CrossRef]
- Guezou-Philippe, A.; Clavé, A.; Maguet, E.; Cadène, A.; Guezou, B.; Cao, S.; Stindel, E. Fully Automated Workflow for Designing Patient-Specific Orthopaedic Implants: Application to Total Knee Arthroplasty. PLoS ONE 2025, 20, e0325587. [Google Scholar] [CrossRef]
- Burge, T.A.; Jeffers, J.R.T.; Myant, C.W. Applying Machine Learning Methods to Enable Automatic Customisation of Knee Replacement Implants from CT Data. Sci. Rep. 2023, 13, 3317. [Google Scholar] [CrossRef] [PubMed]
- Koh, Y.-G.; Jung, K.-T.; Hong, H.-Y.; Kim, K.-M.; Kang, K.-T. Optimal Design of Patient-Specific Total Knee Arthroplasty for Improvement in Wear Performance. J. Clin. Med. 2019, 8, 2023. [Google Scholar] [CrossRef]
- Ghidotti, A.; Vitali, A.; Regazzoni, D.; Rizzi, C. An Investigation of Innovative 3D Modelling Procedures for Patient-Specific Total Knee Arthroplasty. Comput.-Aided Des. Appl. 2022, 19, 306–319. [Google Scholar] [CrossRef]
- Khoo, L.P.; Goh, J.C.H.; Chow, S.L. Parametric CAD Model of a Knee Joint Prosthesis. Proc. Inst. Mech. Eng. H J. Eng. Med. 1993, 207, 115–120. [Google Scholar] [CrossRef]
- Vitković, N.; Mitić, J.; Manić, M.; Trajanović, M.; Husain, K.; Petrović, S.; Arsić, S. Software Framework for the Creation and Application of Personalized Bone and Plate Implant Geometrical Models. J. Healthc. Eng. 2018, 2018, 6025935. [Google Scholar] [CrossRef]
- Howell, S.M.; Shelton, T.J.; Hull, M.L. Implant Survival and Function Ten Years after Kinematically Aligned Total Knee Arthroplasty. J. Arthroplast. 2018, 33, 3678–3684. [Google Scholar] [CrossRef]
- Howell, S.M.; Akhtar, M.; Nedopil, A.J.; Hull, M.L. Reoperation, Implant Survival, and Clinical Outcome after Kinematically Aligned Total Knee Arthroplasty: A Concise Clinical Follow-up at 16 Years. J. Arthroplast. 2024, 39, 684–689. [Google Scholar] [CrossRef] [PubMed]
- Rivière, C.; Iranpour, F.; Auvinet, E.; Howell, S.; Vendittoli, P.-A.; Cobb, J.; Parratte, S. The Kinematic Alignment Technique for Total Knee Arthroplasty. In Personalized Hip and Knee Joint Replacement; Springer: Cham, Switzerland, 2020. [Google Scholar]
- Alyazji, Q. Custom Design of Knee Joint Prosthesis by Using Computerized Tomography (CT) Images and 3D Modelling. Master’s Thesis, Eastern Mediterranean University, Famagusta, Cyprus, 2014. [Google Scholar]
- Stryker Corporation. Triathlon Total Knee System: Design Rationale; Stryker Corporation: Kalamazoo, MI, USA, 2019. [Google Scholar]
- Lei, T.; Jiang, Z.; Qian, H.; Backstein, D.; Lei, P.; Hu, Y. Comparison of Single-Radius with Multiple-Radius Femur in Total Knee Arthroplasty: A Meta-Analysis of Prospective Randomized Controlled Trials. Orthop. Surg. 2022, 14, 2085–2095. [Google Scholar] [CrossRef]
- Kour, R.Y.N.; Guan, S.; Dowsey, M.M.; Choong, P.F.; Pandy, M.G. Kinematic Function of Knee Implant Designs across a Range of Daily Activities. J. Orthop. Res. 2023, 41, 1217–1227. [Google Scholar] [CrossRef]
- Sabatini, L.; Risitano, S.; Parisi, G.; Tosto, F.; Indelli, P.F.; Atzori, F.; Massè, A. Medial Pivot in Total Knee Arthroplasty: Literature Review and Our First Experience. Clin. Med. Insights Arthritis Musculoskelet. Disord. 2018, 11, 1179544117751431. [Google Scholar] [CrossRef] [PubMed]
- Han, Y.; Wang, X.; Chen, W.; Guo, Y.; Liu, Y. Parametric Design and Wear Study of Artificial Knee Prosthesis. In Proceedings of the SPIE International Conference on Future of Medicine and Biological Information Engineering (MBIE), Shenyang, China, 10–11 August 2024. [Google Scholar] [CrossRef]
- Brockett, C.L.; Carbone, S.; Fisher, J.; Jennings, L.M. Influence of conformity on the wear of total knee replacement: An experimental study. Proc. Inst. Mech. Eng. H J. Eng. Med. 2018, 232, 127–134. [Google Scholar] [CrossRef] [PubMed]
- Castellarin, G.; Bori, E.; Rapallo, L.; Pianigiani, S.; Innocenti, B. Biomechanical Analysis of Different Levels of Constraint in TKA during Daily Activities. Arthroplasty 2023, 5, 3. [Google Scholar] [CrossRef] [PubMed]
- Narra, S.P.; Mittwede, P.N.; DeVincent Wolf, S.; Urish, K.L. Additive Manufacturing in Total Joint Arthroplasty. Orthop. Clin. N. Am. 2019, 50, 13–20. [Google Scholar] [CrossRef]
- Zappley, N.R.; Restrepo, S.; Fraval, A.; Ong, A.C.; Hozack, W. 10-Year Follow-up for a New Three-Dimensional Printed Cementless Total Knee Arthroplasty. J. Arthroplast. 2025, 40, S250–S255. [Google Scholar] [CrossRef]
- Zhang, Z.-H.; Qi, Y.-S.; Wei, B.-G.; Bao, H.-R.-C.; Xu, Y.-S. Application Strategy of Finite Element Analysis in Artificial Knee Arthroplasty. Front. Bioeng. Biotechnol. 2023, 11, 1127289. [Google Scholar] [CrossRef]
- Loi, I.; Stanev, D.; Moustakas, K. Total Knee Replacement: Subject-Specific Modeling, Finite Element Analysis, and Evaluation of Dynamic Activities. Front. Bioeng. Biotechnol. 2021, 9, 648356. [Google Scholar] [CrossRef]









| Component | Parameter | Value | Description |
|---|---|---|---|
| Femoral | Femur_ML/Femur_AP | 82/74 mm | Primary sizing inputs |
| R1/R2/R3 | 16.5/35.5/105 mm | J-curve radii (deep flex/extension/trochlear) | |
| Distal_Cut | 9 mm | Distal resection depth | |
| Posterior/Anterior cut | 6/3 mm | Resection depths | |
| Tibial | Tibia_ML/Tibia_AP | 78/63 mm | Primary sizing inputs |
| Plate_Thickness | 5 mm | Baseplate height | |
| Posterior_Slope | 0° | Tibial slope (adjustable) | |
| TEA_Alignment | 90° | Rotational alignment | |
| L/R Condyle Diameter | 40/40 mm | Independently configurable | |
| Insert | Insert_Thickness | 7 mm | Minimum bearing thickness |
| Distal_Cut (from femur) | 9 mm | Femoral distal resection depth | |
| J_Curve_Offset_Coeff | 5% | Conformity control |
| SIZE | Femur ML (mm) | Femur AP (mm) | Tibia ML (mm) | Tibia AP (mm) |
|---|---|---|---|---|
| S1 | 62 | 52 | 58 | 36 |
| S2 | 64 | 54 | 62 | 38 |
| S3 | 66 | 56 | 66 | 40 |
| S4 | 68 | 58 | 70 | 42 |
| M1 | 70 | 60 | 72 | 44 |
| M2 | 72 | 62 | 74 | 46 |
| M3 | 74 | 64 | 76 | 48 |
| M4 | 76 | 66 | 78 | 50 |
| L1 | 78 | 68 | 82 | 52 |
| L2 | 80 | 70 | 84 | 54 |
| L3 | 82 | 72 | 86 | 56 |
| L4 | 84 | 74 | 90 | 58 |
| System | Param. | 3 Comp. | Articulation | Open | AM | Validation |
|---|---|---|---|---|---|---|
| Present work | Yes | Yes | Triple radius J-curve | Yes | Yes | Prototype |
| Guezou-Philippe [13] | Yes * | Yes | Medial pivot | No | No | RMSE/HD |
| Burge [14] | No | Partial | Bone-carved | No | No | Coverage % |
| Chui [5] | Yes | Partial | Population | No | Yes | RMS fit |
| ConforMIS [9] | No ** | Yes | Patient J-curve | No | No | Clinical |
| Symbios [10] | No ** | Yes | Patient-specific | No | No | Clinical |
| Triathlon [23] | No | Yes | Single-radius J-curve | No | No | Clinical |
| Persona [8] | No | Yes | Multi-radius | No | No | Clinical |
| ATTUNE [30] | No | Yes | GRADIUS | No | No | Clinical |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Arysbek, A.; Alimbayev, C.; Ozhikenov, K. Open-Source Parametric Design and Automated Surgical Planning Pipeline for Total Knee Replacement. Appl. Sci. 2026, 16, 5987. https://doi.org/10.3390/app16125987
Arysbek A, Alimbayev C, Ozhikenov K. Open-Source Parametric Design and Automated Surgical Planning Pipeline for Total Knee Replacement. Applied Sciences. 2026; 16(12):5987. https://doi.org/10.3390/app16125987
Chicago/Turabian StyleArysbek, Aknazar, Chingiz Alimbayev, and Kassymbek Ozhikenov. 2026. "Open-Source Parametric Design and Automated Surgical Planning Pipeline for Total Knee Replacement" Applied Sciences 16, no. 12: 5987. https://doi.org/10.3390/app16125987
APA StyleArysbek, A., Alimbayev, C., & Ozhikenov, K. (2026). Open-Source Parametric Design and Automated Surgical Planning Pipeline for Total Knee Replacement. Applied Sciences, 16(12), 5987. https://doi.org/10.3390/app16125987
