fstwn / cockatoo

Cockatoo is a prototypical open-source software toolkit for generating (3d-)knitting patterns from NURBS surface and mesh geometry directly inside Grasshopper.

Home Page:https://fstwn.github.io/cockatoo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

false connections if geometry is a tubular mesh

fstwn opened this issue · comments

Horrible connection failures have been observed on a tubular test mesh.

  • Behaviour seems to occur when creating final warp connections.
  • Behaviour has been observed with ContinuousEnd setting but is not necessarily related.

tubularfail

it should be noted that on a nurbs surface of the same geometry the problem does not occur.
surfacegood

A relation to the difference in generation of KnitContours is possible.

This is related to the routine for using the least angle change connection. We need a failsafe here to prevent "parallel" edges from accross the tube being used.

Maybe implement some reference geometry query to deal with this