Grasshopper

algorithmic modeling for Rhino

I've got a patch surface, am trying to get closest points on surface. The closest point component is returning a point in the vicinity of the closest point, but definitely not the closest point.

Views: 682

Replies to This Discussion

Can you Internalise the Brep and the Point and upload it?

Thanks for the reply David.

After you asked that, I was curious, so I baked the surface geometry. What's strange is that when baked, the surfcp component works fine. But when the same surface is fed into the component without being baked, it returns the incorrect result. Uploading the whole definition.

Thanks again,

Matt

Attachments:

This Python script reproduces the Grasshopper output, not the Rhino output, so Rhinocommon is at fault compared to what Rhino is doing:

import Rhino

ClosestPoint = S.ClosestPoint(P)

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service