Repository navigation
SkipGradients - #4714
SkipGradients#4714HansOlsson wants to merge 2 commits into
Conversation
I didn't think of that, but it is possible, one would then have to specify that the gradient is applied before the rotation - I don't know if that will cause weird effects for other cases. I'll forward that idea internally. But since the gradient haven't worked as intended for years (or decades) I think just removing them as in this PR would work as well; they cannot be that important. BTW: The idea was to rotate both of the polygons, and I hope we agree that something is needed. |
Right, I missed the cylinder.
Yes, the current look is dreadful :) |
Looking more, I don't think that is right - the large polygon should also have rotated gradient (so that the gradient represent a slightly tilted pipe- where the darker parts are the edges of the pipe). Getting the coordinates right seemed a bit messy. So, just skipping the gradients seems simplest. |
Slightly, but trivial for an LLM. Here you go: |

Split off from #4711
This is for the Modelica.Fluid.Examples.AST_BatchPlant.BaseClasses.TankWith3InletOutletArraysWithEvaporatorCondensor model used in Modelica.Fluid.Examples.AST_BatchPlant and is for the slanted pipe at the top:
This PR intends to get it to look as follows (this is also how it looks like in Dymola 2026x):
Supporting gradients on polygons would instead give (notice the odd gradients for the top-pipe; to me this just looks odd):
I assume the idea was something like the following (using paint) - but that requires gradients along the axis of polygons, which seems quite difficult to support: