Hello,
@Parakeet3d and @Arman_Khalilbeigi_Kh
I’ve been testing Parakeet 1.2.0 in Grasshopper 1 on Rhino 8 (macOS 27). I found these by running components on known inputs, without your source, so the causes are only what Grasshopper reports. Each one below was seen with one component solved on its own.
1. Negative counts make Rhino run away (the serious one)
These don’t stop and don’t report an error: Rhino’s memory climbs until something kills it. In one earlier run, Klein Bottle U=-2 was the last case logged before my whole Mac became unresponsive and Rhino had to be force-quit.
| Component | Input | What happened (my watchdog killed Rhino at 4 GB) |
|---|---|---|
| Klein Bottle | U Division = -2, other inputs default | Past 4 GB in about 3 seconds |
| Klein Surface | U Division = -2, other inputs default | Past 4 GB in about 3 seconds |
| Panelized Sum Surface | V Division = -2 | Past 4 GB in about 5 seconds |
| Panelized Sum Surface | U Division = -2 | 100% CPU, past 4 GB in about 2 minutes |
With a slider that can go below zero, one drag can take the machine down, so a guard here would help a lot. PlukerSurface already does the right thing: U=-2 gives the error “Invalid U and V counts”. Klein Bottle and Klein Surface also give that error at U=0, so it looks like only the negative case gets past the check.
The test curves for Panelized Sum Surface were an arc from (0,0,0) through (5,0,2) to (10,0,0), and a line from (0,0,0) to (1,8,1).
2. Some bad inputs stop on a modal “Grasshopper breakpoint” dialog
The solve waits until someone clicks Close. The dialog can open on another Space, so Rhino looks frozen at 0% CPU.
| Component | Input | Dialog text |
|---|---|---|
| Brep Topology | A Brep with a curved edge (a sphere, centre (1,1,1), radius 2.5) | One of the supplied items could not be converted. Parameter type: GH_Line, Supplied type: ArcCurve |
| Reverse Surface | Reverse Mode = 0 or -1 | The supplied data could not be converted. Parameter type: GH_Surface, Supplied type: BrepFace |
| Extend Surface | Edge index -1 or 7 | The same as Reverse Surface |
After Close, Brep Topology’s Edges output has a null for each curved edge, and the other two give no output. Valid values raise no dialog (Reverse Mode 1, Extend index 0, a box in Brep Topology).
3. RemoveDuplicateSurface gives a null for every surface it keeps
The indices are right, but the surfaces output has nothing usable. It looks like the same failed cast.
4. Smaller inconsistencies with bad counts
- Map To Surface with U or V = -2 gives “Object reference not set to an instance of an object”. With 0 it gives nothing, with no message.
- Panelized Sum Surface treats a count of 0 as 1, with no message.
5. Tileable p4 fails on Mac
It fails on every run with a “file does not exist” error naming Libraries\Parakeet.gha, which looks like a Windows path separator. The other tileable components work. I understand Parakeet may only be tested on Windows, so this is just a heads-up.
If it would help, I can send small test files for any of these.
Thanks for Parakeet!