BUG: Edit Toolbar Button Crashes Rhino

I made a nudge button !
Setting Nudge steps for Meters and Millimeters

Discovered some bugs and weird issues:

  1. When editing the Macro or the image, Rhino crashes when i hit “apply”

  2. I can get the button edit to work, by deleting the old one, and make a new one, by filling in the edited content in the Button form.

  3. BUT … now the _Direction interchanges between _Cplane and _View, when i either left click or right click

So the button is kinda useless, because i can not really be sure what direction is set, and I would have to open Settings>ModelingAids>Nudge and make sure the Nudge Direction is set to “Use View Axes” and then it would change again, next time i use the button…

Please check this bug out, thanks :slight_smile:

Here are the Macros, (Thanks to @Helvetosaur )
You can set your own preferred steps in the macro
(well , maybe not, if the bug is still on :rofl:)

I have tried to upload a nice SVG icon, but apparently its not possible to show SVG files ?

Meters

NoEcho ! _-Options
_ModelingAids _Nudge
_AltPlusArrows=_No
_Direction=_View
_Step=0.1
_ControlStep=0.01
_ShiftStep=1.0
_EnterEnd

Millimeters

NoEcho ! _-Options
_ModelingAids _Nudge
_AltPlusArrows=_No
_Direction=_View
_Step=100
_ControlStep=10
_ShiftStep=1000
_EnterEnd

( Nudge Icon )

Hi all,

I have the same issue when I try to edit a button.
See the screenshot above, Rhino crashes when “Accepter” is clicked :

Current version installed is : Version 8 SR15 (8.15.25019.13001, 2025-01-19)

@ohlers did you solve the problem ?

Yes I did. At least it works now :slight_smile: I dont remember if it was via update.
(I am on Mac Version 8.15.25019.13002, 2025-01-19)

The only issue now is that when I click the button, it toggles the nudge-direction between C-plane and View.
The Macro should set it to View, so I dont know why it toggles ?

1 Like

Hi, same problem here on 8.15.25019.13001, 2025-01-19 (Win 11)
Like @N.L I just call a .py file and I need to change directory.
It crashes every time I hit “Accepter”… I have send the report.
@N.L Any success ?

Same problem here, anyone got something?

@Ronan.P is that with any python file?
Can you send the python file you are trying to run?
@Clara_Andrezzo
Pls run _SystemInfo in Rhino and post back the results. Are you also running a Python file?

Rhino 8 SR15 2025-1-19 (Rhino 8, 8.15.25019.13001, Git hash:master @ 74164bdf5469c2f269746857c54b8c44b74c7b24)
License type: Commercial, build 2025-01-19
License details: Cloud Zoo

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 64GB)
.NET 7.0.20

Computer platform: LAPTOP - Plugged in [100% battery remaining]

Hybrid graphics configuration.
Primary display: Intel(R) UHD Graphics (Intel) Memory: 2GB, Driver date: 9-13-2024 (M-D-Y).
> Integrated graphics device with 4 adapter port(s)
- Windows Main Display is laptop’s integrated screen or built-in port
Primary OpenGL: NVIDIA RTX A4500 Laptop GPU (NVidia) Memory: 16GB, Driver date: 9-2-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 553.05
> Integrated accelerated graphics device with 4 adapter port(s)
- Secondary monitor is laptop’s integrated screen or built-in port

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
GPU Tessellation is: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPU’s maximum)

Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 9-2-2024
Driver Version: 31.0.15.5305
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 16 GB

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.15.25019.13001
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.15.25019.13001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.15.25019.13001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.15.25019.13001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.15.25019.13001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.15.25019.13001
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp “SectionTools”

@gijs For me, when I try to edit anything on the button, Rhino closes. I tried on another device and another license and the same thing happened. I’m directly on Rhino and I’m not using Python.

Yes, it does the same with the 2 files I’m using.
It work fine on the machine with witch I made the button, once I open the .rui file on another machine and try to change the path in the button editor, it crashes on saving.
It does also crash on the original computer I made the button with on path modification.
Here are the python file I’m calling.
1Layout1PDF.py (1.9 KB)
TableFromMultiLayout.py (6.2 KB)

@Ronan.P so it is most likely not the script itself then, could you send me the .rui file that you open on the other computer that crashes when you edit a button?

@Clara_Andrezzo do you mean, trying to edit ANY button from the default buttons crashes on your end?

So far I could not reproduce this in 8.15.25019.13001 :-/

@Ronan @Clara_Andrezzo @N.L
Can you run _Reset and click the “Save settings for support” button and send the resulting zip to me (in a personal message)
thanks

I have the same problem in 8.15.25019.13001 and it crashes with every butten, even when only changing the appearance from Inherit from tab to Image only (and the tab appearence is Image only anyway)


when I press ok it crashes, even without editing, is a button that I created

@Clara_Andrezzo I hope you’ve sent in that crash report. I managed to crash Rhino with the settings file that @Ronan.P sent, though it crashed differently. It would be very helpful if you could send your settings zip as well.

This issue is resolved in 8.16 and might be related
RH-85305 Toolbar: Crash when editing toolbar button

@Ronan.P @N.L @Clara_Andrezzo See if the Rhino 8.16 Release candidate fixes this issue for you.

1 Like

Hi, 8.16 did solve the issue for me.
Thank you very much !

1 Like

@Ronan.P that’s good to hear, thanks for reporting back!

Hi Gijs, it’s solved for me too with 8.16. Thank you for resolving it quickly !

1 Like