MCPcopy Create free account
hub / github.com/JoshuaPostel/texaform / from_name

Method from_name

python/utils.py:116–125  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

114
115 @staticmethod
116 def from_name(name: str) -> Self:
117 match name:
118 case "GEAR":
119 return GEAR
120 case "BAR_WINDING":
121 return BAR_WINDING
122 case "NUT":
123 return NUT
124 case x:
125 ValueError(f"{x} not a shape")
126
127gear_text = """......OO......
128.OO...OO...OO.

Callers 1

make_shapeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected