I have a project created with the Script Editor in Rhino 8 SR10. I used a .svg file to create icons, and they worked finw in SR10, but when I updated to SR11 and tried to update the icon with a new version, the .svg files do not seem to import correctly.
I made a test with a new project and a test .svg file (here attached), and when I try to open or import it as icon the result is this:
Same here. SR11 ignores .svg files seem to load but they don’t create the icon. I had to resort to png renders of them. SR10 was working fine. I am creating .svg with inkscape (tried all the different flavours: inskcape, plain, compressed)
I hope someone can check this behavior. @eirannejad , is this in your care? Sorry if I mistagged you, but maybe you can point us to the right person for this.
Testing this in the latest, it still imports weird
No, this should work, but it clearly doesn’t.
I checked the PNGs and they import correctly in the latest release, apologies for the frustration.
The SVG does not, even in the latest release. I’ll fix that asap.
I converted my svg’s to 48x48 jpg’s and they still open in the top/left 80% of the window as described above. It would be great if we could just grab the bottom right corner and re-size.
Am I mis-remembering or wasn’t there an automatic scaling tool in some previous version of the icon editor? So, import an svg/jpg/etc of any resolution and it is optimized?
The Image should always open scaled to fit the canvas. (Fixed in SR13)
The image should also have grips so you can scale it (shift locks aspect ratio).
An imported / embedded SVG will not have this behaviour and will be scaled to best fit, but will not have edit grips.
Not yet no sorry, if you download 8.11 you can set Rhino to install SRC and that will let you try out the latest which would be 8.12, 8.12 will be out in due course. Just letting you know fixes have been made.
Will it be integrated in the next R9 WIP release? I use shared .RUI(s) for V8 &9, so then I can fix it in WIP and not have to wait for V8.13 sometime in Nov or Dec.
Yeah, about that… I’m afraid I’m the bearer of bad news
I’m on SR12 and, while my previous test image now imports correctly, the actual image I want to use as an icon does not. This is what happens when importing or opening a 48x48:
@ale2x72 , @Iván_Pajares_Sánchez , @declan , @Ja-Ka , could you test Rhino 8.13 with your icons. I have tested every icon in every thread on win/mac and they all display, import and can be resized correctly in 8.13 (for me), which tracks with all the bugs I’ve filed and fixed from these thread. If something doesn’t work for you, then I was unable to reproduce it, and I’ll need to look deeper into it.
Apologies again for the problems and I really appreciate you sticking with me.