Cylindrical Sliding Rule
All  1-4  5-7

Previous
Next
 From:  bemfarmer
8690.5 In reply to 8690.4 
Something like:
StartNum = 1
EndNum = 10
for ( i = 1, i <= 10, ++i )
{
logpt = moi.vectorMath.createPoint( i, 0, 0 );
Save the points in a point factory...Substitue this log array for the linear array in LineWeb.
}

Set up two lines between x = 0 and x= 1, separated by a short distance.
Run modified LineWeb on these two lines.

The line pips for sliderule values 1 through 10 would be at x = 0 through x = 10

Bedtime :-)
- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
8690.6 
Here is a simple script to generate the log base 10 line segments.
u = 1 corresponds to sliderule value of 1, and is located at x = 0.
u = 10 corresponds to sliderule value of 10 (abbreviates to a second 1 at right side.), and is located at x = 1.
Max's _FxGraph3d script needs to be in MoI's command folder.
It was necessary to use the 9 in the formula, to get 10 lines...


_FxGraph3D log(u)/log(10);(v);0;1;10;-0.5;0.5;9;1;0;0;0;U

Instructions for use:
Highlight the _Fx... line.
Press tab
Press Ctrl+V
Press enter.

- Brian

(Values should be checked to make sure that they are correct.)
Points for log(2) and log(3) check out as correct, using _PointCoordinates script. To 5 decimals anyway...

Script works in MoIv3, and MoIv4BetaNov18, 2017

ps, The output should be scaleable to match your base line...

Note, change the Mode to U, for some reason, the first time applied in MoIv3, it comes up UV, may be a bug?
Weird, script comes up in Mode U in MoIv4beta.

EDITED: 21 Nov 2017 by BEMFARMER

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Nicolinux
8690.7 
You rock so hard!
Thanks, it worked perfectly. I now have a bunch of useful scripts/plugins and thanks to you the problem is solved :)



Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-4  5-7