Skip to content

Commit

Permalink
3D model: Set name of assembly
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrgn committed Sep 2, 2023
1 parent 74188b7 commit d4f750d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate_chip.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ def generate_3d(library: str, package_type: str, name: str, config: ChipConfig)
.translate(translation) \
.translate((edge_offset + edge / 2, 0, 0))

assembly = cq.Assembly() \
assembly = cq.Assembly(name=name) \
.add(inner, name="inner", color=cq.Color("gray16")) \
.add(left, name="left", color=cq.Color("gainsboro")) \
.add(right, name="right", color=cq.Color("gainsboro"))
Expand Down

0 comments on commit d4f750d

Please sign in to comment.