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
Let's say you want to apply x, y, z translations to all the surfaces (or a subset of surfaces) in a problem. Maybe you want to add or remove a transformation card, or maybe you just want to shift things around without transformations.
Various surface types that would need implementations:
Those infinite in the axis of shift (no change to cz or c/z for delta-z)
Those moving only along the axis of shift (do change to c/y for delta-z)
Those that need to change the surface type (change a cy to c/y for delta-z)
Macrobodies
Those with more complicated quadratic equations (plane equations, general surface)
The text was updated successfully, but these errors were encountered:
I don't like saying add a translation to a surface, because that's too close to a transformation. I'd say we need a .translate() method. Making it a verb makes it clearer, but this is pretty in the weeds.
I think we should also add this method to Cell. I think it's sometimes useful to move just one cell, instead of all of them. Though this could lead to double moves. Do we want to detect this and warn users?
I think an incremental phase-in would be best. Hit the low hanging fruit, and throw an UnsupportedFeature error for the others.
How arbitrary do we want to go? Do we want to only support translate_x, etc. Or support translation by a vector, which would then project the translation vector onto the translatable? vector?
Do we want to support rotations? I think 90 degree rotations would be useful. Like changing a CZ into a CY.
In GitLab by @tjlaboss on May 25, 2022, 11:17
Let's say you want to apply x, y, z translations to all the surfaces (or a subset of surfaces) in a problem. Maybe you want to add or remove a transformation card, or maybe you just want to shift things around without transformations.
Various surface types that would need implementations:
The text was updated successfully, but these errors were encountered: