Quantcast
Viewing all articles
Browse latest Browse all 5777

Importing surfaces with quadrilateral elements

@yQLZN wrote:

Merry Christmas everybody!

I often create surfaces in a different mathematical program (in my case, Matlab), and then want to import the surface into Rhino. These surfaces are typically mesh (coordinate) data, and specified in terms of vertices and connecting faces for quadrilateral (or triangular) elements.

As an example, I have uploaded a test.obj (wavefront file) here: http://pastebin.com/n7iYmd0Y

so that you can import this into Rhino if you like.

It generates the two pictures:

Shaded view
Image may be NSFW.
Clik here to view.

Pen view
Image may be NSFW.
Clik here to view.

The thing is that I would like to create visualizations that emphasize the quadrilateral elements of the surface, which can be seen in the shaded view, but not in the pen view. So for example, is it possible to replace each quadrilateral element with both a face element and an edge element with a certain thickness?

One way for me to do this would be to painstakingly write a script that draws each individual face of the surface, and then also draws a separate edge element around the quadrilateral. But I imagine that there might be easier ways to do this.

Hopefully I have been clear about the end goal. Essentially, I would like to see the quadrilateral and edge elements over all the rendered views, without certain rendered views 'smoothing' out of the surface and only drawing the outer boundaries. In the future, I might want to have control over the materials for both the face and interior edge elements.

Note that I am using Rhino for Mac.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5777

Trending Articles