I set the SU viewport to 512 X 512 then frame the model of the icon I’m wanting and export to pdf with a line weight of 5…
I convert to SVG using a command line tool…
I also save a png…
# to handle the new file formats for toolbar images...
ext = '.png'
ver = Sketchup.version.to_i
if ver >= 16
osx = Sketchup.platform == :platform_osx
ext = osx ? '.pdf' : '.svg'
end
# and at the appropriate place
cmd.large_icon = cmd.small_icon = File.join(path, 'Resources', 'images', "#{NAME}#{ext}")
sine_circle.pdf (16.2 KB)
john