While watching @Grace working on a pattern during the Pattern making Zoom session, I noticed something we’re always having to do when inserting angles of lines… we need to add or subtract 180 deg to get the angle of the line flipped, or need to add or subtract 90 deg to rotate the angle… so I thought to improve the workflow we can automate the process. For the Line Angle and Curve Angle tabs I added an fx-90, an fx+90, and fx-180, and and fx+180 insertion button. So now if you want to add 180 to say line angle AngleLine_A100_A104, you just click the fx+180 and it inserts “(AngleLine_A100_A104 + 180)”
I also moved the “Hide empty measurements” checkbox next to the Filter box where it makes more sense. I aso made the hide checkbox only show when the Measurements tab is selected, rather than greying it out for all the other tabs.
There is one slight anomaly in the Variables table - you could have a Custom Variable or Custom Measurement that represents an angle, and not a length. There’s no way to deduce from a VarType::Measurement or VarType::Variable if it’s legth or angle… unlike the other VarType’s. For ex: if the VarType is VarType::LineLength, we know it’s a length and can say it’s units are (cm) or (inch).
I’m curious as to whether any user has actually used a custom measurement or variable that is an angle value?
Custom measurement as angle, yes, that’s possible where one shoulder is more sloped than the other.
Variables, no, Since you can use line lengths and angles in a variable, I don’t think it will really come up, although I have used it with a Function formula.
and another example where I actually do use a variable as bezier curve constant - it has no units.
What I’m saying is that a Custom Variable could have any defined type of unit or no unit at all, which may not fit the Calculated Value header type of “length” (in the current pattern units of cm or inch). IMO how the Variables Table and FX Editor should display for Custom Variables is no units in the header, and units after each cell item value. That would require adding a "units’ member to the custom_variable class or vinternalvariable base class.
Which BTW…I did add the Value units postfix in the headers…
I often use degree and percentage in the customer variables.
Degree for shoulder angle, butt angle, hip curve angle and also for bust darts.
Percentage for dart length, sleeve head height etc etc.
Honestly i do not care if in the header something mentioned.
Btw
It is a great idea to display the value in the fx-editor. The value was only visible on click