Jump to content
Pages for logged out editors
Help about MediaWiki
What links here
Get shortened URL
In other languages
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
fill this in!
__TOC__ ==Formula Wizard== [[File:Gt00013.jpeg|Different choices to use in formulas]] You may use formulas to set segment's lengths and angles in Seamly2D. A formula may contain the following: * constants (integers or decimal numbers) * variables (any of the ones listed in the Tables of variables) * operators ** + for addition ** - for subtraction ** * for multiplication ** / for division ** ^ for raising a number to an integer power (e.g. 3^2 = 9) * algebraic or trigonometric [[functions]] ** sin ** cos **[[Min (function)|min]] **[[Max (function)|max]] ** avg ** fmod Many of the tools in Seamly2D accept formulas as input. To simplify the creation of formulas, these tools use a special dialogue (The Formula Wizard) that lists all the variables you can use. [[File:Input data.png]] Select the desired variable type (e.g. measurements) and double-click on the variable name to include it in a formula field. [[File:List of measurements.png]] Dialog that have more that one formula field don't allow use double-click on the variable name. You should select the variable name and click on button [[File:PutHereLeft.png|caption]] near to the right formula field. You may also type the variable name in the formula, but selecting variables from the list provided is recommended for speed and accuracy. The formula dialogue validates the formula and displays the result shortly after the formula is modified. The dialogue considers the formula valid if the field is not empty and the value can be calculated. If the field represents a length, not an angle, then the value cannot be zero. If the formula is invalid, the dialogue displays an error message. You can find more detailed error message if call tooltip for label with word "Error". ==Specifying Angles== You may specify an angle as a constant number or as a formula. Angles are specified in degrees, where 0 degrees points East and angle values increase in a counter-clockwise direction. [[File:Setting angles.png]]
Please note that all contributions to Seamly2D are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) (see
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
(opens in new window)
Retrieved from "