x

ADONIS:
Version 3.90.9 (Released at 10/19/2024)
- Minor bugs in mesh generation module has been fixed.
- Gmsh is upgraded to version 4.13.1.

HYRCAN:
Version 2.0.18 (Released at 10/26/2024)
- Minor bug in translation has been fixed.
- Minor bug in geometry creation is fixed.


[req] panning with mouse and export data(Read 19092 times)
[req] panning with mouse and export data on: January 14, 2017, 06:21:27 am
Hi,
with this topic I would ask if it is possible to use the scroll wheel of mouse for panning images in model and other windows (in addition to the zoom), like Autocad software (https://goo.gl/DIR9M3).

I would also ask:

1) if users can choose point / comma for exporting data (like *.txt or *.dat) because in italian version of MS Excel comma is used to separate the fractional part of decimal numbers (not point);
2) if it possible to export the results also in MS Excel format (* .xls) and/or Comma Separated Value (*.csv).
3) at last, I discovered that when I export the results in *.txt format, when I write the name of the file in the Dialog Boxes (like "name_file") the saved file has no extension if I don't write that (like "name_file.txt").

Thank you for help
and
congratulations for the great effort
and
sorry for my english,

Bruno
« Last Edit: January 14, 2017, 06:37:41 am by Bruno Palmero »



Re: [req] panning with mouse and export data Reply #1 on: January 14, 2017, 08:16:05 am
Hi Bruno

currently you can zoom in or out using mouse wheel. do you mean anchor zoom/out (zooming around the position of the mouse) while using wheel? please explain how to pan while rolling the wheel.

1- currently tab is been used to separate columns. I did not use comma, would you please send me example export file you generated?
2- definitely good idea. I'll put it in todo list for future work.
3- yes you are correct, will be fixed in next version.

thanks for the comments and keep me posted.

-Roozbeh
« Last Edit: January 14, 2017, 09:44:31 am by Roozbeh »



Re: [req] panning with mouse and export data Reply #2 on: January 15, 2017, 07:42:36 am
3) at last, I discovered that when I export the results in *.txt format, when I write the name of the file in the Dialog Boxes (like "name_file") the saved file has no extension if I don't write that (like "name_file.txt").
the above finding of bruno is the same i've posted here: http://geowizard.org/forum/index.php?topic=14.msg86#msg86 so we soulh conclude that the missing extension is bug for every extension and not only for .txt.



Re: [req] panning with mouse and export data Reply #3 on: January 15, 2017, 02:42:26 pm
Hi Roozbeh.

1 - MOUSE WHEEL
currently you can zoom in or out using mouse wheel. do you mean anchor zoom/out (zooming around the position of the mouse) while using wheel? please explain how to pan while rolling the wheel.

I realize that I explained bad. In this case I would like to continue to use the zoom with the mouse wheel, but I would also activate the PAN function by simply holding down the mouse wheel (not rolling). So:
1) rolling of the mouse wheel allows me to zoom/out;
2) simply holding down the mouse wheel allows me to move the image.

2 - COMMA OR POINT: DECIMAL MARK
1- currently tab is been used to separate columns. I did not use comma, would you please send me example export file you generated?

I realize that I explained bad. In this case I am referring to the decimal mark (https://en.wikipedia.org/wiki/Decimal_mark) of the numbers (not mark for separating columns) for exporting data (graphs, ...). For some countries (such as Italy) it would be more useful to have comma as the decimal mark (possibility of choice). Here you can find Attachment_21.txt (decimal point, produced by ADONIS) and Attachment_22.txt (decimal comma, desired for Italy or other countries).


Thank you,
Bruno



Re: [req] panning with mouse and export data Reply #4 on: January 18, 2017, 09:05:39 am
Bruno,

1) unfortunately currently there is not function for wheel click in the platform I'm using.
2) now I understand what you mean, I could not find any function for converting numbers from one language to one another. have you seen any C++ function that handle it internally without doing any tricks? if so please let me know. meanwhile you can use find/replace for converting "." to "," in the text file until we find one smart solution for that.

-Roozbeh



Re: [req] panning with mouse and export data Reply #5 on: January 18, 2017, 12:18:07 pm
Hi Roozbeh,
thank you for your response.

1) For event mouse wheel click I found two link:
     http://stackoverflow.com/questions/21843148/detect-middle-mouse-click-event
     http://stackoverflow.com/questions/21801585/how-to-get-middlemouse-click-event-in-c

2) For conversion "dot" => "comma" I found three link:
     http://www.cplusplus.com/forum/beginner/5657/
     http://stackoverflow.com/questions/15220861/how-can-i-set-the-comma-to-be-a-decimal-point
     http://www.cplusplus.com/forum/beginner/153079/
     
     I think users may choose the decimal mark for output from Control Panel (dot or comma, maybe in future also linked
     to language selection, https://goo.gl/XRf7yX) and ADONIS convert numbers before export in txt format (or xls, csv,
     ...).

Unfortunately I do not know the C++ programming language (I generally use Visual Basic for Applications with Microsoft Excel).

Maybe Reversi can give an opinion ;)

-Bruno
« Last Edit: January 18, 2017, 12:42:01 pm by Bruno Palmero »



Re: [req] panning with mouse and export data Reply #6 on: January 18, 2017, 01:12:48 pm
ok I'll definitely put these requests in the todo list and give it a try whenever I find free time. thanks for links.



Re: [req] panning with mouse and export data Reply #7 on: January 18, 2017, 01:54:38 pm
Thank you :D