Question about making a undulating curve flat

Hi,

I’m new to Grasshopper, so forgive me if there is anything in my question that isn’t clear; please let me know.

I have 3 questions with the same grasshopper script:

  1. I’m currently curious about making weaving patterns for 3D printing as an experiment, and I got to this point where I realized the cull pattern method creates the amplitude according to the points normals. I want to ask if there is any way to “flatten” these curves much like ProjectToCplane without bringing it down to 0 on the Z axis?

  2. What is the best way to rotate every other layer so that the undulation layering with opposite undulation creates a “weaving pattern”?

  3. Any advice on a better approach to make the script less heavy and take less time to load when clicking or changing a component?

Forgive me if the script is a mess and/or has many unnecessary components. I followed a YouTube video on Nelson Lamps to get a better grasp of Grasshopper and how to use it.

Much appreciated!

-N


Weaving Practice.gh (13.0 KB)

FIY I have figured out the answer to question 2.

you can use Scale1D along Z axis, and leaving X and Y to 1

Thank you for the help.

I’m not too sure what you mean. Is there Scale 1D in grasshopper? I forgot to mention that I am using Rhino 6, unsure if that matters.

N

it’s called Scale NU:

Hmmm. I don’t think that is what I’m looking for. I’m not sure how Scale NU would help me reach my goal.

To clarify, I want to make all the curves flat and parallel to the XY Plane. I saw another forum that is achieving the same goal. However, I’m not sure how I would plug this in yet since I’m a newbie at this. Maybe this is clearer about what I’m trying to do, and perhaps you would think of something better while I find time to sit down and figure it out.

Apologies for not making my question clear; I submitted this question late at night with little brain cells left for the day.

Thanks again for following up, inno!

N

Elevate the XY plane accordingly (?).

Thank you Piotr, I actually figured out with magicteddy answer in this forum which worked out exactly how I wanted. But I see your answer, and I will try it again another time because it makes a lot of sense.

Thanks for everyone’s help!