ScriptEditor Icon editor is completely broken

@eirannejad

Drawing or importing icons to a main plugin icon is completely broken.

I had a similar issue, was trying to update some icons with SVG files and had issues in 8.10, 8.11, and 8.12 versions. I did have some luck using an older version 8.6, so if you can get an older install, that might work. Sorry I don’t have a link for the download.

Had the same issue. Had to just export all my .svg as .png for now until it is fixed.

Good for you that png works mine are always 50.% scaled no matter 48 or 24 px.

I noticed this as well in recent builds. Oddly 512x512 .pngs work for me. Other sizes scale or shift off center.

1 Like

Hello all,

I’m really sorry for your issues, I did a lot of fixes for images/imports and I thought I had nailed all of the issues down in 8.12 so that importing anything should be seamless.

Hey @Petras_Vestartas can you drop a SystemInfo for me?
And can you expand on “broken”? More info about the issues so I can log them as bugs and get them fixed would be great :slight_smile:

I see your PNGs are always scaled 50%? That’s odd. Can you drop an example of a png here that doesn’t work?

And here you say you can’t import SVGs?

Can you drop an example of that SVG here?
Does the svg not import at all? You can’t edit it?

Hey @Clark_Cheng can you also drop a systeminfo and some examples of things that fail? Again, apologies!

@michaelvollrath can you drop some examples here too? Again, apologies!

Was having this issue as well. Export your .png at 96x96 and itll come in at the correct scale!

Hi,

They would show it imported but never got added to the project.

Also attached sysinfo.

LayoutNames
MoveToNewLayer
sysinfo.txt (2.1 MB)

1 Like

None of these icons are scaled correctly:

compas_wood_icon_b
compas_wood_icon_b|0x0
compas_wood_icon_w

Rhino 8 SR12 2024-10-1 (Rhino 8, 8.12.24275.15001, Git hash:master @ 032417c320544fc68e36107bfa74f69d316f7c45)
License type: Educational, build 2024-10-01
License details: Cloud Zoo

Windows 11 (10.0.22631 SR0.0) or greater (Physical RAM: 31GB)
.NET 7.0.0

Computer platform: LAPTOP  - Unplugged [20% battery remaining] ~19 minutes left

Hybrid graphics configuration.
  Primary display: AMD Radeon(TM) 610M (AMD) Memory: 1GB, Driver date: 5-28-2024 (M-D-Y).
    > Integrated accelerated graphics device with 2 adapter port(s)
        - Windows Main Display is laptop's integrated screen or built-in port
  Primary OpenGL: NVIDIA GeForce RTX 4070 Laptop GPU (NVidia) Memory: 8GB, Driver date: 11-30-2023 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 546.30
    > Integrated accelerated graphics device with 4 adapter port(s)
        - Video pass-through to primary display device

OpenGL Settings
  Safe mode: Off
  Use accelerated hardware modes: 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: 11-30-2023
  Driver Version: 31.0.15.4630
  Maximum Texture size: 32768 x 32768
  Z-Buffer depth: 24 bits
  Maximum Viewport size: 32768 x 32768
  Total Video Memory: 8188 MB

Rhino plugins that do not ship with Rhino
  C:\Program Files\Rhino 8\Plug-ins\RhinoCAM 2023 for R8\RhinoArt1FileExporter For Rhino8.0.rhp	"RhinoArt1FileExporter"	

Rhino plugins that ship with Rhino
  C:\Program Files\Rhino 8\Plug-ins\Commands.rhp	"Commands"	8.12.24275.15001
  C:\Program Files\Rhino 8\Plug-ins\rdk.rhp	"Renderer Development Kit"	
  C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp	"Rhino Render"	8.12.24275.15001
  C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp	"RDK_EtoUI"	8.12.24275.15001
  C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp	"Snapshots"	
  C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp	"MeshCommands"	8.12.24275.15001
  C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp	"RhinoCycles"	8.12.24275.15001
  C:\Program Files\Rhino 8\Plug-ins\RhinoCode\RhinoCodePlugin.rhp	"RhinoCodePlugin"	8.12.24275.15001
  C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp	"Toolbars"	8.12.24275.15001
  C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp	"3Dconnexion 3D Mouse"	
  C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp	"Displacement"	
  C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp	"SectionTools"

Here is scale 4 times smaller even the large view looks correct, but it is not:

1 Like

Thanks @Petras_Vestartas and @Clark_Cheng,

I’ll take a look at these and figure out whats what

1 Like

Tried with illustrator icons works with svg, other techniques such as inkspace not also not .png.
The editor is really hard to use. I wish there would be just a path to .svg or png. But I guess you have issues with screen problems from development.

@jcparks , @Clark_Cheng , @michaelvollrath can you try Rhino 8.13 and let me know if you still have issues? I tested the icons in this thread and they all imported correctly on win/mac, if they still don’t for you, I’ll need to look deeper into it.

I tried your icons @Petras_Vestartas , the first opens fine. The second doesn’t, I’m not sure why, firefox also seems to have issues with it as does my affinity designer.
The 3rd does import full size, but the bounding box is wrong.

I think it might be this issue here → https://mcneel.myjetbrains.com/youtrack/issue/RH-84122

Thank you. How about .png formats?

1 Like

png/jpg/bmp should work without issue