paroto.models.geometry.electrodes#

Parametric electrode geometry generation.

Classes#

ElectrodeGeometry

Parametric electrode geometry generator.

Module Contents#

class paroto.models.geometry.electrodes.ElectrodeGeometry(radius=0.005, length=0.02, taper_angle=15.0)#

Parametric electrode geometry generator.

Creates conical/tapered electrode surfaces with fillets.

radius = 0.005#
length = 0.02#
taper_angle#
generate_points(n_points=100)#

Generate 3D points for electrode surface.

Parameters:

n_points (int) – Number of points along electrode

Returns:

points – Array of shape (n_points, 3) with (x, y, z) coordinates

Return type:

ndarray

export_stl(filename)#

Export electrode to STL file.

Parameters:

filename (str) – Output STL filename

Note

Requires cadquery for full implementation. This is a placeholder.

export_step(filename)#

Export electrode to STEP file.

Parameters:

filename (str) – Output STEP filename

Note

Requires cadquery for full implementation. This is a placeholder.