Outer Shell Thickness Measuring Tool for Structures with Curved Surfaces | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Method Article Outer Shell Thickness Measuring Tool for Structures with Curved Surfaces Marisca Meyer, Ruhan Potgieter, Casper Hendrik jonker, Sandeepa Rajbaran-Singh, and 1 more This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-9265000/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract Accurate measurement of surface-to-interface thickness in biological structures, such as cortical bone or root dentine, is important for clinical applications in oral radiology and anatomy particularly in endodontics where inadequate remaining dentine may increase the risk of procedural complications such as perforation. Conventional methods typically rely on two-dimensional sections aligned to fixed global axes, which often fail to account for the natural curvature and complex geometry of three-dimensional (3D) biological models. This study proposes a novel automated software tool for high-resolution thickness mapping of small, highly curved structures. Using the Physics.Raycast function within the Unity 3D development platform, the tool implements a five-stage workflow: slice generation, longitudinal centerline establishment, centerline refinement, surface remeshing, and automated thickness computation. Virtual 2D slices are created at the model origin to establish a longitudinal axis, ensuring that subsequent slices remain perpendicular to the local anatomical curvature. Surface reconstruction through linear interpolation corrects segmentation artifacts and artificial holes, producing a cohesive watertight model. Validation using cylindrical and cuboidal computer-generated models representing morphological extremes demonstrated high precision, with measurements accurate to 0.0001 mm on curved surfaces. Although the software currently requires manually annotated inner and outer surfaces in .obj format, it generates robust numerical outputs and color-mapped visualizations of local thickness. Application of this method enables consistent and reproducible assessment of dentine thickness in complex root morphologies. Beyond dental applications, this framework enables reliable and repeatable quantitative analysis of curved hollow structures, including long bones, the cranial vault, and airway walls. Dentistry Dentine thickness centerline cortical thickness curved structures orthogonal Figures Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Introduction Measurement of surface-to-interface thickness in biological structures has several applications clinically. For instance, measuring cortical thickness or dentine thickness is of critical importance in fields like oral radiology and anatomy. Cortical thickness usually represents the mean spacing between periosteal and endosteal surfaces, measured orthogonally (as the shortest perpendicular distance between cortical boundaries) (Vedi et al., 2011). An analogous structural concept to cortical thickness is the dentine thickness, which relates to the peripheral mineralized layer of the tooth and is measured from the outer load-bearing mineralized tissue to the internal cavity along the root curvature (Meyer et al., 2025). Measurements from surface-to-interface of biological structures are usually taken from two-dimensional (2D) slices made in a three-dimensional (3D) structure. These sections can either be destructive: sampled directly from the structure or non-destructive by radiological sections. Sections taken directly from the structure may undergo further histological processes and photography to facilitate measurements (Bissinging et al., 2017; Vågberg et al., 2018) Nowadays, however, we rely more on radiological techniques as they are considered more accurate and deliver more precise measurements than histological methods. Among available 3D modalities, micro-focus X-ray computed tomography (micro-CT) is regarded as the gold standard for dental and bone research due to its superior spatial resolution (MicroCT: 68–106 µm CBCT: approximately 200 µm resolution depending on specimen size) (Schneider & Ochs, 2014; Theye et al., 2022). This variation is particularly significant, as discrepancies of even one or two decimal fractions of a millimeter may have critical clinical implications (Theye, 2022). To measure surface-to-interface thickness accurately, perpendicular measurements need to be taken. The study by Profico et al. (2021), describes and demonstrates the application of a R package, morphomap, which uses a 3D mesh of long bones. The example used was the femur. Following segmentation, as a default, the program extracts 100 evenly spaced virtual sections along the given femur length perpendicular to the frontal plane. These transverse sections intersect with two meshes: periosteal and endosteal. From the centroid of the cross section, equiangular lines (15 degrees) are projected on to each mesh to place twenty-four semi landmarks on each surface. Cortical thickness can then be calculated from the Euclidean distance between each landmark pair (one on the endosteal surface and the other on the periosteal surface) (Profico et al., 2021). Unfortunately, perpendicular sections based on a fixed global axis such as the frontal plane which disregards the curvature of the structure, will fail for three-dimensional (3D) models of structures with complicated geometries and natural curves as sections will become oblique when the structure curves. As existing tools for determining the surface-to-interface thickness does not adequately quantify small curved biological structures like dental roots (Yanık, & Nalbantoğlu, 2022), there is a need for an automated, high-resolution software tool that can accommodate highly curved surfaces in small biological structures. The objective of this research is therefore to propose a new software tool that is specifically designed for small biological structures with pronounced curvatures, such as dental roots. Building on the general principle of radial thickness sampling from virtual sections, where equiangular rays from each section’s centroid intersect inner and outer contours to yield thickness values, we introduce the Physics.Raycast in Unity (Unity Technologies, 2023). Physics.Raycast is a 3D development platform with a collision-detection function used for simulation, gaming, and scientific visualization for the surface-to-interface thickness measurement of small curved biological structures. The system uses raycasts which are radially projected virtual straight lines which detects collisions or intersections with a 3D object/mesh. At the intersection, the exact coordinate, the distance from the origin, and the surface normal — the vector perpendicular to the surface at that location are generated (Möller & Trumbore, 1997). Surface-interface thickness can then be computed enabling automated, high-precision measurement (Jones et al., 2006). To our knowledge, Unity’s raycast application programming interface has been used in biomedical Unity apps but not for surface-to-interface thickness determination e.g. cortical/dentine thickness quantification (Meulstee, 2022). Materials and Methods Ethics approval: Ethical approval for this study was obtained from the School of Medicine Research Committee of the Sefako Makgatho Health Sciences University (SREC) and the Sefako Makgatho Health Sciences University Ethics Committee (SMUREC) (SMUREC/M/443/2024:PG) (13/02/2025) A digital 3D anatomical mesh representing dentine morphology was constructed and processed for computational thickness analysis. The 3D model was imported into the Physics.Raycast function software (Unity Technologies, 2023) where it was processed through a series of automated steps designed to ensure accurate geometric alignment and high-resolution thickness mapping. A custom automated thickness-measurement algorithm was developed using Python (Python Software Foundation, version 3.11). The script implemented ray-based intersection calculations to compute orthogonal outer-shell measurements from 3D mesh data. Algorithms were implemented using Python (Python Software Foundation) to allow reproducible and automated 3D thickness analysis. The workflow consisted of five main stages: slice generation by establishment of a centerline, centerline refinement, surface remeshing, and thickness computation. A series of 10 computer-generated models were used to test the accuracy of the tool. In order to represent two extremes of biological structures, both cylindrical and cuboidal models were used to test the program. As in other studies, 2D slices needed to be made from the 3D model before cross-sectional data (dentine thickness in this example), could be measured. To ensure that 2D virtual slices were created which were consistently perpendicular to the curvature of the dental root (or similar biological structure), a longitudinal centerline or axis needed to be created first that defined the local anatomical axis of the structure and served as the reference for all subsequent slicing and thickness determinations. 1. Generation of the first Two-Dimensional (2D) Slice at the model’s origin The process began with a virtual slice as a 2D plane passing through the 3D structure at the model’s origin, from which the center of area of the outer surface contour was calculated to define the first centerline point (P n ). The outer and inner boundaries of the structure were detected using a simulated laser-scanning approach implemented through Raycasting in Unity. Raycasts are invisible lines that are distributed radially at equiangular intervals around the center of the slice plane (green) to detect collisions with colliders in the scene. The intersection points between the rays and the model surface are recorded (blue points) and used to define the 2D contour of the structure in that plane. Increasing the number of rays increases the surface resolution and accuracy of the slice. Figure 1 depicts a two-dimensional (2D) cross-sectional slice of the model at that first centerline point. 2. Establishing the Longitudinal Centerline Subsequent slices to the first slice were placed sequentially at a constant specified distance d from the previous point (Fig. 2 ). The first centerline point was labelled P n and the center of area of each subsequent slice was recalculated (P n+1 , P n+2 , …). Each new slice plane was rotated so that its normal vector was aligned with the vector between consecutive centerline points (e.g., P n+1 –P n ), ensuring perpendicularity of each slice to the local axis. This repetitive procedure allowed the slices to follow the natural curvature of the model. To minimize orientation error when a lower number of slices was used, angular corrections could be applied, by aligning the slice plane normal to the bisector of adjacent centerline vectors (e.g., Pₙ₊₁–Pₙ₋₁). 3 . Centerline Refinement and Smoothing The centerline based on the outer surface obtained from these processes may contain minor high-frequency variations caused by surface irregularities or noise. To produce a stable and anatomically meaningful centerline, smoothing is applied to the outer centerline and the degree of smoothing can be adjusted by the user (Fig. 3 ). A corresponding inner surface centerline is also calculated using the same method but without smoothing. This prevents the inner centerline from being displaced outside of the inner surface boundaries, which could otherwise interfere with accurate radial thickness computation. 4. Surface Reconstruction and Remeshing This process corrects minor segmentation artefacts and closes artificial holes present in the original scanned models through linear interpolation (Fig. 4 ). To ensure compatibility between the radial measurement system and the root canal geometry, the inner surface is reconstructed as convex in two dimensions, enabling consistent radial pairing between inner and outer contours. The final remeshed model therefore represents a coherent, watertight reconstruction of the original 3D geometry, with consistent vertex structure and no surface discontinuities (Fig. 5 ). 5. Thickness Measurement For each slice, cortical or dentine thickness is calculated radially at equal angular intervals around 360°. Each thickness value represents the distance between corresponding points on the inner and outer contours. Mean, minimum, maximum, and standard deviation values are computed per slice or across the entire model. Thickness distributions are color-mapped onto the 3D surface for visual inspection (Fig. 7 ), and all numerical results can be exported as comma-separated value (.csv) files for statistical analysis. Results A series of 10 computer-generated models were used to test the accuracy of the tool. In order to represent two extremes of biological structures, both cylindrical and cuboidal models were used to test the program. Very accurate and repeatable results were noted in both extremes. In cylindrical models, the tool measured accurately to the nearest 0.0001 mm while in the cuboidal models it measured completely accurately on flat surfaces. Discussion The proposed software was designed as an automated framework capable of solving complex geometric problems regarding dimensionality in 3D biological structures. The potential success of the workflow depends on its thorough preservation of the data throughout the entire process, from initial slice generation through to the final thickness computation process. The primary strength is the initial virtualization of the structure, with the initial Raycasting in Unity to determine inner and outer boundary locations of 2D cross sections enabling to scale the resolution by using hundreds of rays, thereby ensuring exceptionally high-resolution contouring (Unity Technologies, 2023). The construction of a longitudinal centerline is an important step in representing the original curvature of the structure for automatic orthogonal sections. Artifacts that were created during the initial scanning or segmentation process could be addressed by sealing artificial holes and correcting minor surface imperfections through linear interpolation. This produces a final model which is a cohesive, watertight reconstruction and is critical for quantitative surface analysis. However, the software has some mandatory prerequisites and limitations. The input file should be given in the .obj file format. Most importantly, a fine-grained identification and annotation of the inner and outer surfaces of the object using external software (Blender) is also crucial to avoid problems, and the tool would not be able to run without manually identifying the inner and outer surfaces of the object. Moreover, there is also a technical restriction, which is the geometric compromise required by complex morphologies - the inner surface (e.g. in cases of root canal splittings) is reconstituted as convex two-dimensionally in order to allow accurate radial pairing; this may not have sufficient geometric agreement with the actual geometry of all features of the body. Also, the software uses a user-defined smoothing degree for the outer centerline, which adds a degree of subjectivity to the calculation. If not standardized across users or studies, the standard parameter may introduce some variation of the centerline path and the resulting thickness values. It is therefore mandatory that protocols must be carefully designed, tested and detailed to ensure repeatability. Although this software tool was developed primarily for addressing the need for determining dentine thickness in dental roots accurately, it is potentially applicable to a wide range of curved hollow biological structures where there is a need to determine the thickness of the shell. Potential applications include cortical bone thickness analysis in long bones, cranial vault thickness as well as vascular and airway wall thickness measurements. The software tool may also be useful in implant design. The software should be developed further with geometric handling of extremely complex internal topologies (e.g. building algorithms for non-convex inner surface reconstruction with a stable radial measurement methodology). Conclusion The proposed software successfully provides an automated, robust and highly accurate method for radial thickness measurements on curved 3D models. Not only does the novel five-stage workflow avoid common measurement problems by retaining the true shape and dimensions of the model, but it also corrects surface artifacts and produces a stable measurement axis along the model’s natural curvature. This tool represents a significant advancement in quantitative morphological analysis, providing researchers with reliable, high-resolution numerical data and corresponding visual thickness maps for complex biological structures. Declarations Funding: This study was supported by the National Research Foundation (NRF) under the Research Development Grants for New Generation of Academics Program (nGAP) [Grant No: NGAP240205203589] and co-funded by the Department of Higher Education and Training (DHET) through the Staffing South African Universities Framework (SSAUF) and nGAP. Author contributions: M Meyer: Conceptualization, Methodology, Validation, Formal Analysis, Investigation, Writing – Original Draft, Visualization Data Availability Statement: The software tool and demo data described in this study are available on GitHub at https://github.com/MariscaMeyer/Surface-to-interface-thickness-measuring-tool . The standalone executable and sample models for testing can be downloaded directly from the Releases section at https://github.com/MariscaMeyer/Surface-to-interface-thickness-measuring-tool/releases . Conflicts of interest: The authors declare that they have no conflict of interest. References Bissinger, O., Probst, F. A., Wolff, K. D., Jeschke, A., Weitz, J., Deppe, H., & Kolk, A. (2017). Comparative 3D micro-CT and 2D histomorphometry analysis of dental implant osseointegration in the maxilla of minipigs. Journal of Clinical Periodontology , 44 (4), 418–427. https://doi.org/10.1111/jcpe.12695 Jones, M. W., Baerentzen, J. A., & Sramek, M. (2006). 3D distance fields: A survey of techniques and applications. IEEE Transactions on Visualization and Computer Graphics , 12 (4), 581–599. https://doi.org/10.1109/TVCG.2006.56 Meulstee, J. W. (2022). Augmented reality and 3D technology in clinical practice with special emphasis on craniosynostosis [Doctoral dissertation, Radboud University]. Meyer, M., Oettle, A. C., Jonker, C. H., & Rajbaran-Singh, S. (2025). Dentine thicknesses of first molar roots: A review of the literature with illustrative cases. South African Dental Journal , 80 (2), 95–103. https://doi.org/10.17159/sadj.v80i02.20656 Möller, T., & Trumbore, B. (1997). Fast, minimum storage ray–triangle intersection. Journal of Graphics Tools , 2 (1), 21–28. https://doi.org/10.1080/10867651.1997.10487468 Profico, A., Bondioli, L., Raia, P., O'Higgins, P., & Marchi, D. (2021). morphomap: An R package for long bone landmarking, cortical thickness, and cross-sectional geometry mapping. American Journal of Physical Anthropology , 174 (1), 129–139. https://doi.org/10.1002/ajpa.24140 Python Software Foundation. (2023). Python (Version 3.11) [Computer software]. https://www.python.org Schneider, J. P., & Ochs, M. (2014). Alterations of mouse lung tissue dimensions during processing for morphometry: A comparison of methods. American Journal of Physiology-Lung Cellular and Molecular Physiology , 306 (4), L341–L350. https://doi.org/10.1152/ajplung.00329.2013 Theye, C. E. G. (2022). The effects of aging and tooth loss on the microstructure of the mandible in South Africans [Doctoral dissertation, University of Pretoria]. Unity Technologies. (2023). Physics.Raycast (Version 2023.2.3) [Computer software]. https://docs.unity3d.com/ScriptReference/Physics.Raycast.html Vågberg, W., Persson, J., Szekely, L., & Hertz, H. M. (2018). Cellular-resolution 3D virtual histology of human coronary arteries using X-ray phase tomography. Scientific Reports , 8 , Article 11014. https://doi.org/10.1038/s41598-018-29331-w Vedi, S., Kaptoge, S., & Compston, J. E. (2011). Age-related changes in iliac crest cortical width and porosity: A histomorphometric study. Journal of Anatomy , 218 (5), 510–516. https://doi.org/10.1111/j.1469-7580.2011.01340.x Additional Declarations The authors declare no competing interests. Cite Share Download PDF Status: Posted Version 1 posted You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-9265000","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Method Article","associatedPublications":[],"authors":[{"id":614459781,"identity":"dbb25826-cd6f-45b4-a8fa-b0a5e27a03da","order_by":0,"name":"Marisca Meyer","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA+ElEQVRIiWNgGAWjYJCCAwhmBelazpBsH2MbEYp0288+PPijxg7I6DF8XDmvLtrgAPPDDwx/7HBqMTuTbnCY51gykHHG2PDstsO5Gw6wGUsw8CTj1nIgjeEwYwMzg9mNHDPJxm0HgFoYzBgYJJhxazn/jOHgz4Z6BrP7b8x/Ns6pA2ph/8bAYFCPW8uNNIYDvA2HgQweM8bGBmagFh6gLQmH8Wh5xgD0y3EeszNpxZINxw7nzjzMUyyRcOA4HoelMX/8UVMtZ3b88MaPDTV1uX3H2zd++PCnGqcWGOBhYOAwgDBBHk8gqAEM2B8Qp24UjIJRMApGHAAABOhXdRnXI1UAAAAASUVORK5CYII=","orcid":"https://orcid.org/0000-0002-3519-5018","institution":"Sefako Makgatho Health Sciences University","correspondingAuthor":true,"prefix":"","firstName":"Marisca","middleName":"","lastName":"Meyer","suffix":""},{"id":614459782,"identity":"4263d41f-72e6-44f0-aa85-47aa94961784","order_by":1,"name":"Ruhan Potgieter","email":"","orcid":"","institution":"Sefako Makgatho Health Sciences University","correspondingAuthor":false,"prefix":"","firstName":"Ruhan","middleName":"","lastName":"Potgieter","suffix":""},{"id":614459783,"identity":"d313ac48-809b-418f-9a16-f2f7f50498fb","order_by":2,"name":"Casper Hendrik jonker","email":"","orcid":"","institution":"University of Plymouth","correspondingAuthor":false,"prefix":"","firstName":"Casper","middleName":"Hendrik","lastName":"jonker","suffix":""},{"id":614459784,"identity":"6f4754de-42f7-45f1-abd5-b38433ca65b8","order_by":3,"name":"Sandeepa Rajbaran-Singh","email":"","orcid":"","institution":"Sefako Makgatho Health Sciences University","correspondingAuthor":false,"prefix":"","firstName":"Sandeepa","middleName":"","lastName":"Rajbaran-Singh","suffix":""},{"id":614459785,"identity":"a294a38d-2d02-4719-a8dc-4366ae2ed3ae","order_by":4,"name":"Anna Catherina Oettle","email":"","orcid":"","institution":"Sefako Makgatho Health Sciences University","correspondingAuthor":false,"prefix":"","firstName":"Anna","middleName":"Catherina","lastName":"Oettle","suffix":""}],"badges":[],"createdAt":"2026-03-30 09:39:41","currentVersionCode":1,"declarations":{"humanSubjects":false,"vertebrateSubjects":false,"conflictsOfInterestStatement":false,"humanSubjectEthicalGuidelines":false,"humanSubjectConsent":false,"humanSubjectClinicalTrial":false,"humanSubjectCaseReport":false,"vertebrateSubjectEthicalGuidelines":false},"doi":"10.21203/rs.3.rs-9265000/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-9265000/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":105811580,"identity":"f370115d-5426-409b-9558-503762395dd5","added_by":"auto","created_at":"2026-03-31 11:29:56","extension":"png","order_by":1,"title":"Figure 1","display":"","copyAsset":false,"role":"figure","size":72207,"visible":true,"origin":"","legend":"\u003cp\u003eA schematic representation of a two-dimensional (2D) cross-section of the first slice.\u0026nbsp;\u003c/p\u003e\n\u003cp\u003eSlice plane: The slice plane at the model’s origin\u003c/p\u003e\n\u003cp\u003eSlice normal: The vector that is perpendicular to the slicing plane. A stable reference for defining radial directions within the slice\u003c/p\u003e\n\u003cp\u003eRed is the internal contour\u003c/p\u003e\n\u003cp\u003eBlue is the external contour\u003c/p\u003e","description":"","filename":"Figure1.png","url":"https://assets-eu.researchsquare.com/files/rs-9265000/v1/f291f1dfeb192c6c3bd1a5ed.png"},{"id":105912517,"identity":"a5456ccc-b7e7-45af-b0ef-43f566b3d672","added_by":"auto","created_at":"2026-04-01 11:00:36","extension":"png","order_by":2,"title":"Figure 2","display":"","copyAsset":false,"role":"figure","size":121021,"visible":true,"origin":"","legend":"\u003cp\u003eSequential placement of slice planes along the model’s longitudinal axis.\u003c/p\u003e","description":"","filename":"Figure2.png","url":"https://assets-eu.researchsquare.com/files/rs-9265000/v1/16ac871756490ee9a8348e61.png"},{"id":105811581,"identity":"dd0dc850-6e89-4ad5-95e9-59f54e6b684c","added_by":"auto","created_at":"2026-03-31 11:29:56","extension":"png","order_by":3,"title":"Figure 3","display":"","copyAsset":false,"role":"figure","size":85685,"visible":true,"origin":"","legend":"\u003cp\u003eDepiction of outer and inner surface centerline\u003c/p\u003e","description":"","filename":"3.png","url":"https://assets-eu.researchsquare.com/files/rs-9265000/v1/e2c0d37debc6f00908566d68.png"},{"id":105811583,"identity":"f584bda2-2973-4ff9-8e46-bf11a6d765a7","added_by":"auto","created_at":"2026-03-31 11:29:56","extension":"png","order_by":4,"title":"Figure 4","display":"","copyAsset":false,"role":"figure","size":140757,"visible":true,"origin":"","legend":"\u003cp\u003eSurface reconstruction and remeshing. (A) Original model with segmentation artefacts and surface holes. (B) Remeshed and interpolated surface showing smooth, watertight geometry with consistent vertex structure.\u003c/p\u003e","description":"","filename":"Figure4.png","url":"https://assets-eu.researchsquare.com/files/rs-9265000/v1/fe9f91676f46776fd1a8c32a.png"},{"id":105904473,"identity":"3aab8377-eae0-43b1-9d3a-1995e3d277a2","added_by":"auto","created_at":"2026-04-01 10:08:53","extension":"png","order_by":5,"title":"Figure 5","display":"","copyAsset":false,"role":"figure","size":199291,"visible":true,"origin":"","legend":"\u003cp\u003eReconstruction of root canal splittings into a single convex structure.\u003c/p\u003e","description":"","filename":"Figure5.png","url":"https://assets-eu.researchsquare.com/files/rs-9265000/v1/80f127bc02f5a5e6bf64f835.png"},{"id":105904471,"identity":"a026a3c3-ea8b-4769-b2e4-d489c134b432","added_by":"auto","created_at":"2026-04-01 10:08:52","extension":"png","order_by":6,"title":"Figure 6","display":"","copyAsset":false,"role":"figure","size":180871,"visible":true,"origin":"","legend":"\u003cp\u003e(A) Longitudinal section of perpendicular measurement slices\u003c/p\u003e\n\u003cp\u003e(B) Radial measurement lines projected from the inner surface centerline toward the outer contour.\u003c/p\u003e","description":"","filename":"6.png","url":"https://assets-eu.researchsquare.com/files/rs-9265000/v1/9462a22fb7f2953cbd690062.png"},{"id":105811586,"identity":"ef7a5c86-7aab-4c15-89ad-15d7f9c7a66c","added_by":"auto","created_at":"2026-03-31 11:29:56","extension":"png","order_by":7,"title":"Figure 7","display":"","copyAsset":false,"role":"figure","size":103685,"visible":true,"origin":"","legend":"\u003cp\u003eColor-mapped 3D model representing local thickness values, where warmer colors indicate greater thickness.\u003c/p\u003e","description":"","filename":"Figure7.png","url":"https://assets-eu.researchsquare.com/files/rs-9265000/v1/0e7b66fb59de749f57062e26.png"},{"id":106959395,"identity":"3e014d42-2482-4c34-ada2-7510a2a7e1d7","added_by":"auto","created_at":"2026-04-15 09:07:59","extension":"pdf","order_by":0,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":1386648,"visible":true,"origin":"","legend":"","description":"","filename":"manuscript.pdf","url":"https://assets-eu.researchsquare.com/files/rs-9265000/v1/63bb4ac8-4d96-4ddd-a751-90860eb8defe.pdf"}],"financialInterests":"The authors declare no competing interests.","formattedTitle":"\u003cp\u003eOuter Shell Thickness Measuring Tool for Structures with Curved Surfaces\u003c/p\u003e","fulltext":[{"header":"Introduction","content":"\u003cp\u003eMeasurement of surface-to-interface thickness in biological structures has several applications clinically. For instance, measuring cortical thickness or dentine thickness is of critical importance in fields like oral radiology and anatomy. Cortical thickness usually represents the mean spacing between periosteal and endosteal surfaces, measured orthogonally (as the shortest perpendicular distance between cortical boundaries) (Vedi et al., 2011). An analogous structural concept to cortical thickness is the dentine thickness, which relates to the peripheral mineralized layer of the tooth and is measured from the outer load-bearing mineralized tissue to the internal cavity along the root curvature (Meyer et al., 2025).\u003c/p\u003e \u003cp\u003eMeasurements from surface-to-interface of biological structures are usually taken from two-dimensional (2D) slices made in a three-dimensional (3D) structure. These sections can either be destructive: sampled directly from the structure or non-destructive by radiological sections. Sections taken directly from the structure may undergo further histological processes and photography to facilitate measurements (Bissinging et al., 2017; V\u0026aring;gberg et al., 2018)\u003c/p\u003e \u003cp\u003eNowadays, however, we rely more on radiological techniques as they are considered more accurate and deliver more precise measurements than histological methods. Among available 3D modalities, micro-focus X-ray computed tomography (micro-CT) is regarded as the gold standard for dental and bone research due to its superior spatial resolution (MicroCT: 68\u0026ndash;106 \u0026micro;m CBCT: approximately 200 \u0026micro;m resolution depending on specimen size) (Schneider \u0026amp; Ochs, 2014; Theye et al., 2022). This variation is particularly significant, as discrepancies of even one or two decimal fractions of a millimeter may have critical clinical implications (Theye, 2022).\u003c/p\u003e \u003cp\u003eTo measure surface-to-interface thickness accurately, perpendicular measurements need to be taken. The study by Profico et al. (2021), describes and demonstrates the application of a R package, morphomap, which uses a 3D mesh of long bones. The example used was the femur. Following segmentation, as a default, the program extracts 100 evenly spaced virtual sections along the given femur length perpendicular to the frontal plane. These transverse sections intersect with two meshes: periosteal and endosteal. From the centroid of the cross section, equiangular lines (15 degrees) are projected on to each mesh to place twenty-four semi landmarks on each surface. Cortical thickness can then be calculated from the Euclidean distance between each landmark pair (one on the endosteal surface and the other on the periosteal surface) (Profico et al., 2021).\u003c/p\u003e \u003cp\u003eUnfortunately, perpendicular sections based on a fixed global axis such as the frontal plane which disregards the curvature of the structure, will fail for three-dimensional (3D) models of structures with complicated geometries and natural curves as sections will become oblique when the structure curves.\u003c/p\u003e \u003cp\u003eAs existing tools for determining the surface-to-interface thickness does not adequately quantify small curved biological structures like dental roots (Yanık, \u0026amp; Nalbantoğlu, 2022), there is a need for an automated, high-resolution software tool that can accommodate highly curved surfaces in small biological structures. The objective of this research is therefore to propose a new software tool that is specifically designed for small biological structures with pronounced curvatures, such as dental roots. Building on the general principle of radial thickness sampling from virtual sections, where equiangular rays from each section\u0026rsquo;s centroid intersect inner and outer contours to yield thickness values, we introduce the Physics.Raycast in Unity (Unity Technologies, 2023). Physics.Raycast is a 3D development platform with a collision-detection function used for simulation, gaming, and scientific visualization for the surface-to-interface thickness measurement of small curved biological structures. The system uses raycasts which are radially projected virtual straight lines which detects collisions or intersections with a 3D object/mesh. At the intersection, the exact coordinate, the distance from the origin, and the surface normal \u0026mdash; the vector perpendicular to the surface at that location are generated (M\u0026ouml;ller \u0026amp; Trumbore, 1997). Surface-interface thickness can then be computed enabling automated, high-precision measurement (Jones et al., 2006). To our knowledge, Unity\u0026rsquo;s raycast application programming interface has been used in biomedical Unity apps but not for surface-to-interface thickness determination e.g. cortical/dentine thickness quantification (Meulstee, 2022).\u003c/p\u003e"},{"header":"Materials and Methods","content":"\u003cp\u003e\u003cstrong\u003eEthics approval:\u0026nbsp;\u003c/strong\u003eEthical approval for this study was obtained from the School of Medicine Research Committee of the Sefako Makgatho Health Sciences University (SREC) and the Sefako Makgatho Health Sciences University Ethics Committee (SMUREC) (SMUREC/M/443/2024:PG) (13/02/2025)\u003c/p\u003e\n\u003cp\u003eA digital 3D anatomical mesh representing dentine morphology was constructed and processed for computational thickness analysis. The 3D model was imported into the Physics.Raycast function software (Unity Technologies, 2023) where it was processed through a series of automated steps designed to ensure accurate geometric alignment and high-resolution thickness mapping. A custom automated thickness-measurement algorithm was developed using Python (Python Software Foundation, version 3.11). The script implemented ray-based intersection calculations to compute orthogonal outer-shell measurements from 3D mesh data. Algorithms were implemented using Python (Python Software Foundation) to allow reproducible and automated 3D thickness analysis. The workflow consisted of five main stages: slice generation by establishment of a centerline, centerline refinement, surface remeshing, and thickness computation.\u003c/p\u003e\n\u003cp\u003eA series of 10 computer-generated models were used to test the accuracy of the tool. In order to represent two extremes of biological structures, both cylindrical and cuboidal models were used to test the program.\u003c/p\u003e\n\u003cp\u003eAs in other studies, 2D slices needed to be made from the 3D model before cross-sectional data (dentine thickness in this example), could be measured. To ensure that 2D virtual slices were created which were consistently perpendicular to the curvature of the dental root (or similar biological structure), a longitudinal centerline or axis needed to be created first that defined the local anatomical axis of the structure and served as the reference for all subsequent slicing and thickness determinations.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e1. Generation of the first Two-Dimensional (2D) Slice at the model\u0026rsquo;s origin\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eThe process began with a virtual slice as a 2D plane passing through the 3D structure at the model\u0026rsquo;s origin, from which the center of area of the outer surface contour was calculated to define the first centerline point (P\u003csub\u003en\u003c/sub\u003e). The outer and inner boundaries of the structure were detected using a simulated laser-scanning approach implemented through Raycasting in Unity.\u003c/p\u003e\n\u003cp\u003eRaycasts are invisible lines that are distributed radially at equiangular intervals around the center of the slice plane (green) to detect collisions with colliders in the scene. The intersection points between the rays and the model surface are recorded (blue points) and used to define the 2D contour of the structure in that plane. Increasing the number of rays increases the surface resolution and accuracy of the slice. Figure \u003cspan refid=\"Fig1\" class=\"InternalRef\"\u003e1\u003c/span\u003e depicts a two-dimensional (2D) cross-sectional slice of the model at that first centerline point.\u003c/p\u003e\n\u003cp\u003e\u003cem\u003e2.\u003c/em\u003e \u003cstrong\u003eEstablishing the Longitudinal Centerline\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eSubsequent slices to the first slice were placed sequentially at a constant specified distance d from the previous point (Fig. \u003cspan refid=\"Fig2\" class=\"InternalRef\"\u003e2\u003c/span\u003e). The first centerline point was labelled P\u003csub\u003en\u003c/sub\u003e and the center of area of each subsequent slice was recalculated (P\u003csub\u003en+1\u003c/sub\u003e, P\u003csub\u003en+2\u003c/sub\u003e, \u0026hellip;). Each new slice plane was rotated so that its normal vector was aligned with the vector between consecutive centerline points (e.g., P\u003csub\u003en+1\u003c/sub\u003e\u0026ndash;P\u003csub\u003en\u003c/sub\u003e), ensuring perpendicularity of each slice to the local axis. This repetitive procedure allowed the slices to follow the natural curvature of the model.\u003c/p\u003e\n\u003cp\u003eTo minimize orientation error when a lower number of slices was used, angular corrections could be applied, by aligning the slice plane normal to the bisector of adjacent centerline vectors (e.g., Pₙ₊₁\u0026ndash;Pₙ₋₁).\u003c/p\u003e\n\u003cp\u003e\u003cem\u003e3\u003c/em\u003e. \u003cstrong\u003eCenterline Refinement and Smoothing\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eThe centerline based on the outer surface obtained from these processes may contain minor high-frequency variations caused by surface irregularities or noise. To produce a stable and anatomically meaningful centerline, smoothing is applied to the outer centerline and the degree of smoothing can be adjusted by the user (Fig. \u003cspan refid=\"Fig3\" class=\"InternalRef\"\u003e3\u003c/span\u003e).\u003c/p\u003e\n\u003cp\u003eA corresponding inner surface centerline is also calculated using the same method but without smoothing. This prevents the inner centerline from being displaced outside of the inner surface boundaries, which could otherwise interfere with accurate radial thickness computation.\u003c/p\u003e\n\u003cp\u003e4. \u003cstrong\u003eSurface Reconstruction and Remeshing\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eThis process corrects minor segmentation artefacts and closes artificial holes present in the original scanned models through linear interpolation (Fig. \u003cspan refid=\"Fig4\" class=\"InternalRef\"\u003e4\u003c/span\u003e).\u003c/p\u003e\n\u003cp\u003eTo ensure compatibility between the radial measurement system and the root canal geometry, the inner surface is reconstructed as convex in two dimensions, enabling consistent radial pairing between inner and outer contours. The final remeshed model therefore represents a coherent, watertight reconstruction of the original 3D geometry, with consistent vertex structure and no surface discontinuities (Fig. \u003cspan refid=\"Fig5\" class=\"InternalRef\"\u003e5\u003c/span\u003e).\u003c/p\u003e\n\u003cp\u003e5. \u003cstrong\u003eThickness Measurement\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eFor each slice, cortical or dentine thickness is calculated radially at equal angular intervals around 360\u0026deg;. Each thickness value represents the distance between corresponding points on the inner and outer contours. Mean, minimum, maximum, and standard deviation values are computed per slice or across the entire model.\u003c/p\u003e\n\u003cp\u003eThickness distributions are color-mapped onto the 3D surface for visual inspection (Fig. \u003cspan refid=\"Fig7\" class=\"InternalRef\"\u003e7\u003c/span\u003e), and all numerical results can be exported as comma-separated value (.csv) files for statistical analysis.\u003c/p\u003e"},{"header":"Results","content":"\u003cp\u003eA series of 10 computer-generated models were used to test the accuracy of the tool. In order to represent two extremes of biological structures, both cylindrical and cuboidal models were used to test the program. Very accurate and repeatable results were noted in both extremes. In cylindrical models, the tool measured accurately to the nearest 0.0001 mm while in the cuboidal models it measured completely accurately on flat surfaces.\u003c/p\u003e"},{"header":"Discussion","content":"\u003cp\u003eThe proposed software was designed as an automated framework capable of solving complex geometric problems regarding dimensionality in 3D biological structures. The potential success of the workflow depends on its thorough preservation of the data throughout the entire process, from initial slice generation through to the final thickness computation process. The primary strength is the initial virtualization of the structure, with the initial Raycasting in Unity to determine inner and outer boundary locations of 2D cross sections enabling to scale the resolution by using hundreds of rays, thereby ensuring exceptionally high-resolution contouring (Unity Technologies, 2023).\u003c/p\u003e \u003cp\u003eThe construction of a longitudinal centerline is an important step in representing the original curvature of the structure for automatic orthogonal sections. Artifacts that were created during the initial scanning or segmentation process could be addressed by sealing artificial holes and correcting minor surface imperfections through linear interpolation. This produces a final model which is a cohesive, watertight reconstruction and is critical for quantitative surface analysis.\u003c/p\u003e \u003cp\u003eHowever, the software has some mandatory prerequisites and limitations. The input file should be given in the .obj file format. Most importantly, a fine-grained identification and annotation of the inner and outer surfaces of the object using external software (Blender) is also crucial to avoid problems, and the tool would not be able to run without manually identifying the inner and outer surfaces of the object.\u003c/p\u003e \u003cp\u003eMoreover, there is also a technical restriction, which is the geometric compromise required by complex morphologies - the inner surface (e.g. in cases of root canal splittings) is reconstituted as convex two-dimensionally in order to allow accurate radial pairing; this may not have sufficient geometric agreement with the actual geometry of all features of the body.\u003c/p\u003e \u003cp\u003eAlso, the software uses a user-defined smoothing degree for the outer centerline, which adds a degree of subjectivity to the calculation. If not standardized across users or studies, the standard parameter may introduce some variation of the centerline path and the resulting thickness values. It is therefore mandatory that protocols must be carefully designed, tested and detailed to ensure repeatability.\u003c/p\u003e \u003cp\u003eAlthough this software tool was developed primarily for addressing the need for determining dentine thickness in dental roots accurately, it is potentially applicable to a wide range of curved hollow biological structures where there is a need to determine the thickness of the shell. Potential applications include cortical bone thickness analysis in long bones, cranial vault thickness as well as vascular and airway wall thickness measurements. The software tool may also be useful in implant design.\u003c/p\u003e \u003cp\u003eThe software should be developed further with geometric handling of extremely complex internal topologies (e.g. building algorithms for non-convex inner surface reconstruction with a stable radial measurement methodology).\u003c/p\u003e"},{"header":"Conclusion","content":"\u003cp\u003eThe proposed software successfully provides an automated, robust and highly accurate method for radial thickness measurements on curved 3D models. Not only does the novel five-stage workflow avoid common measurement problems by retaining the true shape and dimensions of the model, but it also corrects surface artifacts and produces a stable measurement axis along the model\u0026rsquo;s natural curvature. This tool represents a significant advancement in quantitative morphological analysis, providing researchers with reliable, high-resolution numerical data and corresponding visual thickness maps for complex biological structures.\u003c/p\u003e"},{"header":"Declarations","content":"\u003ch2\u003eFunding:\u003c/h2\u003e \u003cp\u003eThis study was supported by the National Research Foundation (NRF) under the Research Development Grants for New Generation of Academics Program (nGAP) [Grant No: NGAP240205203589] and co-funded by the Department of Higher Education and Training (DHET) through the Staffing South African Universities Framework (SSAUF) and nGAP.\u003c/p\u003e\u003ch2\u003eAuthor contributions:\u003c/h2\u003e \u003cp\u003eM Meyer: Conceptualization, Methodology, Validation, Formal Analysis, Investigation, Writing \u0026ndash; Original Draft, Visualization\u003c/p\u003e\u003ch2\u003eData Availability Statement:\u003c/h2\u003e \u003cp\u003eThe software tool and demo data described in this study are available on GitHub at \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003ehttps://github.com/MariscaMeyer/Surface-to-interface-thickness-measuring-tool\u003c/span\u003e\u003cspan address=\"https://github.com/MariscaMeyer/Surface-to-interface-thickness-measuring-tool\" targettype=\"URL\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e. The standalone executable and sample models for testing can be downloaded directly from the Releases section at \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003ehttps://github.com/MariscaMeyer/Surface-to-interface-thickness-measuring-tool/releases\u003c/span\u003e\u003cspan address=\"https://github.com/MariscaMeyer/Surface-to-interface-thickness-measuring-tool/releases\" targettype=\"URL\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/p\u003e \u003cp\u003eConflicts of interest: The authors declare that they have no conflict of interest.\u003c/p\u003e"},{"header":"References","content":"\u003col\u003e\u003cli\u003e\u003cspan\u003eBissinger, O., Probst, F. A., Wolff, K. D., Jeschke, A., Weitz, J., Deppe, H., \u0026amp; Kolk, A. (2017). Comparative 3D micro-CT and 2D histomorphometry analysis of dental implant osseointegration in the maxilla of minipigs. \u003cem\u003eJournal of Clinical Periodontology\u003c/em\u003e, \u003cem\u003e44\u003c/em\u003e(4), 418\u0026ndash;427. https://doi.org/10.1111/jcpe.12695\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eJones, M. W., Baerentzen, J. A., \u0026amp; Sramek, M. (2006). 3D distance fields: A survey of techniques and applications. \u003cem\u003eIEEE Transactions on Visualization and Computer Graphics\u003c/em\u003e, \u003cem\u003e12\u003c/em\u003e(4), 581\u0026ndash;599. https://doi.org/10.1109/TVCG.2006.56\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eMeulstee, J. W. (2022). \u003cem\u003eAugmented reality and 3D technology in clinical practice with special emphasis on craniosynostosis\u003c/em\u003e [Doctoral dissertation, Radboud University].\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eMeyer, M., Oettle, A. C., Jonker, C. H., \u0026amp; Rajbaran-Singh, S. (2025). Dentine thicknesses of first molar roots: A review of the literature with illustrative cases. \u003cem\u003eSouth African Dental Journal\u003c/em\u003e, \u003cem\u003e80\u003c/em\u003e(2), 95\u0026ndash;103. https://doi.org/10.17159/sadj.v80i02.20656\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eM\u0026ouml;ller, T., \u0026amp; Trumbore, B. (1997). Fast, minimum storage ray\u0026ndash;triangle intersection. \u003cem\u003eJournal of Graphics Tools\u003c/em\u003e, \u003cem\u003e2\u003c/em\u003e(1), 21\u0026ndash;28. https://doi.org/10.1080/10867651.1997.10487468\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eProfico, A., Bondioli, L., Raia, P., O'Higgins, P., \u0026amp; Marchi, D. (2021). morphomap: An R package for long bone landmarking, cortical thickness, and cross-sectional geometry mapping. \u003cem\u003eAmerican Journal of Physical Anthropology\u003c/em\u003e, \u003cem\u003e174\u003c/em\u003e(1), 129\u0026ndash;139. https://doi.org/10.1002/ajpa.24140\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003ePython Software Foundation. (2023). \u003cem\u003ePython\u003c/em\u003e (Version 3.11) [Computer software]. https://www.python.org\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eSchneider, J. P., \u0026amp; Ochs, M. (2014). Alterations of mouse lung tissue dimensions during processing for morphometry: A comparison of methods. \u003cem\u003eAmerican Journal of Physiology-Lung Cellular and Molecular Physiology\u003c/em\u003e, \u003cem\u003e306\u003c/em\u003e(4), L341\u0026ndash;L350. https://doi.org/10.1152/ajplung.00329.2013\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eTheye, C. E. G. (2022). \u003cem\u003eThe effects of aging and tooth loss on the microstructure of the mandible in South Africans\u003c/em\u003e [Doctoral dissertation, University of Pretoria].\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eUnity Technologies. (2023). \u003cem\u003ePhysics.Raycast\u003c/em\u003e (Version 2023.2.3) [Computer software]. https://docs.unity3d.com/ScriptReference/Physics.Raycast.html\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eV\u0026aring;gberg, W., Persson, J., Szekely, L., \u0026amp; Hertz, H. M. (2018). Cellular-resolution 3D virtual histology of human coronary arteries using X-ray phase tomography. \u003cem\u003eScientific Reports\u003c/em\u003e, \u003cem\u003e8\u003c/em\u003e, Article 11014. https://doi.org/10.1038/s41598-018-29331-w\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eVedi, S., Kaptoge, S., \u0026amp; Compston, J. E. (2011). Age-related changes in iliac crest cortical width and porosity: A histomorphometric study. \u003cem\u003eJournal of Anatomy\u003c/em\u003e, \u003cem\u003e218\u003c/em\u003e(5), 510\u0026ndash;516. https://doi.org/10.1111/j.1469-7580.2011.01340.x\u003c/span\u003e\u003c/li\u003e\u003c/ol\u003e"}],"fulltextSource":"","fullText":"","funders":[{"identity":"20cf3a76-aa2a-4a4c-83c0-aaaec9dce970","identifier":"10.13039/501100001321","name":"National Research Foundation","awardNumber":"NGAP240205203589","order_by":0}],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":true,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":true,"hideJournal":true,"highlight":"","institution":"Sefako Makgatho Health Sciences University","isAcceptedByJournal":false,"isAuthorSuppliedPdf":false,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":true,"isPdf":false,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"Dentine thickness, centerline, cortical thickness, curved structures, orthogonal","lastPublishedDoi":"10.21203/rs.3.rs-9265000/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-9265000/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eAccurate measurement of surface-to-interface thickness in biological structures, such as cortical bone or root dentine, is important for clinical applications in oral radiology and anatomy particularly in endodontics where inadequate remaining dentine may increase the risk of procedural complications such as perforation. Conventional methods typically rely on two-dimensional sections aligned to fixed global axes, which often fail to account for the natural curvature and complex geometry of three-dimensional (3D) biological models. This study proposes a novel automated software tool for high-resolution thickness mapping of small, highly curved structures. Using the Physics.Raycast function within the Unity 3D development platform, the tool implements a five-stage workflow: slice generation, longitudinal centerline establishment, centerline refinement, surface remeshing, and automated thickness computation. Virtual 2D slices are created at the model origin to establish a longitudinal axis, ensuring that subsequent slices remain perpendicular to the local anatomical curvature. Surface reconstruction through linear interpolation corrects segmentation artifacts and artificial holes, producing a cohesive watertight model. Validation using cylindrical and cuboidal computer-generated models representing morphological extremes demonstrated high precision, with measurements accurate to 0.0001 mm on curved surfaces. Although the software currently requires manually annotated inner and outer surfaces in .obj format, it generates robust numerical outputs and color-mapped visualizations of local thickness. Application of this method enables consistent and reproducible assessment of dentine thickness in complex root morphologies. Beyond dental applications, this framework enables reliable and repeatable quantitative analysis of curved hollow structures, including long bones, the cranial vault, and airway walls.\u003c/p\u003e","manuscriptTitle":"Outer Shell Thickness Measuring Tool for Structures with Curved Surfaces","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2026-03-31 11:29:47","doi":"10.21203/rs.3.rs-9265000/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"8d812f15-7875-4fb4-8269-00ed627d63a8","owner":[],"postedDate":"March 31st, 2026","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[{"id":65383704,"name":"Dentistry"}],"tags":[],"updatedAt":"2026-03-31T11:29:48+00:00","versionOfRecord":[],"versionCreatedAt":"2026-03-31 11:29:47","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-9265000","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-9265000","identity":"rs-9265000","version":["v1"]},"buildId":"XKTyCvWXoU3ODBz1xrDgd","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.