Grasshopper pipe variable bug report

Hi,
I’d like to report a bug, tested on rhino 7 on both Mac and windows regarding pipe variable either component or script (python, didn’t test the rest). I try to create a variable pipe on a symetric polyline and outcome is always the same. The middle section is always crooked which should be straight and parallel to the YZ plane.

How long does it take for the bug to be fixed?
I wouldn’t like to have to make the component myself.

No file and no system info…


parametric wing design.gh (13.6 KB)

You can post your system info by typing _SystemInfo and then use the HideDetails option by clicking the gear icon in a new post.

I see the same problem in Rhino 8 with the Grasshopper definition shared above.

System Info

Rhino 8 SR5 2024-2-27 (Rhino 8, 8.5.24058.13001, Git hash:master @ eaa901528453bac5a3cfc23321bdf4d767238d34)
License type: Kommerziell, build 2024-02-27
License details: Cloud Zoo

Windows 11 (10.0.22631 SR0.0) or greater (Physical RAM: 128GB)
.NET 7.0.16

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA RTX A5000 (NVidia) Memory: 22GB, Driver date: 2-7-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 551.52
> Accelerated graphics device with 4 adapter port(s)
- Secondary monitor attached to adapter port #0
- Windows Main Display attached to adapter port #1

Secondary graphics devices.
NVIDIA Quadro K2200 (NVidia) Memory: 4GB, Driver date: 2-7-2024 (M-D-Y).
> Accelerated graphics device with 4 adapter port(s)
- There are no monitors attached to this device!

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPU’s maximum)

Anti-alias mode: 8x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 2-7-2024
Driver Version: 31.0.15.5152
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 23028 MB

Rhino plugins that do not ship with Rhino
C:\Users\martinsiegrist\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\NVIDIADenoiser\0.4.3\NVIDIADenoiser.Windows.rhp “NVIDIADenoiser.Windows” 0.4.3.0

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.5.24058.13001
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\AnimationTools.rhp “AnimationTools”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.5.24058.13001
C:\Program Files\Rhino 8\Plug-ins\import_OBJ.rhp “Import_OBJ” 8.5.24058.13001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.5.24058.13001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\ShrinkWrap.rhp “ShrinkWrap” 8.5.24058.13001
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.5.24058.13001
C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 8.5.24058.13001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.5.24058.13001
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp “SectionTools”
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 8.5.24058.13001
C:\Program Files\Rhino 8\Plug-ins\RhinoCode\RhinoCodePlugin.rhp “RhinoCodePlugin” 8.5.24058.13001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.5.24058.13001
C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp “Displacement”

If the curve is rebuilt, the result looks fine.

pipe_variable_curve_rebuild.gh (8.1 KB)

I created a polyline myself and the result looks fine too:

What method did you use to create the poly line from the second picture? I know it works fine on rebuild curve, but the problem is with the poly line.

I just drew a polyline in Rhino and made sure the control points are symmetrical.

Yeah, but that’s not the problem. It should work with my script, but it doesn’t. Doing it in rhino won’t make it parametric.

I understand your Grasshopper approach, but I also think it has nothing to do with your script or any kind of parametric concept.

I tried again with another symmetrical Rhino curve and the command now fails.

One control point moved by 0.0001 and the result looks fine.

It seems to be a rounding issue.

Do you know if there is a workaround without changing the concept of the script?

Sweep a series of circles on perp frames which have their normals fixed.

I’ve used loft.

parametric wing design loft workaround.gh (22.2 KB)

1 Like

Thank you very much. I had a previous script that worked similar to this one but way way more complex and slower. This helps a lot!

1 Like

Wait, it is still not simetric lol. I made planes larger and the overlap differs from side to side :frowning:

I mirrored the circles and baked both sets, then _SelDup and Rhino selected found 19 duplicates.

The planes rotation seems to be off by a bit in the file I posted above because I just usedd the tangent for the alignment. Using the sum of the tangent and the previous tangent, the planes alignment coincides.

parametric wing design loft workaround aligned.gh (22.9 KB)