V8: Content Cache bake scaling issue

You guys are probably fed up with me but I’m not stopping till I get this right:
Here is the Model Object display vs how it is baked:
PREVIEW:


AFTER BAKING:

Layer Name and object’s colour are correct but what’s wrong with the text scale?

I have attached the sample.
sample.gh (37.9 KB)

@Piotr I see the same in preview here:


can you send a 3dm as well?

Hi Piotr -

As Gijs says, we’d need the .3dm file to be sure, but judging by the images, it looks like your active annotation style in Rhino has a model space scale larger than 1. The preview uses that style with scaling.

Where does the internalized geometry in the Grasshopper file come from, is that the same document as the one that you are baking into?
-wim

this thing of the model space scale is a bit of a dealbreaker :slight_smile:

I would indeed expect the baked text to look exactly like in the preview, because when I’m setting up all the different variables it’s the preview itself that drives my choices

for instance, I setup the Annotation Style to be like this, with Model space scale 20:

on screen preview is fine:

after baking, Model space scale gets reverted to 1:

if I manually bring it back to 20, it’s exactly what was previewed, perfect overlapping:

so I guess the point is:

Baking text → performed using the current Annotation Style, but it does not inherit the current Annotation Style Model space scale

while

Preview → is using the current Annotation Style and also its Model space scale

2 Likes

My apologies for forgetting attaching the 3dm (busy day), but Inno picked up the exact heart of the matter.

I’ve tried recreating this issue from scratch without success so I’m not sure where, exactly, the bug is introduced. I see that the internalized annotations have a font size override (which is respected when baked), but don’t know if it also has a model space scaling override that the override component that fails to identify or if, for some reason, that scale is not respected when baking these annotations. When starting from scratch, the model space scaling is correctly adhered to…

At any rate → RH-85976 Grasshopper: Bake Should Use Model Space Scaling
-wim

The whole text is created in Grasshopper by reading the Keys and Values from external files. Nothing is internalised in the process.
All my text style have model space set to 20:

Geometry preview shows everything correct:

Model object makes the correct display as well:

Baking using Elefront:


Baking using Rhino panel:

V7 is all way correct. What I see as preview is what I get after baking.

I’m on Version 8 SR16 (8.16.25034.21001, 2025-02-03)

you can repeat the issue even with this super basic setup:

dimension_test_file.3dm (39.9 KB)
dimension_test_file.gh (7.1 KB)