MoI discussion forum
MoI discussion forum

Full Version: Cycloid curve

Show messages:  1-17  18-37  38-40

From: bemfarmer
25 Sep 2018   [#38] In reply to [#37]
Thank you Michael

That works.
Unfortunately, the values of aRadius and bRadius are now set to zero, in MoI4, but are ok in MoI3 :-)
?

- Brian
From: Michael Gibson
25 Sep 2018   [#39] In reply to [#38]
Hi Brian,

re:
> Unfortunately, the values of aRadius and bRadius are now set to zero, in MoI4, but are ok in MoI3 :-)

That's a bug in v4 with handling whitespace characters in the default value. If you remove the line break for the default="" attributes that should avoid the bug right now.

So where you currently have:

code:
			<tr>
				<td>aRadius</td>
				<td><input id="aRadius" class="numericinput" default="10
				" style="persist:true;"></td>
			</tr>


Remove the line break like so:

code:
			<tr>
				<td>aRadius</td>
				<td><input id="aRadius" class="numericinput" default="10" style="persist:true;"></td>
			</tr>



I'll fix it up for the next v4 beta, thank you for reporting it.

- Michael
From: bemfarmer
25 Sep 2018   [#40] In reply to [#39]
Thank you Michael.
The script is working again in MoI4, and continues to work in MoI3.

The white space was introduced unintentionally, while removing decimals, a day or so ago :-)
...5 or 6 or so decimals were causing occasional shift of the htm screen to the left, a fraction of an inch, in MoI3, but not in MoI4...

- Brian

The _CycloidTrochoid script is now updated, a few posts back.

Show messages:  1-17  18-37  38-40