Operations module

ops module

Shift(geo[, x, y, z, name])

Shift geometry by given offsets in x, y, z directions.

Mirror(geo, plane_name, plane_pos[, name])

Mirror geometry across a specified plane.

Rotate(geo, angle_deg[, axis_direction, ...])

Rotate geometry around an axis by a given angle.

Union(geometries[, name])

Concatenate multiple geometries.

Subtract(geo1, geo2[, rmax, name])

Pointwise subtraction: keep points in geo1 farther than rmax from any point in geo2.

Intersect(geometries[, rmax, name])

Pointwise intersection of multiple geometries.

Stack(layer, axis, n_axis, dl, dimension[, name])

Stack a 2D layer along an axis by repeating its points at dl-spacing.

Clip(geo, *, keep[, plane_name, ...])

Half-space clipping by a named plane through the origin or an arbitrary plane.