• Welcome to World Machine Community. Please login or sign up.
 
May 21, 2019, 04:31:27 am

News:

Read the Development Diary for an inside look at World Machine's progress!


Allow simple math in number fields

Started by duke54, March 05, 2016, 09:34:46 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

duke54

In many 3D packages you can enter basic math (add,subtract,multiply,divide) into a number field to compute a result, and this would be very handy in WM :)

jgwinner

What about scalar arithmetic? You can calculate a number and plug it into the field.

Or do you mean in the field itself? I think you'd do that with the above method.

Let me know if you need more info.

== John ==

sfriedberg

He means in the field itself.  So instead of being limited to numeric literals, fields would accept simple arithmetic expressions, evaluate them and use the result as if you had entered that literal value.  Not talking about "live" expressions.

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S save/post or ALT+P preview