paroto.models.geometry.electrodes ================================= .. py:module:: paroto.models.geometry.electrodes .. autoapi-nested-parse:: Parametric electrode geometry generation. Classes ------- .. autoapisummary:: paroto.models.geometry.electrodes.ElectrodeGeometry Module Contents --------------- .. py:class:: ElectrodeGeometry(radius=0.005, length=0.02, taper_angle=15.0) Parametric electrode geometry generator. Creates conical/tapered electrode surfaces with fillets. .. py:attribute:: radius :value: 0.005 .. py:attribute:: length :value: 0.02 .. py:attribute:: taper_angle .. py:method:: generate_points(n_points=100) Generate 3D points for electrode surface. :param n_points: Number of points along electrode :type n_points: :py:class:`int` :returns: **points** -- Array of shape (n_points, 3) with (x, y, z) coordinates :rtype: :py:class:`ndarray` .. py:method:: export_stl(filename) Export electrode to STL file. :param filename: Output STL filename :type filename: :py:class:`str` .. note:: Requires cadquery for full implementation. This is a placeholder. .. py:method:: export_step(filename) Export electrode to STEP file. :param filename: Output STEP filename :type filename: :py:class:`str` .. note:: Requires cadquery for full implementation. This is a placeholder.