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)

Hey @jokamm I am wondering if you can update this for rhino 7.0 as I am struggling to get text to stay the same size as vector items or raster items such as meshes and lines.

I would really appreciate it!

@jokamm what s your advise when using text and geometry, when using layout at a certain a scale. For instance, when i have a mesh and text entity at certain size, and print them to pdf at 1:1 all works fine, but when at scale down or up to 1:10 or 10:1, the resulting text in the printed pdf is not scaled to match the input, it is stil at 1:1 scale. Quess it has to do with font model size.

So currently I am adjusting the text size to match this, but this has the negative downsize that the text doesn’t show at the correct scale in the layout / detail view before printing. Also I noticed when i explode the text entity to make crv’s and then print those curves as vectors, the resulting characters are disformed. A possible work around i can think is to cache them all to rhino first before printing. Can you share a approach that works well? I using latest build for R8

@crz can you post some example files? there’s some part of this that may be related to the units that you are working in, but otherwise I’d have to try it out to see what’s going on.

fixed it, by using text entity instead of exploded text to curves. And additionally set drawing order to +1 as it was partically hidden by hatches on export what had some order

1 Like