-
Notifications
You must be signed in to change notification settings - Fork 176
Automatically set LinePattern.None instead of solid lines for gradients #4711
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
base: master
Are you sure you want to change the base?
Conversation
|
Note that some of them already had this. |
maltelenz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why? The link does not explain why this change would be something you want.
Why wouldn't you be allowed to have a line around a shape with a gradient?
|
I'll gladly review the effects in System Modeler when you consider it ready! |
|
Note: Will need to make a separate PR for |
|
Partial verified list of changes: Duplicated lines, which makes it obvious that border for the gradient-shape should be skipped:
Others that I think are improvements without border:
Will skip after review - the change wasn't "wrong" but there were other issues:
Skipping spherical for ellipses (and a few rectangles), since it is mostly redundant and tools that don't have gradient at line-color at the circle radius will benefit:
|
Modelica/Magnetic/QuasiStatic/FundamentalWave/Losses/PermanentMagnetLosses.mo
Outdated
Show resolved
Hide resolved
Polygons that are not exactly level shouldn't use cylinder-gradient.

Set LinePattern.None for shapes with gradients.
See: modelica/ModelicaSpecification#3789