Notifications
Clear all

[Closed] Z axis face scanning

I need to create a script to help me with a 3d printing project im working on but im stuck on one part and need help from the community.

An example would be that if I created a point helper and had mesh somewhere on the same z axis would I be able to find where a face is and its rotation on the points z axis?

Here’s a visual of what I mean, Those yellow dots are where the z axis of the point helper meets mesh. I would need to figure out how to calculate where that point meets and if the face is rotated on that point.

3 Replies

search forum for some example of RayMeshGridIntersect

2 Replies
(@martinb)
Joined: 11 months ago

Posts: 0

If speed is not an issue, you might also look into intersectRay and intersectRayEx – much easier to use (but also much slower)

(@denist)
Joined: 11 months ago

Posts: 0

[i]but also much slower…

[/i]if you need to get a couple of mesh intersections what will be faster – i[b]ntersectRay /b or RayMeshGridIntersect + initialization + accuracy … ?