feat(build123d): make the first working version of the build123d template
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
from build123d import * # pyright: ignore[reportWildcardImportFromLibrary]
|
||||
|
||||
length, width, thickness = 80.0, 60.0, 10.0
|
||||
|
||||
with BuildPart() as builder:
|
||||
Box(length, width, thickness)
|
||||
|
||||
export_step(builder.part, "output.step")
|
||||
@@ -28,10 +28,9 @@
|
||||
perSystem = {pkgs, ...}: {
|
||||
krantz.build123d = {
|
||||
enable = true;
|
||||
# src = ./.;
|
||||
|
||||
# runtimeDeps = with pkgs; [];
|
||||
# buildDeps = with pkgs; [];
|
||||
objectName = "box";
|
||||
builder = ./build3d.py;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user