Hi all (@jokamm especially)!
I’ve been trying Drafthorse and it’s saving me much time thanks a lot! I seem to have a small issue when printing from PDF layout: my layouts are always cropped, they don’t seem to take into account the Page height and width.
Do you know how to fix this/have any workaround?
@Quentin1, Working on it - there’s a scaling issue when the page is not in inches (PDF printing natively works in inches from what I can tell, and page dims need to be converted).
Thanks for your patience,
Jo
@Quentin1 i think I have it fixed - please update your version of Drafthorse in the Package Manager to 1.0.1 - I tried your file and it now works as expected. Just have to wait and see what else it broke now. Thanks for your feedback & bug report!
@Quentin1 i did notice something that also might be tripping you up in your script - the “Make Layout” and “Print Layout” components both do not respond well to button inputs - this is a quirk of grasshopper that I haven’t been able to work around yet - so in the meantime I recommend boolean toggles instead. If you do press a button to trigger either, it may freeze your canvas. To unfreeze, you can usually click the button again.