Page MenuHome

Regression: Geometry Nodes - Setting curve_type, nurbs_order and knots_mode through Named Attributes is broken in latest 3.2/3.3 builds
Closed, DuplicatePublic

Description

System Information
Operating system: Windows-8.1 64 Bits
Graphics card: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 4.5.0 NVIDIA 466.47

Blender Version
Broken: 3.3.0 Alpha, commit date: 2022-05-30 17:30, branch: master, hash: ca5939170461 &
3.2.0 Beta, commit date: 2022-05-29 19:19, branch: master, hash: 32bf6455a019
Worked: 3.2.0 Alpha, commit date: 2022-03-22 22:06, branch: master, hash: 5c27391b0f8c

Short description of error
Curves have some named attributes that don't always have dedicated nodes like "Radius" but are still available to Geometry Nodes, being visible in the Spreadsheets and everything. Some of them are: knots_mode, curve_type, nurbs_order, and nurbs_weight.

In 3.2 alpha it was possible to set them through GN (not sure about the latest version it worked). In most recent builds curve_type and knots_mode are broken. (Edit: I just found out nurbs_order is also broken)

This is the expected result of setting each one of the three attributes at a time:

Curve 1 is the original one for comparison.
Curve 2 had the nurbs_weight of control point 2 altered, included as an example of a "nodeless" named attribute that fully works.
Curve 3, knots_mode set to its original value.
Curve 4, curve_type set to its original value.

With the important note that even in 3.2 setting either curve_type or knots_mode makes them disappear from the spreadhseet, complicating debugging. Unlike them, nurbs_weight updates fine.

This is what happens in 3.3:

The bottom curves shouldn't change, just like in 3.2, because they're being set to their original values.

Exact steps for others to reproduce the error

  1. Add a Store Named Attribute node to a NURBS curve, setting the Name to either knots_mode, curve_type, or nurbs_order and then typing the original value in Value.

Event Timeline

Crowe (crowe) renamed this task from Regression: Geometry Nodes - Setting curve_type and knots_mode through Named Attributes is broken in Blender 3.3 to Regression: Geometry Nodes - Setting curve_type, nurbs_order and knots_mode through Named Attributes is broken in latest 3.2/3.3 builds.Jun 1 2022, 7:05 AM
Crowe (crowe) updated the task description. (Show Details)
Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.Jun 1 2022, 9:09 AM

I can see that the behavior changed, but was setting those attributes actually working? (as in: setting it to a different value than the original? seems like this was also not working prior...)
Will bisect when this changed, maybe this gives us a hint already

Philipp Oeser (lichtwerk) changed the task status from Confirmed to Needs Information from User.EditedJun 1 2022, 9:12 AM

Sorry, meant to put this on Needs Information from User because of

was setting those attributes actually working? (as in: setting it to a different value than the original? seems like this was also not working prior...)

can you provide your example .blend file where this was working in rB5c27391b0f8c?

Thanks for the report. Unfortunately this isn't really expected to work at this point. I'll close this in favor of a TODO task.