@leonzhu211 wrote:
hi,
What I want to do is:
S1. In Rhino
1) get all the points data, such as coordinates, uuid
2) get all the surface and convert them to triangle
S2. Send all the data to server
S3. Server do some computation
S4. Receive the result from server, and color all the point to show the result to usermy problem is:
I don't know how to convert surface or polysurface to triangle.I have found that the Command "Export .stl" do the right thing I need.
then, how can I do it with Python or C#?I try to run rs.Command("-Export test.stl").
But I can't control the option.
I hope the result .stl file should be ascii format, not the binary one.
the demo python is like:
"_-Export %s E X _Enter _Enter D _Enter A _Enter" % (path, )
I get that E option will switch the format.
but it's hard to know the current format.Thanks for any help!
Posts: 2
Participants: 2