mirror of
https://github.com/gumyr/build123d.git
synced 2026-01-30 04:10:34 -08:00
Reducing tea_cup.glb size
This commit is contained in:
parent
9eddb4fc7d
commit
4dfcb44332
2 changed files with 8 additions and 0 deletions
BIN
docs/_static/tea_cup.glb
vendored
BIN
docs/_static/tea_cup.glb
vendored
Binary file not shown.
|
|
@ -94,3 +94,11 @@ assert abs(tea_cup.part.volume - 130326) < 1
|
|||
|
||||
show(tea_cup, names=["tea cup"])
|
||||
# [End]
|
||||
tea_cup.part.color = Color(0xDFDCDA) # Porcelain
|
||||
export_gltf(
|
||||
tea_cup.part,
|
||||
"tea_cup.glb",
|
||||
binary=True,
|
||||
linear_deflection=0.1,
|
||||
angular_deflection=1,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue