Snapshot Region

Snapshot Region - Extends SMath Studio with a region that makes canvas' snapshots - Messages

#41 Posted: 3/8/2014 3:29:52 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

I experience an "insufficient memory" error when exporting "all" snapshots in the attached sheet. It is possible to recover from the error message. Individual export works


Reproduced & Fixed, thank you very much


PLUGIN UPDATED


best regards,

Davide
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
Martin Kraska 3/8/2014 6:22:00 PM
#42 Posted: 3/10/2014 2:04:32 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

The snapshot count is not correct in the given example.
Operatoren.sm (3 KiB) downloaded 97 time(s).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#43 Posted: 3/10/2014 2:46:34 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

That's my fault, in the latest update I've changed some little chunks of code; I apologize for this inconvenience...

Fixed & Updated



Best regards,

Davide
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
Martin Kraska 3/10/2014 7:02:00 PM
#44 Posted: 3/17/2014 8:05:40 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

UPDATED

(SMath Studio 0.97.5189)

- code updated to fit the new APIs features;
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#45 Posted: 7/20/2017 5:26:38 AM
veb

veb

1 likes in 38 posts.

Group: User

Wrote

UPDATED

(SMath Studio 0.97.5189)

- code updated to fit the new APIs features;



Hello. I want to adapt this module to my calculations. But I do not understand how it works. Help the working example please
#46 Posted: 7/20/2017 6:31:01 AM
veb

veb

1 likes in 38 posts.

Group: User

Wrote


Hello. I want to adapt this module to my calculations. But I do not understand how it works. Help the working example please



Understood. Record "test.png" it turned out to be done by copying text from notepad. Tell me how to make a text entry inside the formulas "" in SMath

Is it possible to work this module inside the SMATH Viewer?
#47 Posted: 7/20/2017 7:20:01 AM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Hello,

Wrote

I do not understand how it works.



Full reference is given in the first post attachment (direct link) or in the ActiveBook made by Martin Kraska (worksheet from SVN)

Wrote

Tell me how to make a text entry inside the formulas "" in SMath


