SMath Viewer - simple sample

SMath Viewer - simple sample - Сообщения

#21 Опубликовано: 03.05.2013 12:14:20
IVR

IVR

3 сообщений из 15 понравились пользователям.

Группа: User

The example presented above by Ber7 shows clearly one of the main problems of the current version of the SMath Viewer: a user is forced to use two-column interface and forced to use several tabs to make viewer's version of the SMath document compact enough. Currently a user has to input data in the first tab and to switch application to another tab to see results of calculations and/or plots. Most of engineers and nearly all students prefer "what if" style of applications, when input data and results are put together on the same screen (fortunately, today's computers have sufficiently big and wide screens). In such a case it is easier to check and compare results for several possible input data sets.

I must confess, that tabs are very useful in such stand-alone applications. Additional tabs can be used for a Help page, notes, etc. I think, however, it would be nice to be able to have a "wide-screen" viewer with 4- or 6-column interface in the future. Just put today's two-columns pages in one tab, side-by-side.

In any case, IMHO Viewer is extremely useful and important update of the SMath Studio.
#22 Опубликовано: 03.05.2013 12:30:47
Davide Carpi

Davide Carpi

1417 сообщений из 2873 понравились пользователям.

Группа: Moderator

Wrote

Currently a user has to input data in the first tab and to switch application to another tab to see results of calculations and/or plots



It's not true ... the calculation it's made in real-time over each tab, you just need to update the input field value with the tab key (update and move to the next input field) or the enter key (simply update the field) (see the screenshot)


best regards,

w3b5urf3r
SMath Viewer.gif
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#23 Опубликовано: 03.05.2013 13:39:20
Andrey Ivashov

Andrey Ivashov

2271 сообщений из 3734 понравились пользователям.

Группа: Super Administrator

Thank you. I'm agree with IVR, pressing of ENTER after input changed maybe not obvious for some users. I will add a possibility to see current input state (to understand is field updated or not) and to initiate recalculation by mouse. I have some ideas...

Columns. Yes, IVR also right here. I understand the issue and in future versions user will be able to set worksheet columns or even change controls properties (size, location, etc) using some simple designer built-in into SMath Studio. But anyway, I'll do my best to provide the easiest way to generate output applications. Current implementation introduced mostly to show to community another vector of my development. And I hope you enjoy it.
1 пользователям понравился этот пост
Davide Carpi 03.05.2013 13:55:00
#24 Опубликовано: 03.05.2013 13:58:42
Andrey Ivashov

Andrey Ivashov

2271 сообщений из 3734 понравились пользователям.

Группа: Super Administrator

