mirror of
https://github.com/yeicor-3d/yet-another-cad-viewer.git
synced 2026-02-15 01:18:21 +01:00
Start working on python package
This commit is contained in:
15
yacv_server/logo/logo.py
Normal file
15
yacv_server/logo/logo.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from build123d import *
|
||||
|
||||
from tessellate import tessellate
|
||||
|
||||
|
||||
def logo() -> Compound:
|
||||
"""Builds the CAD part of the logo"""
|
||||
with BuildPart() as logo_obj:
|
||||
Box(1, 2, 3)
|
||||
return logo_obj.part
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
obj = logo()
|
||||
tessellate(obj.wrapped, lambda *args: print(args))
|
||||
Reference in New Issue
Block a user