8 lines
277 B
Python
8 lines
277 B
Python
from build123d import Align, Plane, Pos, Rectangle
|
|
|
|
|
|
def run(context, target, params):
|
|
rect = Rectangle(params["width"], params["height"], align=(Align.MIN, Align.MIN))
|
|
positioned = Pos(params["x_offset"], params["y_offset"], 0) * rect
|
|
return Plane.XY * positioned
|