mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-06 02:30:55 -08:00
vectorized location multiplication
This commit is contained in:
parent
f871a73e34
commit
15bdaa05d4
7 changed files with 46 additions and 57 deletions
|
|
@ -10,13 +10,10 @@ minute_indicator = make_face(l1, l3, l2, l4)
|
|||
minute_indicator = fillet(*minute_indicator.vertices(), radius=clock_radius * 0.01)
|
||||
|
||||
clock_face = Circle(clock_radius)
|
||||
clock_face -= [loc * minute_indicator for loc in PolarLocations(0, 60)]
|
||||
|
||||
|
||||
clock_face -= [
|
||||
loc * SlotOverall(clock_radius * 0.05, clock_radius * 0.025)
|
||||
for loc in PolarLocations(clock_radius * 0.875, 12)
|
||||
]
|
||||
clock_face -= PolarLocations(0, 60) * minute_indicator
|
||||
clock_face -= PolarLocations(clock_radius * 0.875, 12) * SlotOverall(
|
||||
clock_radius * 0.05, clock_radius * 0.025
|
||||
)
|
||||
|
||||
clock_face -= [
|
||||
loc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue