Updates to the MoI API of David C Morrill
 1-7  8-27  28-47  48-53

Previous
Next
 From:  bemfarmer
10857.48 
A minor typo in the MoI_v5_API_Documentation.htm file:

Under the ViewPanel class: Note that "bottom" is shown twice, but the second "bottom" should be "back"

Methods
Name Result Arguments
getViewport Viewport
string viewportName
Return the Viewport object for corresponding to the specified viewportName. The legal values for viewportName are:

3d
top
bottom
front
****bottom****
right
left
Note that top and bottom refer to the same viewport. The same is true for front, back and right, left.
*************
I added the BlueFlask icon to the current v5Beta, ui.icons,
and added the API documentation to MoI AppData file under moi_ref directory,
and also modified ui.sidepane to add BlueFlask icon, and have the icon call the API documentation:
code:
<table>
    <tr>
        <td>
            <moi:CommandButton icon="icons/HistoryIcon.png" command="history"><moi:text textid="History"/></moi:CommandButton>
        </td>
        <td>
            <vcenter>
                <moi:CommandButton
                    icon="icons/API_Icon.png"
                    onbuttonclick="moi.filesystem.shellExecute( moi.filesystem.getAppDataDir() + 'moi_ref\\MoI_v5_API_Documentation.htm' );">
                        API ref
                </moi:CommandButton>
            </vcenter>
        </td>
    </tr>
</table>


- Brian

EDITED: 12 Oct 2024 by MICHAEL GIBSON

  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
10857.49 
Well, the edit function for the previous post quit working.
The code block does not like some symbols, and half of the code block disappeared.
Maybe just delete the "BlueFlask" portion of the post?

- 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:  Michael Gibson
10857.50 In reply to 10857.49 
Hi Brian, I reformatted the code block, is that ok now?

- Michael
  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
10857.51 In reply to 10857.50 
Thank you Michael.

Most of the code block is correct, but the two "table" code lines need to be removed.
(The lower "table" line is in the correct position, but the upper "table" line is many lines further up in the SidePane.htm code.)

I think that my mistake was failure to use the correct code block symbols initially, posting, and then trying to edit in the corrections. (?)

- 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:  pressure (PEER)
10857.52 In reply to 10857.48 
Hi Brian,

Thanks for pointing out the typo. It's been fixed and various new curve methods have been added. See post above for files

https://moi3d.com/forum/index.php?webtag=MOI&msg=10857.36

- Peer
  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:  bemfarmer
10857.53 In reply to 10857.52 
Thankyou Peer, for your work!

- 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
 

Reply to All Reply to All

 

 
 
Show messages:  1-7  8-27  28-47  48-53