Compare commits

..

2 Commits

Author SHA1 Message Date
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 2 deletions
+4
View File
@@ -107,6 +107,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")