Difference between revisions of "How to Use Embedded Math in VTube Float Point Edit Boxes"
(→Constants and Functions Available in Float Point Edit Boxes) |
(→STEP 2 - RADII TAB MENU) |
||
Line 253: | Line 253: | ||
<br><br> | <br><br> | ||
<br> | <br> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=STEP 3 - PRESS the "Resynchronize Radii to Default" BUTTON= | =STEP 3 - PRESS the "Resynchronize Radii to Default" BUTTON= |
Revision as of 22:11, 7 February 2020
This article shows how to use embedded math functions in VTube float point edit boxes.
|
- Back to VTube-LASER
- Back to VTube-STEP
Contents |
The Float Point Edit Box Embedded Calculator
As of version 3, VTube-STEP and VTube-LASER includes an embedded calculator in the float point edit boxes anywhere in the main user interface.
See this example of how it works.
This is the tube before the change. |
|
Choose the LL value in the LRA grid. |
|
Subtract 5.2 like this: |
|
The VTube calculator returns the result in the edit box like this: |
|
Now reverse-calc the data and this is the new tube. |
Constants and Functions Available in Float Point Edit Boxes
The calculator has many built-in constants and functions.
A constant is like the universal value for Pi (pronounced "Pie"). It's fixed value is 3.142.... (and so on).
Type pi and press enter in any float point edit box, and VTube will fill in 3.142.
A function takes one or more values and returns a single result.
Type Length3D(0,0,0,10,10,10) into an float point edit box and VTube will fill in 17.321. This is the 3D distance between the two points - 0,0,0 and 10,10,10.
Here is a list of constants and functions that you can use:
Symbol |
Description |
Example Entry in Edit Box |
Example Result in Edit Box |
+ |
Add |
1 + 1 |
2 |
- |
Subtract |
10 - 5 |
5 |
* |
Multiply |
3 * 6 |
18 |
/ |
Float Point Divide |
3 / 8 |
0.375 |
^ |
Raised to the power |
4 ^ 5 |
1024 |
Sqr |
Square root |
sqr(64) |
8 |
! |
Factorial |
5! |
120 |
Pi |
Returns the constant value referred to as Pi |
Pi |
3.14159265359 |
Length3D |
Returns the 3D length between two 3D points. |
Length3D(0,0,0,10,10,10) |
17.321 |
STEP 3 - PRESS the "Resynchronize Radii to Default" BUTTON
Press the button to change all the radii. |
STEP 4 - PRESS the "F2" BUTTON to REFRESH THE PARAMETRICS
Pressing F2 will refresh the parametric model and show the radius change like this. |
Other Pages
- See VTube-LASER
- See VTube-STEP