Boundary

class ipkiss3.all.Boundary

Layout element consisting of a closed Shape drawn on a given Layer.

Parameters:
shape: Shape, required
layer: __Layer__, required

Layout layer on which the element needs to be placed

transformation: GenericNoDistortTransform, optional

See also

Path
Shape

Examples

import ipkiss3.all as i3

boundary1 = i3.Boundary(
    layer=i3.Layer(0),
    shape=i3.ShapeRingSegment(
        center=(0.0, 0.0), angle_start=30.0, angle_end=100.0, inner_radius=5.0, outer_radius=8.0
    ),
)

boundary2 = i3.Boundary(
    layer=i3.Layer(1),
    shape=i3.ShapeRadialWedge(
        center=(0.0, 0.0), angle=60.0, inner_radius=1.0, inner_width=0.5, outer_radius=8.5, outer_width=0.1
    ),
)

example_boundary = i3.LayoutCell(name="example_boundary").Layout(elements=[boundary1, boundary2])
example_boundary.visualize()
../../../../_images/ipkiss3-all-Boundary-1.png
line_width = 0.0
flat_copy(level=-1)

Returns a flattened copy (i.e. no more layout hierarchy) of this element.

Returns:
Element object