mirror of
https://github.com/gumyr/build123d.git
synced 2026-01-17 06:41:56 -08:00
added minor_radius to toruse center for the first 2 dimensions
This commit is contained in:
parent
7d9285db24
commit
cb665377d6
1 changed files with 2 additions and 2 deletions
|
|
@ -1108,8 +1108,8 @@ class Torus(Compound):
|
|||
self.mode = mode
|
||||
|
||||
center_offset = Vector(
|
||||
0 if centered[0] else major_radius,
|
||||
0 if centered[1] else major_radius,
|
||||
0 if centered[0] else major_radius + minor_radius,
|
||||
0 if centered[1] else major_radius + minor_radius,
|
||||
0 if centered[2] else minor_radius,
|
||||
)
|
||||
new_solids = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue