Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parametric Text always seems to recalculate everything #69

Open
rwillett1 opened this issue Jun 29, 2024 · 3 comments
Open

Parametric Text always seems to recalculate everything #69

rwillett1 opened this issue Jun 29, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@rwillett1
Copy link

rwillett1 commented Jun 29, 2024

Describe the bug
Fusion 360 sees to recalculate everything a number of times since installing Parametric Text

To Reproduce
Installed Parametric Text V2.3.3 from the Fusion store.
Installs OK.
Running Fusion 360 V2.0.19440 arm 64 [Native] on Mac Min running OS X 14.5
I have 10 Parametric texts on different parts to label them using the same parameters
V{VERSION_ID} {_.date:%y/%m/%d %H:%M} {_.version}
I have unclicked the Run Compute All automatically at the bottom of the window (I have also clicked it).
Now that everytime I change something, Fusion 360 seems to recalculate everything a large number of times.

Expected behavior
Unclicking the traffic light should stop the recalculations.

Screenshots
If applicable, add screenshots or a video (screencast) to help explain your problem.
Take screenshots of any error messages.

Software

  • OS: Mac
  • Fusion 360 version: Fusion 360 V2.0.19440 arm 64 [Native]
  • ParametricText version: [Parametric Text V2.3.3

Do not forget to "Subscribe" to the issue if you want updates!

@rwillett1 rwillett1 added the bug Something isn't working label Jun 29, 2024
@thomasa88
Copy link
Owner

Hi, I think the "problem" might be that Fusion does some recalculations automatically as soon as a text is changed, even if they are not forced using compute all.

Do you experience the same thing happening if you disable ParametricText (Shift+S -> Add-ins -> ParametricText -> Stop) and edit the texts manually directly in the sketches?

Is there any difference if you change the parametric text to not use _.date?

Putting the texts as late as possible in the timeline could alleviate the problem.

@GitHubGoody
Copy link

I'm new to this add on (thank you!), but have noticed this as well. In my case, I have some intentional warnings in my timeline...

image

So, I think that may be exacerbating the issue, but a window similar to this keeps popping up.

ParametricTextErrors

I would like to only see that window if this add on has a warning, not each time Fusion computes all and reminds that there are warnings on my timeline.

@thomasa88
Copy link
Owner

Hmm, that is a bit tricky. The error actually happens in the add-in from the add-ins perspective, as it gets the error when it tries to set the sketch text. And the error type given to the add-in is the very generic RuntimeError, with the string 3 : Short Chamfer / 2 ......

The add-in does not know that it is not the cause of the error. In some cases the text inserted might be too long for the size of the object and the user might want to know that the text was not rendered. At other times, I have seen Fusion bugs throwing errors when trying to set the text and then the cause would not be found if the add-in did not display the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants