Skip to content

Commit

Permalink
redo commit bc74e7e (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell authored Apr 26, 2024
1 parent 52e7443 commit 5559de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/geouned/GEOUNED/Conversion/CellDefinition.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ def GenTorusAnnexVSurface(face, Vparams, forceCylinder=False):
Apex = face.Surface.Center + za * axis
semiAngle = abs(math.atan(d1 / (z1 - za)))

ConeAxis = axis if za < 0 else -axis
ConeAxis = axis if (z1 - za) > 0.0 else -axis

Vmid = (Vparams[0] + Vparams[1]) * 0.5
pMid = face.valueAt(0, Vmid) - face.Surface.Center
Expand Down

0 comments on commit 5559de5

Please sign in to comment.