Search the Community
Showing results for tags 'addvertex'.
-
What do these two lines mean? I do not understand. Please explain. addvertex(0, prim, @ptnum); addvertex(0,prim,pt); I don't konw why "ptnum" is needed here.
- 4 replies
-
- nearpoints
- vex
-
(and 2 more)
Tagged with:
-
Hello! Sory for my English I'm trying create geometry with AttribWrangle node in Detail mode. I use addpoint, addvertex and addprim nodes. When I created some points how could I get access to them into the node? For example, I created point pnt0 = {0,0,0,}. And now I want to create point pnt1 which is close to pnt0: int X = 3; int pnt0 = addpoint(0, set(0,0,0)); int pnt1 = addpoint(0, set()); - and here I want to get position of the first point and add X to each coordinates. Is it possible?
-
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