Fri, 04/26/2024 - 18:33
Hi,
I am trying to filter some points along the wire of a NURBS surface by looking at their UV coordinates. To get the UV parameters, I use the GetParametersU() and GetParametersV() functions from the BRepMesh_UVParamRangeSplitter Class. I then look at the length of each list and to my surprise, I sometimes get that the length of one is bigger than the other. I expect them to be of equal length as if we have n points along the wire, there should be n U parameters and n V parameters. This mismatch is then causing problems down the line and I can't figure out why I can even have more V parameters than U or vice versa.
Below is the print statement that tells me I have more Vs than Us.
Any help is much appreciated.