issue in using blendpair
between several closed loops
#37
Unanswered
jimy-byerley
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
-
Hey Jimy Ok, just tested my approach and it works well! One last question - is there a way to adjust the number of sub-loops the blendpair function adds between loops? I'm happy with a blocky/tessellated look so those extra triangles aren't necessary for my purposes and push the overall tri-count up. Is it the 'resolution' parameter that controls this? I couldn't find anything in the documentation about it. Many thanks again! Tim |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is the text from the last question of tim-rastall-reveal
Hi again Jimy
Firstly, that hint for using 'Wire' instead of 'wire' worked perfectly and I've now been able to move on to building some geometry.
My next challenge is to create blended surfaces between 2 wires:
To achieve this, I've been using the 'blendpair' function on 2 wires as follows:
This yields some interesting results where I blend a series of pairs of 12-sided Ngons and 4 sided rectangles as you can see in the image below - the sections are appended into a single mesh that then has end-caps added to form a manifold surface.
I initially thought this issue was a result of the 'handedness' of the vertex order in the wires being inverted but when I checked, everything is right-hand-rule, so in the case of the series of 12 sided Ngons that make up the first 4 sections (from the top) of the mesh shown in the image below, the vertex order and handedness is consistent - with vert index0 on the first wire being directly above vert index0 on the wire below it and so on.
In the case of the 12 sided ngons in the object shown below, the vertices between wires are being linked as follows 0-0, 1-11, 2-10, 3-9, 4-8, 5-7, 6-6 etc
I had assumed that setting the 'match' parameter value to 'closest' would fix this but unfortunately, an error is returned from blending.py as follows:
Any thoughts? It feels like it could be a bug but equally, I could be miss-understanding something.
I've also attached a csv with the coordinate strings for the object shown in the image below.
I hope this makes sense and thanks for your continued support!
Tim
AAA-079_inside.csv
Beta Was this translation helpful? Give feedback.
All reactions