Skip to content

Commit

Permalink
Merge pull request #1207 from Poisoned/master
Browse files Browse the repository at this point in the history
show axes when axtype=10
  • Loading branch information
marcomusy authored Dec 2, 2024
2 parents 66406c9 + a8949a6 commit 72e1a47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vedo/addons.py
Original file line number Diff line number Diff line change
Expand Up @@ -4831,10 +4831,10 @@ def add_global_axes(axtype=None, c=None, bounds=()) -> None:
yc = shapes.Disc(x0, r1=rm, r2=rm, c="lg", res=(1, 72))
yc.rotate_x(90)
zc = shapes.Disc(x0, r1=rm, r2=rm, c="lb", res=(1, 72))
yc.rotate_y(90)
xc.clean().alpha(0.5).wireframe().linewidth(2).actor.PickableOff()
yc.clean().alpha(0.5).wireframe().linewidth(2).actor.PickableOff()
zc.clean().alpha(0.5).wireframe().linewidth(2).actor.PickableOff()
zc.rotate_y(90)
xc.alpha(0.5).wireframe().linewidth(2).actor.PickableOff()
yc.alpha(0.5).wireframe().linewidth(2).actor.PickableOff()
zc.alpha(0.5).wireframe().linewidth(2).actor.PickableOff()
ca = xc + yc + zc
ca.PickableOff()
ca.UseBoundsOn()
Expand Down

0 comments on commit 72e1a47

Please sign in to comment.