Hello, everyone.
I’m afraid I’m new to 3D Slicer and Python. I am currently working on analyzing sexual dimorphism using laser scanned STL format models without DICOM data.
Before operating morphological analysis, I found that imported STL models are not aligned well, so I tried to figure out some solutions from the community. Below is what I saw after importing the model.
I tried to solve the problem by referring to this article (W_2020/Lab09_Slicer_Scripting at master · SlicerMorph/W_2020 · GitHub) to align the model with Frankpurt Plane, but unfortunately, it seems that the Slicer API has been updated and is no longer working. (my current version is 5.8.1.)
After trying to apply code from this discussion, (Superimposition of CBCT of orthodontic patients using a slicer, diagnocat, blender - #12 by muratmaga) I repeatedly get the same result as below.
Only control points seem to be aligned well, not the model. I may have missed something important due to my mistake.
I kindly ask for troubleshooting after a few days of agony. I would like to ask for some advice on aligning the model to the Frankfurt Plane, which fits into the 3D cube.
Thank you.