Core API: MultiLayer: redesign to support repetitions.
|Status:||Backlog||Start date:||06 Apr 2020|
New Reflectometry GUI prototype allows creating convenience multi-layer structures with repeating internal content (task: repeat bi-layer n. times). However, we do not have corresponding functionality on the Core side.
Within this issue, investigate Refnx for inspiration, and suggest new MultiLayer API.
I vaguely remember Refnx also has a way to add multiple slicing with material gradient. Did you see something like that? We probably have to take this into consideration too, while designing API. I mean, no need to implement it simultaneously with the LayerStack (or whatever will be on its place), but the design should allow easily to have it in the future.
#8 Updated by rbeerwerth 5 months ago
- File RepeatingLayersAPI.pdf added
I looked into the API for Slicing, which is also used to calculate arbitrary interface profiles. I updated the pdf, even though these two issues are imo not too related, and would probably be mostly independent. Implementing material profiles and slicing would interfere with the existing slicing machinery though.
Or do you mean something else by "material gradient"?