Added translate option to scad
This commit is contained in:
parent
764e2cc5bc
commit
9a165d5a54
3 changed files with 12 additions and 5 deletions
|
@ -28,10 +28,12 @@ out.mkdir(exist_ok=True)
|
|||
stl_from_1d(
|
||||
bathy,
|
||||
out.joinpath("bathy.stl"),
|
||||
config.get("bathy", "scale"),
|
||||
config.get("bathy", "scale", fallback=[1,1,1]),
|
||||
config.get("bathy", "translate", fallback=[0,0,0]),
|
||||
)
|
||||
stl_from_1d(
|
||||
poro,
|
||||
out.joinpath("poro.stl"),
|
||||
config.get("bathy", "scale"),
|
||||
config.get("bathy", "scale", fallback=[1,1,1]),
|
||||
config.get("bathy", "translate", fallback=[0,0,0]),
|
||||
)
|
||||
|
|
Reference in a new issue