> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-sdk-add-methods-properties.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Object3D methods

## <Badge color="yellow" size="lg" shape="rounded">Class</Badge> wandb.Object3D

## <Badge color="blue" size="lg" shape="rounded">method</Badge> Object3D.from\_file()

Initializes Object3D from a file or stream.

```python theme={null}
data_or_path: 'TextIO | str',
file_type: 'FileFormat3D | None' = None
```

##### Arguments

<ResponseField name="data_or_path" type="TextIO | str">
  A path to a file or a `TextIO` stream.
</ResponseField>

## <Badge color="blue" size="lg" shape="rounded">method</Badge> Object3D.from\_numpy()

Initializes Object3D from a numpy array.

```python theme={null}
data: 'np.ndarray'
```

## <Badge color="blue" size="lg" shape="rounded">method</Badge> Object3D.from\_point\_cloud()

Initializes Object3D from a python object.

```python theme={null}
points: 'Sequence[Point]',
boxes: 'Sequence[Box3D]',
vectors: 'Sequence[Vector3D] | None' = None,
point_cloud_type: 'PointCloudType' = 'lidar/beta'
```

##### Arguments

<ResponseField name="points" type="Sequence[Point]">
  The points in the point cloud.
</ResponseField>

<ResponseField name="boxes" type="Sequence[Box3D]">
  3D bounding boxes for labeling the point cloud. Boxes are displayed in point cloud visualizations.
</ResponseField>

<ResponseField name="vectors" type="Sequence[Vector3D] | None">
  Each vector is displayed in the point cloud visualization. Can be used to indicate directionality of bounding boxes. Defaults to None.
</ResponseField>
