Geometries

Geometries#

Geometries contains classes and functions for building the most common geometry types.

Classes:

ArbitraryLine(points[, layers, alabel])

Represents an arbitrary line path (list of points) and polygons created along this path and width values on the points.

Fillet(anchor, radius[, num_segments, ...])

Represents a multilayer Fillet geometry.

IDC(length, spacing, num, layers, alabel)

Represents a special IDC (symmetrical).

MicroChannels(length, spacing, num, angle, ...)

Creates microchannels for eHe or can be used to create IDC.

SpiralInductor(size, width, gap[, ...])

Represents a spiral inductor.

StraightLine([anchors, lendir, layers, ...])

Represents a straight line 'polygons' in different layers.

Taper(length[, layers, alabel, extension_sizes])

Represents a multilayer Taper geometry.

Functions:

ArcLine(centerx, centery, radius, ...[, ...])

Returns LineString representing an arc.

Circle(radius[, location, num_edges])

Returns a circle shape Polygon

CircleSegment([radius, start_angle, ...])

Returns a polygon representing a circular segment.

CornerCutterPolygon([radius, num_segments])

Generates a polygon which is used to cut for corner rounding.

CornerRounder(corner[, radius, angle, ...])

Creates a Polygon to Round a corner (use for cuts).

LineExtrudedRectangle(point, width, length)

Returns a rectangle that is extruded from a point in specific direction.

Meander([length, radius, direction, ...])

Returns a 1D full Meander line.

MeanderHalf([length, radius, direction, ...])

Returns a 1D half Meander line.

PinchGate(arm_w, arm_l, length, width)

Returns a Polygon representing a pinch gate.

Rectangle(width, height[, location, ...])

Returns a rectangle Polygon

RegularPolygon([edge_size, radius, ...])

Returns a regular Polygon with specified number of edges.

Ring(inner_radius, outer_radius[, location, ...])

Returns a ring shape Polygon

RingSector(inner_radius, outer_radius, ...)

Returns the intersection between a ring and a circular sector.

Square(size[, location, direction, round_radius])

Returns a square Polygon