A hint IPC file holding a points table (hint’s table_points, then table_write with format ipc).
Required
Returns
Ok with a VerbValue (the caller frees it); data has ref, contentHash, points and attributes. P comes from x, y, z; id from the id column; Float64 columns are Float64 attributes, Int64 columns Int32 or Uint32, and name.0 … name.(n−1) join into one tuple.
Errors
Returned when the bytes do not start with hint.ipc/1.
The bytes are not a hint IPC file: they do not start with hint.ipc/1. Pass the bytes table_write wrote with format ipc, or that points_to_hint made.
Returned when the bytes do not hash to the hash the file carries.
The hint IPC file does not hash to the hash it carries: a byte changed, or the file was cut short. Pass the file as written; fetch it again if it was moved.
Returned when the value inside ends early, has extra bytes, or a column holds the wrong number of values.
The hint IPC file holds a value the bridge cannot read: it ends early, has extra bytes, or a column holds the wrong number of values. Write the table again with table_write (format ipc).
Returned when the table is not a points table.
The table is not a points table: x, y, z (Float64, semantic point), an optional id (Int64), then Float64 or Int64 attributes, every column not null. Make the table with hint’s table_points before table_write.
Returned when an id or an integer does not fit 32 bits.
A value does not fit the kernel attribute it becomes: an id outside Int32, an integer outside Int32 and Uint32, or more points than a geometry holds. Keep ids and integer attributes within 32 bits, or write them as Float64.
Returned when source names nothing, or an argument breaks its schema.
A tool argument does not match the tool's input schema. Fix the argument named in paramPath.
Returned when kernel3d is not registered, or is older than 0.15.0.
The action is not available in the current context. Satisfy measured.requires first (e.g. create a node before editing one), or load the module measured.capability names (e.g. loadGeometryKernel() for kernel3d).
Guarantees
the same bytes give the same ref and content hash
Samples.toHint of the result gives the same bytes back
The same result on every machine.
Example
TypeScript
const s = Samples.scatter(Mesh.box().value, { scope: 'scatter1', spacing: 0.5})const b = s.ok ? Samples.toHint(s.value) : undefinedb?.ok && Samples.fromHint(b.value.bytes) // → the same samples back once loadGeometryKernel() has run