Compare commits

...

3 Commits

Author SHA1 Message Date
reed 2cd98fa71c refactor(build123d): removed unused parameter 2026-04-27 22:28:57 -05:00
reed a2f8bb836f feat(build123d): fix pyright errors 2026-04-27 20:53:55 -05:00
reed 96ae205e2e feat(build123d): add .envrc to the template 2026-04-27 20:53:20 -05:00
4 changed files with 8 additions and 3 deletions
+4 -1
View File
@@ -20,7 +20,6 @@
lib, lib,
config, config,
pkgs, pkgs,
self',
system, system,
... ...
}: let }: let
@@ -107,6 +106,10 @@
packages = [ packages = [
pyEnv pyEnv
]; ];
shellHook = ''
export PYTHONPATH="${pyEnv}/${pyEnv.sitePackages}:$PYTHONPATH"
'';
} }
// cfg.devShell.extraAttrs); // cfg.devShell.extraAttrs);
+1
View File
@@ -0,0 +1 @@
use flake
-1
View File
@@ -155,7 +155,6 @@ activemq-data/
# Environments # Environments
.env .env
.envrc
.venv .venv
env/ env/
venv/ venv/
+3 -1
View File
@@ -1,8 +1,10 @@
from build123d import * # pyright: ignore[reportWildcardImportFromLibrary] # pyright: reportUnusedCallResult=false, reportWildcardImportFromLibrary=false
from build123d import *
length, width, thickness = 80.0, 60.0, 10.0 length, width, thickness = 80.0, 60.0, 10.0
with BuildPart() as builder: with BuildPart() as builder:
Box(length, width, thickness) Box(length, width, thickness)
assert builder.part is not None
export_step(builder.part, "output.step") export_step(builder.part, "output.step")