Wrote

  • Andrey, for testing of viewer application it would be very helpful, to have some shortcut for export. This could be a button in the tool bar or a hot key. It could export the sheet to the recently selected format and name (the latter reset upon each change of the sheet name. Ctr-S still would save the sheet as .sm file.


  • If I understood you well, then yes, I will add an option to make it possible to export worksheet with all current changes as an *.sm file. It will be only an option in the File > Properties dialog (2-nd tab) with "false" by default. This is because one of the main ideas of SMath Viewer - ability to protect your source worksheet.

    Wrote

  • currently, the file property settings for author and company are not reflected in the generated exe file. The file manager displays the metadata of the plugin, not of the exported sheet. I guess that changes are limited to the commercial version (which is perfectly ok)


  • Hmm. Author should be specified in file properties. Try to hover output exe with a mouse:


    Wrote

  • I also guess, that the other metadata will some day go to an "About" button of the exported app, won't they?


  • Exactly!

    Wrote

  • It would be nice if the exported app would include only the required plugins. Currently, everything is exported, even those which are disabled in the plugins manager. Advanced users typically have their installation full of stuff, which then blows up even the simplest example apps. An alternative is, of course, to have different installations with different selections of installed plugins. That, however, is hard to maintain consistently. I see, of course, the problem of how to determine the dependencies in multifile plugins just like the maplewrapper or dataexchange. If there is an easy solution, that would be welcome.


  • You're right. I didn't know any common way to determine the dependencies between DLLs in plugin's directory (especially for unmanaged DLLs). But I think I've found a solution already, so in the next versions this will not be a problem anymore.

    Wrote

  • EDIT: The print preview looks like it would show the title or filename but fails to do so.


  • Correct. Will fix it.

    Wrote

  • EDIT: For commercial users might be important to check the print preview, because it contains more information than the app GUI (e.g. covering of variable names and implemented formulas by description strings is lost)


  • Yeah, will think about it. Thank you.

    Wrote

  • EDIT: Does the statement "SMath viewer is free for learning" include teaching in acedemic context?


  • Yes, absolutely.

    Wrote

  • EDIT: How can I change the language setting of the viewer application (e.g. in order to test translated versions)?


  • For now you need to change OS localization setting to test translations. Plan to add additional toolbar button with all available languages listed.

    Thank you, mkraska!

    Best regards, Andrey Ivashov.
    1 пользователям понравился этот пост
    Davide Carpi 03.05.2013 14:06:00
    #25 Опубликовано: 03.05.2013 14:21:45
    kilele

    kilele

    133 сообщений из 397 понравились пользователям.

    Группа: User

    While reading IVR's post I've recalled this one on Bret Victor's ideas about interactive interface design.
    http://en.smath.info/forum/yaf_postsm8240_Change-variable-values-with-the-scroll-wheel.aspx#post8240
    You may find some inspiration by watching some of his videos in youtube like this one

    Complete talk
    http://vimeo.com/36579366
    Maybe you have imagined something like panels of preview small graphs all changing at the same time as the user moves a slider control..to name some of the user interfaces used in Bret's Tangle.
    2 пользователям понравился этот пост
    Andrey Ivashov 03.05.2013 15:23:00, Вячеслав Мезенцев 03.05.2013 16:33:00
    #26 Опубликовано: 03.05.2013 16:22:22
    Martin Kraska

    Martin Kraska

    1222 сообщений из 2150 понравились пользователям.

    Группа: Moderator

    Wrote

    Wrote

  • Andrey, for testing of viewer application it would be very helpful, to have some shortcut for export. This could be a button in the tool bar or a hot key. It could export the sheet to the recently selected format and name (the latter reset upon each change of the sheet name. Ctr-S still would save the sheet as .sm file.


  • If I understood you well, then yes, I will add an option to make it possible to export worksheet with all current changes as an *.sm file. It will be only an option in the File > Properties dialog (2-nd tab) with "false" by default. This is because one of the main ideas of SMath Viewer - ability to protect your source worksheet.



    Andrey, thanks for the detailed response. As for the above issue, I failed to make myself understood. My intention was not to facilitate extracting the source sheet off an application but rather to facilitate the export process from within SMath Studio. Now I have to call the Save as dialog and then choose the excutable format from a long list (if there are many plugins installed). This requires two precision mouse actions, which I hated when I reproduced your formatting steps in the Viewer introduction.

    One might even go further and have a button "run", i.e. export and immediate launch of the app from within SMath Studio.

    It might be sensible to make the "run" button configurable (export format and action to take afterwards)

    As for the metadata: I entered german and english metadata. The german title is "Beispiel" and goes to the window title of the Viewer window (with "- SMath Viewer" appended. The english title goes to the exe file metadata as displaed in the dynamic info pop up (mouse hovering over exe file). Author name and company are set in both languages but have no effect.

    Martin

    viewer.PNG
    Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
    1 пользователям понравился этот пост
    Davide Carpi 05.05.2013 20:18:00
    #27 Опубликовано: 04.05.2013 07:58:16
    Radovan Omorjan

    Radovan Omorjan

    325 сообщений из 2052 понравились пользователям.

    Группа: Moderator

    Hello,

    Here is another simple sample representing checkbox using. It crossed my mind that it would be quite interesting to have the ability to see and change a data matrix from within SMath Viewer.

    z-test

    Regards,
    Radovan


    Z - test for single mean.png
    When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
    1 пользователям понравился этот пост
    Davide Carpi 05.05.2013 05:38:00
    #28 Опубликовано: 04.05.2013 08:59:06
    kilele

    kilele

    133 сообщений из 397 понравились пользователям.

    Группа: User

    Wrote


    Here is another simple sample representing checkbox using. It crossed my mind that it would be quite interesting to have the ability to see and change a data matrix from within SMath Viewer.
    z-test



    Yes, that's the idea of immediate connection to what you are designing/changing.
    Sorry for my insistence, I just think it would be great to have in SMath Viewer some of the gui controls from this reactive document.
    1 пользователям понравился этот пост
    Radovan Omorjan 04.05.2013 09:04:00
    #29 Опубликовано: 04.05.2013 11:31:29
    Fridel Selitsky

    Fridel Selitsky

    520 сообщений из 451 понравились пользователям.

    Группа: User

    Test for Check box


    https://smath.com/wiki/GetFile.aspx?File=Test.rar
    2 пользователям понравился этот пост
    Davide Carpi 05.05.2013 05:38:00, IVR 04.05.2013 17:24:00
    #30 Опубликовано: 05.05.2013 05:25:19
    Davide Carpi

    Davide Carpi

    1417 сообщений из 2873 понравились пользователям.

    Группа: Moderator

    Hi all;

    I noticed a "nonlinear behavior" of the Viewer: when an area is collapsed and protected works as a combination of a collapsed area and a separator; moreover the calculations are broken.


    best regards,

    w3b5urf3r
    unprotected.png
    If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
    #31 Опубликовано: 05.05.2013 17:33:54
    Andrey Ivashov

    Andrey Ivashov

    2271 сообщений из 3734 понравились пользователям.

    Группа: Super Administrator

    Wrote

    I noticed a "nonlinear behavior" of the Viewer: when an area is collapsed and protected works as a combination of a collapsed area and a separator; moreover the calculations are broken.


    Fixed. Thank you!
    2 пользователям понравился этот пост
    Radovan Omorjan 05.05.2013 18:09:00, Davide Carpi 05.05.2013 20:17:00
    #32 Опубликовано: 05.05.2013 18:09:24
    Andrey Ivashov

    Andrey Ivashov

    2271 сообщений из 3734 понравились пользователям.

    Группа: Super Administrator

    Wrote

    currently, the file property settings for author and company are not reflected in the generated exe file. The file manager displays the metadata of the plugin, not of the exported sheet. I guess that changes are limited to the commercial version (which is perfectly ok)


    Fixed. Author and Company is now shown in application meta-data. Copyright item will contain "Copyright © SMath" for free version and "Copyright © " - for commercial.
    Thank you!

    Best regards.
    1 пользователям понравился этот пост
    Davide Carpi 05.05.2013 20:18:00
    #33 Опубликовано: 11.05.2013 07:03:15
    Fridel Selitsky

    Fridel Selitsky

    520 сообщений из 451 понравились пользователям.

    Группа: User

    Examples of finding moment of force
    https://smath.com/wiki/GetFile.aspx?File=MomForrce.rar
    MomForce.gif
    #34 Опубликовано: 17.05.2013 17:28:19
    Davide Carpi

    Davide Carpi

    1417 сообщений из 2873 понравились пользователям.

    Группа: Moderator

    Wrote

    It crossed my mind that it would be quite interesting to have the ability to see and change a data matrix from within SMath Viewer.


    Yes, would be an useful feature
    If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
    #35 Опубликовано: 05.01.2016 05:49:12
    Dr. Parnassus

    Dr. Parnassus

    0 сообщений из 5 понравились пользователям.

    Группа: User

    I enjoy working with the SMath Viewer for recurring work in mechanical engineering.
    As soon as I'm done, I'll translate the worksheet in English.

    The central element of this exe is the Tab 3 "Geometry" because it brings the user close the effect of dimensional change graphically.
    Are there any input or suggestions for improvement?
    I found so far no options for 2D graphs similar to the plug-in of Dr. Martin Kraska to increase the intelligence of the charts (eg. automatic adjustment to scale)

    Thannk you all ad best regards

    Andreas

    Zylinderpressverband_V20.zip (1 МиБ) скачан 115 раз(а).
    #36 Опубликовано: 05.01.2016 22:53:47
    Jean Giraud

    Jean Giraud

    983 сообщений из 6866 понравились пользователям.

    Группа: User

    Originally Posted by: omorr Go to Quoted Post
    It crossed my mind that it would be quite interesting to have the ability to see and change a data matrix from within SMath Viewer.

    Yes, would be an useful feature {Davide]

    ________________________________________

    In one of the "Utilities" posted few months ago, there is an algo that takes :
    function name, the range [then auto range the plot], and parameters.
    That means you can view as many plots as you want with parameters of your choice
    and each plot auto-ranged. The viewer is another story.
    BTW, thanks a lot Davide for rescueing "Budapest39" ... most appreciated.
    I have not tested the length of the data set because of the Sigma summator.

    Jean

    I have added DCT2-II & Idct2-II ... limited to 32 [because of Sigma.
    Will post in few minutes
    #37 Опубликовано: 06.01.2016 01:44:45
    Jean Giraud

    Jean Giraud

    983 сообщений из 6866 понравились пользователям.

    Группа: User

    ... [suite], that's what I meant:
    1. algo style construct, includes individual range,
    2. includes user parameters [no limit]
    3. each "plot set" is an export
    4. you can "nest" the "All" for different style export.

    IMHO, I think the "viewer" can be constructed similarly.

    Jean

    Utilities 2D parameters Algo Ranged.sm (17 КиБ) скачан 123 раз(а).
    #38 Опубликовано: 06.01.2016 09:01:30
    Bence

    Bence

    0 сообщений из 8 понравились пользователям.

    Группа: User

    Hi Andrey,

    The include plugin works fine with free version of SMath Viewer, however if I generate the .exe file using a valid key for paid version, I get error.

    Basically, for free version:

    Цитата

    include("_steel.sm" )=15



    for paid version:

    Цитата

    include("_steel.sm" )=0



    (Thank you for your work on SMath!)
    #39 Опубликовано: 07.01.2016 12:45:50
    Jean Giraud

    Jean Giraud

    983 сообщений из 6866 понравились пользователям.

    Группа: User

    From Martin:

    1. It would be nice if the exported app would include only the required plugins. Currently, everything is exported, even those which are disabled in the plugins manager. Advanced users typically have their installation full of stuff, which then blows up even the simplest example apps. An alternative is, of course, to have different installations with different selections of installed plugins. That, however, is hard to maintain consistently. I see, of course, the problem of how to determine the dependencies in multifile plugins just like the maplewrapper or dataexchange. If there is an easy solution, that would be welcome.
    ________________________________________________
    2. EDIT: The print preview looks like it would show the title or filename but fails to do so.

    *************************************

    [1.] You can't be more right: two many dormant plugins that are red for most of them.
    It may be one of those buggers that freak Smath compute complex .... limits Sigma summator in dct2 [from last night].
    My Smath survives for what it does by itself and luckyly Maple survives too !!!
    In the context "Viewer", I don't even understand what it should do.
    EXAMPLE: That Matrix plugin Excel style => piece of crap, my Matrix treasury does many times more.
    Why ? because it takes Smath results and treats Smath results ++++

    [2.] My "Smath preview" shows: Year/Month/Day Hour/Minutes/Second ... page 1/2, page 1/3 ...

    Cheers to all collabs.

    Jean
    #40 Опубликовано: 07.01.2016 12:52:12
    Jean Giraud

    Jean Giraud

    983 сообщений из 6866 понравились пользователям.

    Группа: User

    Example "Print preview" [in local time]

    7 jan 2016 10:47:12 Scrap de Casteljau.sm
    page 1/2

    • Новые сообщения Новые сообщения
    • Нет новых сообщений Нет новых сообщений