Skip to content

Not Finding Expected Intersections, Issues with `mrmeshpy.rayMeshIntersect #2863

Answered by Grantim
doknicilija98 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello!

Looks like you are creating Line object with two ends of the line, but it takes one end and direction on input:

point = mm.Vector3f(-27.2912, -27.0518, 19.9674)
end_point = mm.Vector3f(-27.2912, 26.1744, 19.9674)

# wrong
#line = mm.Line3f(point, end_point)

# correct
line = mm.Line3f(point, end_point-point)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by doknicilija98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants