In the expression designer, editing a long expression can be difficult

Sequence :

  • create an expression component
  • in the expression edit area, input a long equation (for instance, (-4 * Sin(AA) + Sin(2 *AA) - 4 * Sin(3 *AA) + 2 * Sin(4 AA) + Sin(6 AA))/(2 * (2 + Cos(AA) - Cos(3 * AA)))

Issues :
1 - if the expression is edited on one line, it is impossible to see it as a whole
2 - if the expression is edited on more than one line, the newline is considered as a syntax error
3 - if it is edited on more than one line, it is impossible to resize verticaly the “expression” area (all the real estate is for the “variables” area)

Nota:
My suggestion would be to allow for (2) newline symbols in expression and for (3) vertical resizing of edit area

Software information

Software versions
Rhinoceros version: 5.4 WIP (5E140w)
Rhinoceros path: /Applications/RhinoWIP.app
IronPython version: not installed
WIP expiration: 1 September 2017
Language: en-FR (MacOS default)
macOS version: Version 10.12.5 (Build 16F73)

Plug-ins
None

Third party kernel extensions
org.virtualbox.kext.VBoxDrv (5.0.16) 35F02C29-8027-3636-ACD2-6F171A50C1D8
org.virtualbox.kext.VBoxUSB (5.0.16) BD2570CD-7993-3635-BE1E-FAB977FFBD5C
org.virtualbox.kext.VBoxNetFlt (5.0.16) 2C1775A7-B7A3-32A2-9E8B-951C1B499870
org.virtualbox.kext.VBoxNetAdp (5.0.16) B108642D-2C95-3CB4-8D0B-01F867E60FBF

Hardware information

Computer hardware
Hardware model: MacBookPro9,1
Processor: Intel Core i7-3615QM CPU @ 2.30GHz
Memory: 4 GB
Architecture: Intel 64 bit

Video hardware
Graphics: NVIDIA GeForce GT 650M 512 MB
Memory: 512 MB
Screen size: 1440 x 900
Displays: Color LCD (111dpi 1x)

USB devices
Apple Inc.: FaceTime HD Camera (Built-in)
Apple Inc.: Apple Internal Keyboard / Trackpad
Apple Computer, Inc.: IR Receiver
Apple Inc.: Bluetooth USB Host Controller
Logitech: USB Receiver

Bluetooth devices
None

OpenGL information

OpenGL software
OpenGL version: 2.1 NVIDIA-10.17.5 355.10.05.45f01
Render version: 2.1
Shading language: 1.20
Maximum texture size: 16384 x 16384
Z-buffer depth: 24 bits
Maximum viewport size: 16384 x 16384

Implementation settings
Use texture compression: No

Appearance settings
Antialiasing: 4x
Mip map filtering: None
Anisotropic filtering: None

I see that here. Logged in RH-40484. Thanks for reporting this.

RH-40484 should be fixed in the latest RhinoWIP (5E199w). Please give it a try.

Hello Dan,
I upgraded tp the latest WIP and I have spot the improvement (a bottom slider if I am not mistaken).
thanks & best regards,
thomas

1 Like