The points to move are selected by horizontal distance.
Based on the distance along the z-axis the points must move, which let the mesh edges connect with the edges of the shape in the middle.
The inner part of the mesh does not matter because I am going to delete that later, it is all about connecting the mesh to the edges of the shape in the middle.
What am I doing wrong?
I cannot pull along a z-axis.
I was looking for something like ‘pulling’ the neighbouring points, but it does not make sense when the first point does not reach the curve along the z-axis.
I cannot connect the mesh edges to the middle surface.
How can I connect the mesh edges to the middle surface along the z-axis?
What I did now was, making lines from the points of the mesh to pull everything along the z-axis. But, that did not work, but why, the way I did it seems okay. Every mesh points gets its max z-value and by distance - distance in flat surface circumstances project curves middle form and mesh points to flat surface - the z-value is calculated.
I cannot deal with K2 because it always does not work for me.
My scripts are always so intense, K2 works very slow with that.
He is an professional, I am not, but I prefer to, even in this small setting of mine, to do it with other components.
The mesh is a landscape, K2 will destroy everything.
Do you might what I am doing wrong in my script Mr. Stark?
K2 is kinda a Magnum 44: use it properly … and you’ll get the expected results. Use it wrongly and you may end-up shooting your own feet.
BTW: K2 is VERY fast for that type of stuff: a couple of milli seconds max. Of course if you attempt to get results the wrong way … it may take a year and a half to finish (but that is not Daniel’s fault)
Notify if you need a C# that does the drape thing (but you are following the P route, don’t you?).
I want to learn #C and VB too, but I do not have the time for it now.
I will have hundreds of these forms. Is K2 really the deal for that? Instead of draping, it is more like magnetized it along the z-axis. This gif has steam too (below).
Can I not do it with just my script adjusting something? I only need to get the remapper right. But, I cannot figure it out. I am doing something wrong with it.
BTW: A nice, fast and clean controlled drape is the solution for that type of stuff: i.e. deforming (so to speak) smoothly valid and not folding meshes using objects (but a “normal” landscape doesn’t fold anyway unless is the Grand Canyon).
BTW: C# is all what you need (for a vast variety of reasons especially if you are in the broad AEC market sector). Why bother with VB?
BTW: In order to receive the right ammo for that '44 post here: (1) the most challenging valid landscape that you have, (2) a couple of “difficult” objects for the drape/defomation job, (3) additional rules (if any) for the resulting mesh.
So, VB is not any importance in the business? It is like Archicad, no one uses it because it is not practical, but it is there, as with VB? There is not any VB wiseacre walking around you that want to pick the promotion?
you just tell it that by feeding it vectors and multiplying them on their vertices, though for draping you’ll still need a ‘floor’ unless you want the mesh to really hang like a fabric
It’s a matter of thinking the general case: given a landscape and some objects > “deform” the landscape in order to engulf the objects (and respect some rules kinda no negative slopes etc etc). And of course there’s the relaxation issue of the whole result. For instance is indeed very easy to bridge a mesh with another (say like fusing a giant rock with a terrain) … but the end result would have Frankenstein looks.
For instance: get a “flatish” mesh and a “guide” object and do a good looking canyon like this one: