Patent attributes
Surgical systems, computer-implemented methods, and software programs for producing a patient-specific virtual boundary configured to constrain movement and/or operation of a surgical tool in response to the surgical tool interacting with the patient-specific virtual boundary. The implementations include obtaining a generic virtual boundary including a generic surface with a generic edge, and positioning the generic virtual boundary relative to a virtual anatomical model such that the generic surface intersects the virtual anatomical model. The implementations include computing an intersection of the generic surface and the virtual anatomical model to define a cross-sectional contour of the virtual anatomical model, and morphing the generic edge to the cross-sectional contour to produce a customized surface with a patient-specific edge. The implementations include generating a customized face extending from, and along, the patient-specific edge, and producing the patient-specific virtual boundary by merging the customized surface and the customized face.