Several methods exist for repairing mandibular segmental bone defects, typically employing the implant method to accomplish the repair. Following a comparative analysis, the Ti6Al4V structural scaffold implant was chosen for bone defect repair. Triply periodic minimal surface (TPMS) is characterized by a high surface area to volume ratio, an average curvature of zero, and other notable advantages, providing a new line of thinking for bone tissue scaffolds. In this work, the in vitro osteogenesis of a cell unit measuring 4 mm was investigated. First, the finite element analysis (FEA) method and the mechanical experiment method were employed to screen the elasticity modulus of the cancellous bone of the mandible. Subsequently, the selective laser melting (SLM) technique was adopted to prepare three different structures precisely - Gyroid, octahedron, and cube - each with wall thicknesses of 0.3 mm, 0.4 mm, and 0.5 mm. In the in vitro osteogenic experiments, it was observed through confocal laser scanning microscopy (CLSM) that each scaffold displayed favorable cell spreading at 1 day and 3 days. Moreover, osteoblast cell adhesion and proliferation assays revealed improved cell adhesion and proliferation with prolonged co-cultivation time, signifying the excellent biocompatibility of the structural titanium alloy scaffolds. Furthermore, findings from cell differentiation and bioactivity assays indicated that the Gyroid structure exhibited superior osteogenesis compared to the cube and octahedron structures. However, no statistically significant difference was noted between varying wall thicknesses within the same structure.