Opened 7 years ago
Last modified 15 months ago
#4645 closed enhancement
Use blank pixels around lines to enhance readability — at Version 8
Reported by: | massimo ceraolo | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | blocker | Milestone: | 1.22.0 |
Component: | OMEdit | Version: | v1.13.0-dev-nightly |
Keywords: | Cc: |
Description (last modified by )
In MA ticket 2162 there have been a discussion on the diode symbol. The IEC has the disadvantage that an erroneous connection between anode and cathode is hardly visible. Dropping that line solves this, but is against the effort of making Modelica symbols as IEC compliant as possible.
The decision was to keep the IEC symbol.
However it may occur to newbies that a line is inadvertently drawn between anode and cathode. This is crazy but happens. It produces an issue which is difficult to spot.
Dymola solves this using a graphical representation which does some difference between a correct diode and a short circuit diode (Dymola.png)
OMEdit does not make any difference (OM.png).
I think that Dymla simply uses some blank pixels at the sides of connecting lines: in this way the lines are "detached" from any underlying other drawing element.
Is it possible to consider something also for OMEdit?
Not only would this enhance readability of diodes and GTOs, but, more in general, readability of all diagrams in which connecting lines are drawn over other elements.
Important is the case of connecting lines intersections: compare the way intersections are viewed in Dynmola and OM for the file "crossingLines.mo"
Change History (13)
by , 7 years ago
Attachment: | Dymola.png added |
---|
by , 7 years ago
comment:1 by , 7 years ago
comment:3 by , 7 years ago
Description: | modified (diff) |
---|
comment:5 by , 7 years ago
Replying to sjoelund.se:
What's the Modelica code used for the screenshots?
model DIODES Modelica.Electrical.Analog.Ideal.IdealDiode diode annotation (Placement( transformation( extent={{-10,-10},{10,10}}, rotation=90, origin={-12,0}))); Modelica.Electrical.Analog.Ideal.IdealDiode diode_SHORTED annotation ( Placement(transformation( extent={{-10,-10},{10,10}}, rotation=90, origin={12,0}))); equation connect(diode_SHORTED.n, diode_SHORTED.p) annotation (Line(points={{12,10},{12,-10}}, color={0,0,255})); end DIODES;
comment:6 by , 7 years ago
Description: | modified (diff) |
---|
comment:7 by , 7 years ago
Probably what dymola does is just writing at the sides of connecting lines two rows of blank pixels. In this way the lines are "detached" from any underlying other drawing element.
comment:8 by , 7 years ago
Description: | modified (diff) |
---|---|
Summary: | Enhance diode and GTO view → Use blank pixels around lines to enhance readability |
by , 7 years ago
Attachment: | CrossingLines.mo added |
---|
by , 7 years ago
Attachment: | CrossingLinesDYM.png added |
---|
by , 7 years ago
Attachment: | CrossingLinesOM.png added |
---|
I think the MA ticket number is wrong.