Jump to content

Creating faces in Python and some issues


Caerus7

Recommended Posts

Hi All,

 

I finally managed to get python to create points and faces, but I'm trying to figure a few things out.

 

From the documentation I've gathered that I can view and find edges, but I can't set them. I can partially control edge generation with vertex order, but not much it seems.

 

Is there a way to create / delete / control edge connections with Python?

 

In my example I used python to read the points from a second grid and create them inside the first. (First attempt it connected them by point order.) What I'd like to be able to do is add all the points, then recreate the edge structure to be identical to input. Which is possible, but involves a lot more code than a single iteration through edge connections and a second command to attach them.

 

I've attached a simple file I made to test creating polygons in code.

 

Thanks

 

py_tests.hipnc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...