Hello,
I’m working on the TLEMsafe project at the University of Twente. I encounter the following error when loading my model. I load STL-files in order to create a subject-specific scaling (see script below). An error indicates that “Node to node correspondence requires matching number of vertices.” However, the number of faces and vertices match exactly. Strangely enough, it occurs only for some STL-files. For example for one patient it only happens for right shank and left femur, while the STL-files of the other bones are morphed without a problem.
Thank you in advance!
SCRIPT:
AnyFunTransform3DSTL TLEMCTtoHS1stl =
{
//PreTransforms = {&.TLEMtoHS1rbf};
RBFDef.Type = RBF_MultiQuadratic;
RBFDef.Param = 0.2;
//FileName0 = “Cad3_Tibia_ISB.stl”;
FileName0 = …BodyModel.Right.Leg.Seg.STL.FilenamePelvisMorphing;
ScaleXYZ0 = {0.001, 0.001, 0.001};
FileName1 = …SubjectSpecificData.PelvisRightSTL;
ScaleXYZ1 = {0.001, 0.001, 0.001};
NumPoints = 1000;
UseClosestPointMatchingOnOff = On;
BoundingBox.ScaleXYZ = {2, 2, 2};
BoundingBox.DivisionFactorXYZ = 2*{1, 1, 1};
BoundingBoxOnOff = On;
};
ERROR:
ERROR(OBJ1) : C:/U…s/B…o/D…p/D…n/M…1/A…l/C…M/M…a/h…0/SubjectSpecificScalingModel56.any(102) : TLEMCTtoHS1stl.UseClosestPointMatchingOnOff : Node to node correspondence requires matching number of vertices. Please use UseClosestPointMatchingOnOff = On.
Model loading skipped