encode method
Contents
[
Hide
]encode
Encode the entity and save the result into the stream.
def encode(self, entity, stream):
...
| Parameter | Type | Description |
|---|---|---|
| entity | Entity | The entity to encode |
| stream | io.RawIOBase | The stream to write to, this method will not close this stream |
encode
Encode the entity and save the result into an external file.
def encode(self, entity, file_name):
...
| Parameter | Type | Description |
|---|---|---|
| entity | Entity | The entity to encode |
| file_name | str | The file to write to |
encode
Encode the entity and save the result into the stream.
def encode(self, entity, stream, opt):
...
| Parameter | Type | Description |
|---|---|---|
| entity | Entity | The entity to encode |
| stream | io.RawIOBase | The stream to write to, this method will not close this stream |
| opt | PlySaveOptions | Save options |
encode
Encode the entity and save the result into an external file.
def encode(self, entity, file_name, opt):
...
| Parameter | Type | Description |
|---|---|---|
| entity | Entity | The entity to encode |
| file_name | str | The file to write to |
| opt | PlySaveOptions | Save options |
See Also
- module
aspose.threed.formats - class
PlyFormat