Main Content

exportBatteryStl

Create stereolithography file for battery

Since R2025a

Description

exportBatteryStl(battery) creates a stereolithography (STL) file for the battery object battery. STL is a file format that you can use for 3-D printing and computer-aided design.

exportBatteryStl(battery,Filename="myFile") creates an STL file named myFile for the battery object battery.

example

Examples

collapse all

Create a Cell object with a prismatic geometry by using the batteryCell function.

battCell = batteryCell(batteryPrismaticGeometry);

Create an STL file named "STLExampleFile" from the battCell object.

exportBatteryStl(battCell,Filename="STLExampleFile");

Input Arguments

collapse all

Battery object from which to generate the STL file, specified as a Cell, ParallelAssembly, Module, ModuleAssembly, or Pack object.

Name of the STL file, specified as a character vector or string scalar. If you do not specify a name, exportBatteryStl uses the name of the battery object battery.

Version History

Introduced in R2025a