export_vtk
export_vtk
Attributes
Functions:
export_to_vtk
Export the model to a vtk file
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
model
|
Femora Model instance with an assembled mesh. |
required | |
filename
|
str
|
The filename to export to. If None, uses model_name in model_path |
None
|
write_info_json
|
bool
|
When True, also write a lightweight sidecar JSON file with region and meshpart info. |
False
|
indent
|
int
|
JSON indentation level for sidecar info. |
2
|
Returns:
| Name | Type | Description |
|---|---|---|
bool |
True if export was successful, False otherwise |