preview_mesh_buffer_to_glb
Kind: Function
Domain: Core runtime
Canonical import: from cadflow import preview_mesh_buffer_to_glb
Signature
def preview_mesh_buffer_to_glb(data: 'bytes | bytearray | memoryview') -> 'bytes'
Description
Wrap a native mesh buffer in the closed CadFlow triangle GLB profile.
Other public imports
from cadflow.preview import preview_mesh_buffer_to_glb
Parameters
| Name | Type | Required | Default | Source description |
|---|---|---|---|---|
data | 'bytes | bytearray | memoryview' | yes | - | Not explicitly described in the source docstring. |
Returns
Type: 'bytes'
The source docstring does not declare additional return semantics.
Errors
The source docstring does not declare a narrower exception contract. Invalid types, values, ownership, paths, or backend state may still raise the corresponding public error.
Behavior and constraints
- The contract below is generated from the current public runtime signature. Check domain notes for ownership and workflow constraints.
Import check
from cadflow import preview_mesh_buffer_to_glb