SMath Viewer - simple sample

SMath Viewer - simple sample - Messages

#1 Posted: 5/1/2013 4:31:52 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello,

This is a simple SMath Viewer file (only a screenshot, it is an EXE file). Just a playing with the fresh, new SMath 0.96

Regards,
Radovan
probaexe.sm (5 KiB) downloaded 272 time(s).
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
1 users liked this post
Davide Carpi 5/2/2013 4:44:00 AM
#2 Posted: 5/1/2013 5:14:17 AM
Andrey Ivashov

Andrey Ivashov

2271 likes in 3734 posts.

Group: Super Administrator

Great!

Radovan, some tips:

  • Try to add Separator Regions with titles specified (the first one can be added as a first element on the top of the worksheet);
  • Try to add Area (expanded) and put some elements between start and end Area lines;
  • Try to set Title of the worksheet using File > Properties.

    Best regards.
  • 1 users liked this post
    Davide Carpi 5/3/2013 1:57:00 PM
    #3 Posted: 5/1/2013 5:27:25 AM
    Andrey Ivashov

    Andrey Ivashov

    2271 likes in 3734 posts.

    Group: Super Administrator

    Sample from me: Embedded Plate.

    Tips:
    - Try to double click on the plate on the first tab and change number of anchors.
    #4 Posted: 5/1/2013 5:47:51 AM
    Radovan Omorjan

    Radovan Omorjan

    325 likes in 2052 posts.

    Group: Moderator

    Wrote

    Great!

    Radovan, some tips:

  • Try to add Separator Regions with titles specified (the first one can be added as a first element on the top of the worksheet);
  • Try to add Area (expanded) and put some elements between start and end Area lines;
  • Try to set Title of the worksheet using File > Properties.

    Best regards.



  • Nice

    Regards,
    Radovan
    probaexe2.png
    When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
    #5 Posted: 5/1/2013 5:55:43 AM
    Radovan Omorjan

    Radovan Omorjan

    325 likes in 2052 posts.

    Group: Moderator

    Amazing
    Wrote

    Sample from me: Embedded Plate.

    Tips:
    - Try to double click on the plate on the first tab and change number of anchors.



    That's very impressive

    You have plots, numbers, results, units...

    Andrey, I hope you will explain to us how did you do that. And where the "Export to AutoCAD" is from ?

    Regards,
    Radovan
    When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
    #6 Posted: 5/1/2013 6:13:04 AM
    Martin Kraska

    Martin Kraska

    1222 likes in 2150 posts.

    Group: Moderator

    Interesting feature!

    Limitations/features, that seem to exist:
    - 2D plot areas can just be panned (translated), mouse wheel action for zooming is disabled.
    - Print preview does not handle uni's xy-plots correctly (or vice versa)


    exedemo1.PNG
    Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
    #7 Posted: 5/1/2013 6:31:29 AM
    Radovan Omorjan

    Radovan Omorjan

    325 likes in 2052 posts.

    Group: Moderator

    Hello Martin,
    Wrote

    - Print preview does not handle uni's xy-plots correctly (or vice versa)


    I also experienced some problems with preview of uni's XYplot even in the SMath worksheet (not EXE like this one). Sometimes only the right hand side is not visible (in the case of double Y axis, for instance, the Y2 axis label is not visible) and sometimes -like in your example- almost all the plot area is not visible (it seems only the upper left part is visible).

    Regards,
    Radovan
    When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
    #8 Posted: 5/1/2013 7:54:30 AM
    Вячеслав Мезенцев

    Вячеслав Мезенцев

    1402 likes in 1708 posts.

    Group: Moderator

    Wrote

    Hello Martin,

    Wrote

    - Print preview does not handle uni's xy-plots correctly (or vice versa)


    I also experienced some problems with preview of uni's XYplot even in the SMath worksheet (not EXE like this one). Sometimes only the right hand side is not visible (in the case of double Y axis, for instance, the Y2 axis label is not visible) and sometimes -like in your example- almost all the plot area is not visible (it seems only the upper left part is visible).

    Regards,
    Radovan



    Fixed.
    Russia ☭ forever, Viacheslav N. Mezentsev
    1 users liked this post
    Radovan Omorjan 5/1/2013 8:08:00 AM
    #9 Posted: 5/1/2013 8:09:16 AM
    Radovan Omorjan

    Radovan Omorjan

    325 likes in 2052 posts.

    Group: Moderator

    I think I figured out few more things

  • The File|Properties|Title will be the Window name
  • If the variables have their description, that text will be displayed instead of variable name
  • If something we do not want to be shown we will put it in the collapsible area and keep it collapsed
  • By naming separators wee will get additional tabbed presentation

    I hope I am right about all of this and suppose there are some more features regarding the Viewer.

    Regards,
    Radovan
    SRK1.png
  • When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
    1 users liked this post
    #10 Posted: 5/1/2013 11:59:51 AM
    kaka

    kaka

    1 likes in 25 posts.

    Group: User

    Wrote

    Hello,

    This is a simple SMath Viewer file (only a screenshot, it is an EXE file). Just a playing with the fresh, new SMath 0.96

    Regards,
    Radovan



    This is amazing, what is a pity I cannot use it in my work because it has no for commercial use.
    #11 Posted: 5/1/2013 12:29:35 PM
    kilele

    kilele

    133 likes in 397 posts.

    Group: User

    YEE HAAA!! Very amazing feature!! thanks guys. I always get into this forum in optimistic mode.
    I'll try to test this new version in some Linux distros made in Russia (Point Linux, Rosa) as well as SolusOS and CentOS.

    As for the new comercial issues, I may be wrong but I think it only involves the exes made by SMath, that is you are not expected to sell these softwares. That would not affect the documents elaborated with SMath.
    #12 Posted: 5/1/2013 6:25:13 PM
    kaka

    kaka

    1 likes in 25 posts.

    Group: User

    Wrote

    YEE HAAA!! Very amazing feature!! thanks guys. I always get into this forum in optimistic mode.
    I'll try to test this new version in some Linux distros made in Russia (Point Linux, Rosa) as well as SolusOS and CentOS.

    As for the new comercial issues, I may be wrong but I think it only involves the exes made by SMath, that is you are not expected to sell these softwares. That would not affect the documents elaborated with SMath.



    I don't think I will make a software with this and sell it to someone on the market. All I need is to make a customized calculator for other colleagues in the company. It is not sell relative but it helps the engineering development.
    #13 Posted: 5/1/2013 7:56:12 PM
    Andrey Ivashov

    Andrey Ivashov

    2271 likes in 3734 posts.

    Group: Super Administrator

    Wrote

    Andrey, I hope you will explain to us how did you do that. And where the "Export to AutoCAD" is from ?


    This is another plug-in. Unfortunately I'm not ready to share it with community right now, but maybe later... Sorry for it.

    Best regards.
    2 users liked this post
    Radovan Omorjan 5/2/2013 2:55:00 AM, Davide Carpi 5/2/2013 4:44:00 AM
    #14 Posted: 5/2/2013 3:05:03 AM
    Radovan Omorjan

    Radovan Omorjan

    325 likes in 2052 posts.

    Group: Moderator

    Hello Andrey,

    Thank you for the explanation of SmathViewer.

    It seems that Ber7 amazing animations can be now put into the Viwer files . I think there should be a particular area here on the Forum with those things like Ber7's animations in the form of SmathViwer files. I hope this is all right with you.

    By the way, I could see in your examples that you have a field with dropdown list of values. How did you do that?

    Regards,
    Radovan
    When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
    #15 Posted: 5/2/2013 4:28:52 AM
    Andrey Ivashov

    Andrey Ivashov

    2271 likes in 3734 posts.

    Group: Super Administrator

    Wrote

    Thank you for the explanation of SmathViewer.


    You are very welcome.

    Wrote

    By the way, I could see in your examples that you have a field with dropdown list of values. How did you do that?


    For demo purposes I've created two plugins:
    - ComboBox Region
    - CheckBox Region

    They are not ideal for now in Studio, but they allow to make Viewer apps more powerful. Plug-ins attached.

    Best regards, Andrey Ivashov.
    plugins.zip (11 KiB) downloaded 171 time(s).
    5 users liked this post
    Radovan Omorjan 5/2/2013 4:57:00 AM, Fridel Selitsky 5/2/2013 5:28:00 AM, Oscar Campo 5/2/2013 10:42:00 AM, Mikka 5/3/2013 6:57:00 AM, Davide Carpi 5/2/2013 4:44:00 AM
    #16 Posted: 5/2/2013 6:36:10 AM
    Radovan Omorjan

    Radovan Omorjan

    325 likes in 2052 posts.

    Group: Moderator

    Hello Andrey,

    Almost figured out with the combobox
    I figured out that the Variables can be range variables (maybe a vector).

    [albumimg]95[/albumimg]

    Can not figure out how to see the units in it. . I suppose there might be some "trick" about it.

    By the way, descriptions for both plugins are the same - "Checkbox" in both of them (typo I guess)

    "Extends SMath Studio with a Checkbox Region. Provides an ability to work with Checkbox inside the Worksheet."

    Regards,
    Radovan
    When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
    #17 Posted: 5/2/2013 7:56:57 AM
    Andrey Ivashov

    Andrey Ivashov

    2271 likes in 3734 posts.

    Group: Super Administrator

    Radovan,

    Wrote

    Can not figure out how to see the units in it. . I suppose there might be some "trick" about it.


    I've used separate vector of text values for the ComboBoxes.

    Wrote

    By the way, descriptions for both plugins are the same - "Checkbox" in both of them (typo I guess)


    Thank you, will fix them. I didn't plan to share this plug-ins, so it is created only for internal usage But I know that these plug-ins must be a part of SMath Studio built-in functionality... and they will be, in future.

    Regards.
    1 users liked this post
    Radovan Omorjan 5/2/2013 8:29:00 AM
    #18 Posted: 5/2/2013 1:37:08 PM
    IVR

    IVR

    3 likes in 15 posts.

    Group: User

    This new feature is really very useful. Some small bugs:
    1. Length of the variable description seams to be limited to about 26 charakters (see screenshot).
    In fact, it is not a bug, but this limitation should be known.
    2. Multiline descriptions are not supported, at least in the example shown here.
    Clipboard01.png
    #19 Posted: 5/3/2013 5:55:22 AM
    Martin Kraska

    Martin Kraska

    1222 likes in 2150 posts.

    Group: Moderator

    Playing around with the viewer...

    • 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.
    • 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)
    • I also guess, that the other metadata will some day go to an "About" button of the exported app, won't they?
    • 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.
    • EDIT: The print preview looks like it would show the title or filename but fails to do so.
    • 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)
    • EDIT: Does the statement "SMath viewer is free for learning" include teaching in acedemic context?
    • EDIT: How can I change the language setting of the viewer application (e.g. in order to test translated versions)?

    preview.PNG
    Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
    #20 Posted: 5/3/2013 10:41:10 AM
    Fridel Selitsky

    Fridel Selitsky

    520 likes in 451 posts.

    Group: User

    Beam calculator
    After entering the data, double-click on the appropriate tab

    https://smath.com/wiki/GetFile.aspx?File=SimpSupBeam.rar
    SimpSupBeam.png
    3 users liked this post
    Radovan Omorjan 5/3/2013 12:51:00 PM, Martin Kraska 5/3/2013 10:46:00 AM, Davide Carpi 5/3/2013 11:17:00 AM
    • New Posts New Posts
    • No New Posts No New Posts