I’m working on a panel in InkScape. I set the height to 128.5mm as per the Panel Guide. I’m trying to account for the presence of screws in the design for the top and bottom of the panel. To do this, I need the height of the screw image.
So I opened ScrewSilver.svg from the Component Library and checked the height of the screw: 3.439mm. However after accounting for this size in my panel, compiling, and checking the render inside Rack, I find that the screw is larger than expected.
So I went back and instead used the document height of ScrewSilver.svg: 3.96846mm (it’s not a nice number in pixels either: 14.99890). It turns out that this is still smaller than the actual rendered height.
I did some poking around in Rack’s code to try to find the right answer, but haven’t been able to find it. What’s the appropriate size to account for?
ScrewSilver.svg was probably produced before I required all SVG files to be in mm instead of pixels. The SVG file should be converted to mm, but then it would need to be rescaled by some factor.
To answer your question more seriously, Im not sure there is a fixed screw head size - make it the size you like that looks somewhat consistent with other people’s modules when rendered in Rack.
Or have a look at some other developers screw SVGs that are made in mm.
Please be careful not to round the heads of the screws off by using an incorrect screwdriver, kitchen knife or scissors, as this could lead to a module being a permanent fixture