Drafthorse won't scale correctly (probably my fault)

Hi @jokamm,

Really wanted to get Drafthorse working to save some time but for the life of me I cant get the layout + detail view to scale correctly. No matter what values I use the scale never changes. Probably something I’m not doing but I can figure it out. Basically all Im doing is 'importing some dwgs in to edit then setting them up again in Rhino + Layout for exporting. Just attached a basic example.

Thanks!

drafthorse test.gh (6.4 KB)
drafthorse test.3dm (14.8 MB)

Great catch @maitland.casey1 - there was a bug in how I was making the initial detail that kept the scaling method from executing. A new version is up on the package manager with the fix. Thanks for posting!

Hi thanks so much seems to be working so far! Also @jokamm is there a way to print to a png using drafthorse rather than a raster pdf? thanks

sorry another, can you use drafthorse to make locked detail views? So when i create the layout it creates the detail too and locks it as well? Thanks

Hmmm… I could add that as an input option, or as a ToolstripMenu item. @maitland.casey1 Is this something you’d want to set differently for different layouts (generated by the same component), or would you set this as default behavior for the component?

Hello, guys

It seems that plugin has scaling boundaries.

Scaling to 1:1000 (multiplying by 0.001) seems to be the bounding value after which nothing changes.

I am looking for feedback either I do something wrong or it is really bounded. Any ideas?
darbinis.gh (81.5 KB)

@Devonha you are absolutely correct - I put some limiters on scale, not understanding that there would be cases where someone would want values outside of 0.001 to 1000. I’m going to remove those and change it to an error if and only if the scale is less than or equal to 0.
The next version of Drafthorse will include these changes. I’m currently working on some major changes to the components, so that won’t be for a little while. In the meantime, here’s a beta build of Drafthorse that has the updated code. Some of the other components are in flux right now, so LMK if there are other bugs that you notice. FYI I haven’t tested this build extensively, so that’s possible/likely.
DraftHorse_rh8.gha (346 KB)