Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

317 B
Raw Blame
from cadgen import build123d as bd
from cadgen import step

LENGTH = 40.0
WIDTH = 30.0
THICKNESS = 10.0
HOLE = 6.0


@step(out="../STEP/part.step")
def part():
    plate = bd.Box(LENGTH, WIDTH, THICKNESS)
    hole = bd.Cylinder(HOLE / 2, THICKNESS * 2)
    return plate - hole


if __name__ == "__main__":
    part()