Problem with Variables & Measurements

Here are my pattern & measurement files:

BuildingPatternsMoularge.sm2d (7.6 KB)

BuildingPatterns.smis (4.2 KB)

Firstly, in the measurements file, I have a formula for the cup size: rint(bust_circ-(lowbust_circ+4.5)) which returns a value of 3.

Next, I made a Custtom Variable that references this Custom Measurement for the Shoulder dart width, which didn’t work, so I made another Custom Variable to get the Custom Measurement value, so that I didn’t need to keep opening the measurements file & triggering the Sync and moved it above the previous one and edited the formula of the shoulder dart to reference this CupS variable.

Here is my CupS formula: @Cup Which returns a value of 3 but in the Calculated Value column, it retunrs a value of 0.375 which is 3/8

Here is my ShoulderDart formula: #CupS=1?(3/8):#CupS=2?(1/2):#CupS=3?(5/8):1 - The idea here is to return a value of 0.625 for the 3 cup size, but it’s returning a value of 0.375, so I think I’ve made some mistake here that I’m not seeing. :cry:

So, please… someone… What am I doing wrong? I thought it was only in the Variables table that this was happening, but it’s also using those values in the pattern.

And it’s getting stranger…

I’ve changed the Custom @Cup measurement to exclude the rounding, so now it returns a value of 2.5. However, when I open the formula wizard, it’s also showing 0.375:

Now I’m really confused.

If I remove the Variables Table items, put back the rounding in the Measurements, and put in a direct formula, then everything works correctly:

I later went & created Variables for another formula and added the cup formulas that I wanted after the new ones, changed the pattern formulas to the new ones & I haven’t had any further problems.

1 Like

Ich habe es bei mir ausprobiert und es hat funktioniert.

2 Likes

3 Likes

Thank you, @Scholli - I can always count on you. It was a very perplexing problem, whiich I managed to correct a bit later. It’s now working perfectly.

Thank you very much.

1 Like