Translations:Sketcher ConstrainSnellsLaw/4/en: Difference between revisions

From FreeCAD Documentation
(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:
* You will need two lines that are to follow a beam of light, and a curve to act as an interface. The lines should be on different sides of the interface.
# 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 the endpoint of one line, an endpoint of another line, and the interface edge. The interface can be a line, circle/arc, ellipse/arc of ellipse. Note the order you've selected the endpoints.
# 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

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Sketcher ConstrainSnellsLaw)
# 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:
#* Select the {{MenuCommand|Sketch → Sketcher constraints → [[Image:Sketcher_ConstrainSnellsLaw.svg|16px]] Constrain refraction (Snell's law)}} option from the menu.
#* 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]].
  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 line, an arc, a circle or a conic.
  2. Select an endpoint of the first line, an endpoint of the second line, and the interface edge. Note the selection order of the endpoints.
  3. There are several ways to invoke the tool:
    • Select the Sketch → Sketcher constraints → Constrain refraction (Snell's law) option from the menu.
    • Use the keyboard shortcut: K then W.
  4. The Refractive index ratio dialog opens.
  5. 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.
  6. 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.