From fd34b8ba42dc4887ca13ada6ba9a2247c0e5d986 Mon Sep 17 00:00:00 2001 From: Poisonous <44606407+Poisoned@users.noreply.github.com> Date: Mon, 2 Dec 2024 18:21:30 +0800 Subject: [PATCH] Update addons.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit make yc rotate once; I'm not realy sure delete this clean method or not. But if using this method,it won't show any circle in render window. --- vedo/addons.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vedo/addons.py b/vedo/addons.py index 51b2b40f..47549375 100644 --- a/vedo/addons.py +++ b/vedo/addons.py @@ -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()