Skip to content

max_smallaxis of ellipse and minimalist principle / curved guide #2

@mads-bertelsen

Description

@mads-bertelsen

Using the max_smallaxis in combination with other constraints can produce an issue where the elliptic guide with the option is required to be larger than the provided max_smallaxis.

The default value for max_smallaxis is 25 cm, and if for example the starting width of the same ellipse is set higher, the max_smallaxis is increased to accommodate. Problems arise if such constraints are propagated through other modules, for example by the Minimalist Principle or using the curved guide module that can not have different sizes in each end. For example,

"S C(StartWidth=0.1) E(max_smallaxis=0.05)"

Would result in a situation where the start of the elliptic guide is always 10 cm, while the maximum smallaxis is less, resulting in imaginary focal points, often crashing the optimization.

Additional logic is needed to foresee these issues, report errors when they are unavoidable and manage the parameter space appropriately when the errors can be avoided in that way.

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions