MoI discussion forum
MoI discussion forum

Full Version: Surface From Points

Show messages: All  1  2-6

From: Michael Gibson
22 Mar 2023   [#2] In reply to [#1]
Hi Cody,

re:
> I'd like to be able to "drop" a grid array of points to intersect a bunch of surfaces.

There are some script functions added in version 4 for dropping points to a curve or surface:
http://moi3d.com/wiki/V4Beta#Jan-22-2020
quote:

Add script methods for dropping points:
curve.dropPoint( pt ) - returns curve parameter value of closest point on the curve to the given 3D point.
curvesegment.dropPoint( pt ) - returns curve parameter value of closest point on the curve segment to the given 3D point.
face.dropPoint( pt ); - returns 2D uv coordinate point of closest point on the face to the given 3D point.
brep.dropPoint( pt ); - finds closest point on brep to given 3D point. Returns a list with 3 items, 0: Face object that the closest point is on, 1: 2D uv coordinate for the face, 2: 3D coordinate of the closest point.

> Basically, I want to drape (or stretch) a cloth over multiple surfaces (and possibly objects) in a single direction.

There is a Rhino command called "Drape" that can do that.

- Michael
From: Frenchy Pilou (PILOU)
22 Mar 2023   [#3]
I suppose that you have seen the _Cloth by Max Smirnov ?
https://moiscript.weebly.com/simulation-tissu.html


From: Death
23 Mar 2023   [#4] In reply to [#3]
Is there an English version?
From: Frenchy Pilou (PILOU)
23 Mar 2023   [#5] In reply to [#4]
Yep! :)
https://moi3d.com/wiki/MaxScriptArchive
From: Death
24 Mar 2023   [#6] In reply to [#5]
Thanx my friend!

Show messages: All  1  2-6