You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently noticed a bug in the code concerning the setting of magnetic material properties for #plate objects. When a plate is specified the electric material properties of the #material used are assigned to electric field components that make up the plate, and the magnetic material properties were assigned to incorrect magnetic field components.
Some thought needs to be given on the best design for the code to allow users to separately specify setting material properties for electric and magnetic field components for #edge and #plate objects. For example, as we have seen there is no clear method for setting both electric and magnetic properties on a #plate object. Perhaps separate #plate_electric and #plate_magnetic commands, or a flag on the existing command to indicate electric or magnetic building. This is something we will look into.
This bug would have affected anyone combining a materials with magnetic properties and the plate command.
For now, we have updated the code (c13fbb2#diff-0c31f357656dc5640678b6a63583dee9) to remove the setting of magnetic properties for the plate command (only electric properties are set), which makes its behaviour consistent with the #edge command which only sets electric material properties.
N.B: No volumetric (3D) objects are affected by this issue.
The text was updated successfully, but these errors were encountered:
We recently noticed a bug in the code concerning the setting of magnetic material properties for
#plate
objects. When a plate is specified the electric material properties of the#material
used are assigned to electric field components that make up the plate, and the magnetic material properties were assigned to incorrect magnetic field components.Some thought needs to be given on the best design for the code to allow users to separately specify setting material properties for electric and magnetic field components for
#edge
and#plate
objects. For example, as we have seen there is no clear method for setting both electric and magnetic properties on a#plate
object. Perhaps separate#plate_electric
and#plate_magnetic
commands, or a flag on the existing command to indicate electric or magnetic building. This is something we will look into.This bug would have affected anyone combining a materials with magnetic properties and the plate command.
For now, we have updated the code (c13fbb2#diff-0c31f357656dc5640678b6a63583dee9) to remove the setting of magnetic properties for the plate command (only electric properties are set), which makes its behaviour consistent with the
#edge
command which only sets electric material properties.N.B: No volumetric (3D) objects are affected by this issue.
The text was updated successfully, but these errors were encountered: