Translations:Sketcher ConstrainSnellsLaw/4/en: Difference between revisions
(Importing a new version from external source) |
(Importing a new version from external source) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
# Prepare two lines to represent a beam of light, and an edge to act as an interface. The lines should be on different sides of the interface. The interface can be a [[Sketcher_CreateLine|line]], an [[Sketcher_CreateArc|arc]], a [[Sketcher_CreateCircle|circle]] or a [[Sketcher_CompCreateConic|conic]]. |
|||
# Select an endpoint of the first line, an endpoint of the second line, and the interface edge. Note the selection order of the endpoints. |
|||
# There are several ways to invoke the tool: |
|||
* Invoke the constraint. A dialog will appear asking for a ratio of indices of refraction n2/n1. n2 corresponds to the medium where the second selected endpoint's line resides, n1 is for the first line. |
|||
#* Select the {{MenuCommand|Sketch → Sketcher constraints → [[Image:Sketcher_ConstrainSnellsLaw.svg|16px]] Constrain refraction (Snell's law)}} option from the menu. |
|||
* The endpoints will be made coincident (if needed), constrained onto the interface (if needed), and the Snell's law will become constrained. |
|||
#* Use the keyboard shortcut: {{KEY|K}} then {{KEY|W}}. |
|||
# The {{MenuCommand|Refractive index ratio}} dialog opens. |
|||
# Enter the {{MenuCommand|Ratio n2/n1}}. Where {{MenuCommand|n2}} is for the medium where the second selected line resides, and {{MenuCommand|n1}} is for the first line's medium. |
|||
# A Snell's law constraint is added. If required the endpoints are made [[Sketcher_ConstrainCoincident|coincident]] and constrained [[Sketcher_ConstrainPointOnObject|onto the interface]]. These additional constraints are called [[Sketcher_helper_constraint|helper constraints]]. |
Latest revision as of 15:26, 23 April 2024
- Prepare two lines to represent a beam of light, and an edge to act as an interface. The lines should be on different sides of the interface. The interface can be a line, an arc, a circle or a conic.
- Select an endpoint of the first line, an endpoint of the second line, and the interface edge. Note the selection order of the endpoints.
- There are several ways to invoke the tool:
- The Refractive index ratio dialog opens.
- Enter the Ratio n2/n1. Where n2 is for the medium where the second selected line resides, and n1 is for the first line's medium.
- A Snell's law constraint is added. If required the endpoints are made coincident and constrained onto the interface. These additional constraints are called helper constraints.