Simply type the text (I'm not sure if I have understood correctly your question)
GIF.gif

Wrote

Is it possible to work this module inside the SMATH Viewer?



The region is hidden in SMath Viewer, it is made to make screenshots of the worksheet canvas, it knows nothing about the layout of the viewer that is completely different; as always suggestions are welcome. Also take in account that this tool was originally developed to easily export multiple screenshota without have to scroll the whole worksheet everytime and make dozen of screenshots, a viewer executable is usually compact enough to allow screenshots from any 3rd-party tool with few clicks.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#48 Posted: 7/20/2017 10:59:12 AM
veb

veb

1 likes in 38 posts.

Group: User

Wrote


Simply type the text (I'm not sure if I have understood correctly your question)



Quotes turned out to deliver.

I have been actively studying Smath recently, it is a very convenient and intuitive tool for performing calculations.
I am drafting projects in the Autocad. The result of calculations and a well-designed calculation with the text I want to insert in the drawings a picture as OLE object.
I work with people who do not know how to use a computer. If they show a worksheet, they will spoil it. Smath viewer is a rescue.
Smath Viewer allows you to print the calculation. It would be desirable, that the given module, allowed to receive pictures of the selected area(This frame, This Set, Any Frame, copy to clipboard) from Smath viewer.

#49 Posted: 7/20/2017 11:57:18 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

The snapshot is just a gadget that tells the approximate size of
selected Smath regions. Otherwise, I see no utilities.
If you want a dead image of Smath regions to paste in AutoCad:
capture the regions with "Wingrab" [freeware] ... that cropped
image => paste in AutoCad if it can received an "image".

Jean

Utilities SnapShot.sm (34 KiB) downloaded 87 time(s).
#50 Posted: 7/20/2017 12:33:23 PM
veb

veb

1 likes in 38 posts.

Group: User

Wrote

The snapshot is just a gadget that tells the approximate size of
selected Smath regions. Otherwise, I see no utilities.
If you want a dead image of Smath regions to paste in AutoCad:
capture the regions with "Wingrab" [freeware] ... that cropped
image => paste in AutoCad if it can received an "image".

Jean



I understood how it works Snapshot region.
But I would like to see such a possibility in the smath viewer.
In the autocad there is no way to write beautiful formulas, sometimes the expert asks to draw them. This is long and not convenient. It is more important to perform the calculation in the side program and insert it with a picture.
For me, there is no problem working with the smath studio worksheet. But my people will not be able to work in it, there will be problems and not understanding.

I see Smath viewer as a finished calculation, which can be run on any computer, to any person and if necessary print out the whole calculation.
Smath Studio requires more computer literacy from the user than Smath viewer.
#51 Posted: 7/20/2017 2:31:06 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

Wrote

I work with people who do not know how to use a computer. If they show a worksheet, they will spoil it. Smath viewer is a rescue.
Smath Viewer allows you to print the calculation. It would be desirable, that the given module, allowed to receive pictures of the selected area(This frame, This Set, Any Frame, copy to clipboard) from Smath viewer.



Fair enough, I'll try to implement something

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#52 Posted: 7/20/2017 6:48:05 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I see Smath viewer as a finished calculation, which can be run on any computer



An Engineering piece of work may need several pages of advanced maths,
it will run on computers compatible with SS and having SS installed.
Smath clipboard operation is specific to Smath. It does not support
"Windows clipboard operation", i.e: you can't select math regions and
paste in other Windows compatible tools [Paint, IrfanView, Wingrab ...]
Differently, Mathcad allows to paste math regions in Irfanview ...

In other words, if AutoCad allows to paste images, you must proceed as
previously explained [capture, save image, paste image to Autocad].
Today, I can open an AutoCad 11 [1990] Process Control & Instrumentation
Diagram and paste in it several pieces of descriptive maths from Smath,
paste as images. That was not possible in 1990 because no Engineering
tools existed.

Are you asking AutoCad to open an Smath work sheet and have AutoCad responds
to the Smath calculations ? That existed: In 2000, Mathcad 8 Pro was
delivered with SmartSketch. I could open my involved diagram in SmartSketch
and open Mathcad work sheet in it and see the diagram change as per the
Mathcad governing calculations [belt/pulley system ...]. Some specific packages
do that, mostly for machining, etc ...

About diagrams, very little things can be done in Smath, but you are saying your
team work know nothing about Smath ... multiple dilemmas.

Cheers, Jean.
#53 Posted: 7/21/2017 4:18:43 AM
veb

veb

1 likes in 38 posts.

Group: User

Wrote


Are you asking AutoCad to open an Smath work sheet and have AutoCad responds
to the Smath calculations ?
Cheers, Jean.



I do not ask this. I think that this is too difficult, and I respect the time and work of the programmers of Smath (when there is free time. I'm programming myself (my hobby is a beginner level) for the last 2 years I'm trying to program for an analog of AutoCAD (zcad open source))

Quote

In other words, if AutoCad allows to paste images, you must proceed as
previously explained [capture, save image, paste image to Autocad].



Yes, I need it. Now the screenshots are made by this module inside the SS. I want them to be made from Smath's viewer. The result should be the same.
#54 Posted: 7/21/2017 9:44:11 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Alternately: if your computer allows to split the screen in two regions or more
and if each pane allows to run other software ... work your Smath in cloud
in the CAD station => read Smath pane from cloud ... just an idea.
#55 Posted: 8/25/2017 1:11:01 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

PLUGIN UPDATED (latest nightly build only)

  • fixed missing width/height settings on save/load;
  • plugin made available for SMath Viewer;
  • refactoring;


about SMath Viewer:


context menu now contains a new option "Show in Viewer executables";

2017-08-25 17_57_03-SMath Studio - [rgb2image.sm_].png


if checked a button and a label are added in the viewer executable (default is not checked)

2017-08-25 17_59_42-SMath Viewer.png


hoovering the button, a tooltip is available; the bottom text can be replaced by your own, using region's description (when available and shown in the worksheet).

2017-08-25 18_00_47-SMath Viewer.png


clicking the button, a drop-down menu contains the image thumbnail, as well as the export options available in the worksheet.

2017-08-25 18_02_52-SMath Viewer.png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#56 Posted: 11/29/2023 8:06:54 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

I am using the snapshot region a lot for producing manuals on SMath Studio (see https://extmoodle.th-brandenburg.de/course/view.php?id=138§ion=2). The workflow allows for quick update and corrections.

Regions copied via clipboard to Word or other programs have much better image quality than the snapshots produced with the snapshot region. Here is an example:

Would it be possible to increase the resolution of the screenshots? The clipboard copies seem to have double the resolution compared to snapshots. I'd be happy to have that resolution also in the snapshots.

A0202neu_012.png
snapshot from clipboard.png
2-2-neu.sm (133 KiB) downloaded 63 time(s).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
2 users liked this post
Oscar Campo 11/29/2023 11:00:00 AM, ioan92 11/29/2023 2:11:00 PM
#57 Posted: 11/29/2023 4:53:27 PM
Davide Carpi

Davide Carpi

1417 likes in 2873 posts.

Group: Moderator

I'll check it.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • New Posts New Posts
  • No New Posts No New Posts