blender/tests/files/alembic/compare
Kévin Dietrich c6447e69c6 Alembic: use proper scopes for reading and writing radii
Curves and points radii were read and written assuming they are always
defined on the vertex scope. This is a bit mistaken as those are
GeomParams in Alembic, which means that they could be defined on any
scope.

For export, we now write them on the Constant scope if the radius
attribute is a single value. Otherwise, we keep exporting on the vertex
scope.

For import, we read radii values properly according to the Alembic
scope. For Constant scope, we simply create a single value array.

This also adds some `get_sane_range` function to sanitize the range
used when iterating over Alembic data when reading curves widths.
This mirrors what is currently done for reading points widths.

Pull Request: https://projects.blender.org/blender/blender/pulls/164077
2026-09-21 21:04:38 +02:00
..
reference Alembic: use proper scopes for reading and writing radii 2026-09-21 21:04:38 +02:00
74200-bad-face-counts-polymesh.abc Alembic: deduplicate data reading between IPolyMesh and ISubD 2026-06-02 04:36:06 +02:00
74200-bad-face-counts-subd.abc Alembic: deduplicate data reading between IPolyMesh and ISubD 2026-06-02 04:36:06 +02:00
curves-width-constant-scope.abc Alembic: use proper scopes for reading and writing radii 2026-09-21 21:04:38 +02:00
curves-width-uniform-scope.abc Alembic: use proper scopes for reading and writing radii 2026-09-21 21:04:38 +02:00
curves-width-vertex-scope.abc Alembic: use proper scopes for reading and writing radii 2026-09-21 21:04:38 +02:00
malformed_curves.abc
malformed_face_indices.abc
malformed_nurbs.abc
malformed_points.abc
point_attributes.abc
points-width-constant-scope.abc Alembic: use proper scopes for reading and writing radii 2026-09-21 21:04:38 +02:00
points-width-vertex-scope.abc Alembic: use proper scopes for reading and writing radii 2026-09-21 21:04:38 +02:00