Integration of spines models with realistic geometries along the dendrites of a pyramidal neuron (A). The mesh in light red is created using union operators [30], while that in blue is created with our proposed method. The closeups in (B1–3) demonstrate the smooth connectivity between the spines and the dendrites. Wireframe visualizations are shown in Fig. 8. (B4) The union operator fails to weld the spine meshes with the dendritic mesh resulting in a fragmented mesh.