Jump to content

Custom tool and PIO icons


Recommended Posts

Hello, I want to create a custom tool icon using a symbol that I have drawn. However, every time I try to upload an image as an icon it shows an error that says the file size must be 26x20 and 70 dpi. My question is what is the best way to go about creating an icon? 

Link to comment
  • 2 months later...

@Jesse Cogswell, @Pat Stanford I have reattempted to make an icon and this time I tried to make .svg files for them. I used Inkscape (thank you for the suggestion) and set the document size to 26x20 pixels with a 72 dpi. I have created both a regular .svg file and an inverted _dark.svg file. I have made some notable progress in that now instead of a red x there is just a grayish square 🤣. I have also tried switching to light mode which just shows as a lighter grayish square.

 

I gave up on images and just tried simple text next for the icon image and attached screenshots of the "icons" since I couldn't attach .svg. I made the black text the regular icon and the purple the _dark file. 

 

Do you have any idea what is going on? I have probably 9 or 10 custom plug ins and am sick of just seeing the little wrench icons but cannot figure this out for the life of me.

Screenshot 2024-07-09 121029.png

Screenshot 2024-07-09 120908.png

Screenshot 2024-07-09 121637.png

Screenshot 2024-07-09 121601.png

Link to comment

Would you mind attaching the .svg files and I'll see if I can get them to work on my machine?  I haven't used Inkscape much (I gave up on it for my icons since it can't do EPSF import), but I remember Illustrator being fussy about setting up the artboard size to match the icon size.

Link to comment

I figured it out, it seems that I was using a .png inside of the .svg file and needed to create a bitmap out of the .png to make it work. I haven't tried the .dxf method yet but I think I will just export from vectorworks as a .png and use inkscape to create a bitmap of the .png and use that for my icon image. Thank you guys for helping me figure this out, it has been bugging me.

Link to comment
  • Vectorworks, Inc Employee

@TurtleBuilds you might be better off just recreating your icon in Inkscape and exporting to SVG. If you're not bothered about aligning with the pixel grid, SVG is the better option as it wil support any sizes you end up with, due to UI scaling on Mac or desktop scaling on Windows. Unless this is purely utilitarian and you're not bothered about the look...

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...