litho.core.Shape

Base type for all “shapes”. Shapes in smile2 are leaves that can be represented by a finite amount of outlines and holes defined by points (vertices).

The most prominent node derived from this interface node is the PolygonNode, since it is certainly the most common leaf type in structures.

Currently, smile2 implements 3 specialized types of Shapes:

The PolygonNode
In this shape, the holes are connected with straight lines
The BSplineShape
In this shape, the vertices define control points for paramedic basis spline (BSplines) curves of adjustable degree (and evaluation precision)
The RibbonNode
A “wire-like” shape that has a thickness and follows a path
../_images/shape_types.png

The three shape types implemented in smile2, generated from the same input (same vertices).

Note

The special “thing” about shapes in smile2, compared to other software (eg. programs that use a GDSII like representation of polygons), is that shapes (or more special polygons) can hold many outlines and can have real holes.

Attribute Reference

Name

niceName dist10 (⇨ wstring) dist50 plug_in plug_out , f_default Unnamed

Derived from Node. Human readable name of this node (eg. “Rectangle 1”). The name can be changed to any string in the Attribute Editor or in the Outliner.

Exposure settings

Exposure scale

exposureScale dist10 (⇨ double) dist50 plug_in plug_out , f_default 1

Derived from WritableNode. See WritableNode.

Exposure Map

exposureMap dist10 (⇨ ExposureMap) dist50 plug_in plug_out , f_default None

Derived from WritableNode. See WritableNode.

Pattern Generator

builder dist10 (⇨ Builder) dist50 plug_in plug_out , f_default None

Derived from WritableNode. See WritableNode.

Multiple Exposure Steps

Multiple Exposure Steps

multiExposure dist10 (⇨ bool) dist50 plug_in plug_out , f_default False

Derived from WritableNode. See WritableNode

Number of Exposure Steps

numExposures dist10 (⇨ int) dist50 plug_in plug_out , f_default 1

Derived from WritableNode. See WritableNode.

Other Attributes

Object Name

name dist10 (⇨ string) dist50 plug_in plug_out , f_default Unnamed

Derived from Node. The object name can be used to address objects from PYTHON scripts or from an expression (eg. in the Attribute Editor). More information about object names can be found Object Names

PYTHON Reference