1. NodeBox 1
    1. Homepage
    2. NodeBox 3Node-based app for generative design and data visualization
    3. NodeBox OpenGLHardware-accelerated cross-platform graphics library
    4. NodeBox 1Generate 2D visuals using Python code (Mac OS X only)
  2. Gallery
  3. Documentation
  4. Forum
  5. Blog

Control Points in Unioned Paths

Posted by Rick Llewellyn on May 29, 2011

I have found that after paths are unioned, their control points are essentially lost. In other words point.x = point.ctrl2.x instead of the original control point value.

Is that the correct behavior or should the path's control points have been preserved from the original path before the union takes place?


 
Posted by Stefan on May 31, 2011

Yes, the compound operations work by flattening the paths and thus essentially removing all curving data. This is not correct or incorrect behaviour in and of itself, it's just the limitation of the specific algorithm behind it that was used. This is of course less than ideal but it's only apparent in NodeBox 1. NodeBox 2 does have compound operations that preserve the curving data of paths, so you may want to check there.