Skip to content

Commit

Permalink
revert bc74e7e
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroCubi committed Apr 26, 2024
1 parent bc74e7e commit 9551446
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 @@ -598,7 +598,7 @@ def GenTorusAnnexVSurface(face,Vparams,forceCylinder=False):
Apex = face.Surface.Center + za * axis
semiAngle = abs(math.atan(d1/(z1-za)))

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

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

0 comments on commit 9551446

Please sign in to comment.