GPC Wrapper

GPC Wrapper - Wrapper for the GPC library - Сообщения

#1 Опубликовано: 15.06.2013 14:58:16
Davide Carpi

Davide Carpi

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

Группа: Moderator

Here the topic for the GPC Wrapper plugin (original name: GPC Plugin // Original topic: Плагин для операций с многоугольниками)

GPC is the General Polygon Clipper library developed by The University of Manchester (GPC site: http://www.cs.man.ac.uk/~toby/gpc/)

Plugin UI languages: English Русский

PLEASE REPORT IN THIS TOPIC ANY ISSUE.


Best regards,

w3b5urf3r

  • requirements: SMath Studio from 0.96.4875 to 0.96.4884 or latest Nigthly build, .Net Framework 2.0;
  • installation:
    - SMath Studio Stable: unzip and copy the GPC Wrapper.7z content inside the SMath plugins folder (f.e. C:\Program Files (x86)\SMath\SMath Studio\plugins);
    - SMath Studio Nigthly Build: download the plugin from the gallery;
  • sources: if you want to see the plugin sources look in the SVN repository.
  • languages: multilanguage UI is a work in progress.


UPDATES:
GPC Test.7z (3 КиБ) скачан 130 раз(а).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
5 пользователям понравился этот пост
Вячеслав Мезенцев 15.06.2013 15:05:00, ioan92 15.06.2013 15:44:00, Radovan Omorjan 15.06.2013 16:01:00, tca 02.09.2014 05:27:00, Николай Цопа 22.03.2020 15:30:00
#2 Опубликовано: 10.08.2013 08:34:31
Martin Kraska

Martin Kraska

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

Группа: Moderator

I had installed a earlier GPC wrapper version with extended functions. Updating via extension manager created a crash. When I removed the old plugin directory, installation was flawless. However, I saw, that the extended functions were gone (and so were the error messages on startup due to missing
translations).

Could there be a stability problem with updating plugins, when the old version has functions that are not present in the new one? I could imagine that updating on the fly could lead to names pointing to nowhere and might cause a crash.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Опубликовано: 10.08.2013 11:37:15
Davide Carpi

Davide Carpi

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

Группа: Moderator

Wrote

I had installed a earlier GPC wrapper version with extended functions. Updating via extension manager created a crash. When I removed the old plugin directory, installation was flawless. However, I saw, that the extended functions were gone (and so were the error messages on startup due to missing
translations).

Could there be a stability problem with updating plugins, when the old version has functions that are not present in the new one? I could imagine that updating on the fly could lead to names pointing to nowhere and might cause a crash.

I don't understand... Have you updated an old GPC plugin with the latest on the gallery? Or do you have made some changes in the %APPDATA% folder using the Dropbox beta?
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#4 Опубликовано: 10.08.2013 19:04:38
Martin Kraska

Martin Kraska

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

Группа: Moderator

Wrote

I don't understand... Have you updated an old GPC plugin with the latest on the gallery? Or do you have made some changes in the %APPDATA% folder using the Dropbox beta?


I cannot reproduce the situation completely.

I had the dropbox version installed by manually exchanging the dll in the appdata plugin folder, which was created via extension manager.
The extension manager version was older than the current one, because yesterday the extension manager offered update (may have been there for quite a while,
This is based on the assumption, that the extension manager just compares the version numbers in the config files or subdir names in order to find out update candidates. Thus the extension manager would not be aware of alien dlls in the subdirs.

I just checked yesterday the online gallery). Also, the dropbox version was not the current one, because it caused error messages related to string translations.

When performing that offered update, the crash occured. After removing the complete directory and re-installing from extension manager, the error messages were gone as were the extended GPC functions.

I now revisited the dropbox files and again exchanged the dll manually. Now the extended functions are available including german translations (no more error messages).

I expect the crash to happen again, as soon the extension manager finds a new version and tries to update, except if the update contains all extended functions. In order to verify, you cound provide a dummy update. We would just check that updates can safely remove functions from plugins. This, however might be a very rare situation and not be worth the debugging effort.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
ioan92 11.08.2013 04:43:00
#5 Опубликовано: 11.08.2013 04:12:32
Davide Carpi

Davide Carpi

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

Группа: Moderator

Now I understand

The Extensions Manager is a feature "in progress", so something may be not implemented well (f.e. like in this case, external interferences )

Actually the way to avoid these issues is to delete the plugin folder from the %appdata% folder and then to use the SMath "plugin" folder to make the test; in this case the official plugin is not shown in the gallery, and SMath doesn't crashes


Davide
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
ioan92 11.08.2013 04:42:00
#6 Опубликовано: 11.08.2013 06:08:49
Davide Carpi

Davide Carpi

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

Группа: Moderator

Hi Ioan,

Wrote

Do you means that this two plugin places are equal effect alternatives ?

C:\Program Files\SMath\SMath Studio\plugins
C:\Users\Ioan\AppData\Roaming\SMath\extensions\plugins


There are several differences, f.e. the 2nd is the "master" and the 1st is the "slave" when there are 2 plugins with the same guid... I use the first for development of plugins, the second for the regular use.

Wrote

In my mind, the second position is a regular Windows treatment, even I prefer the user control from the first alternative.


I agree with you

Wrote

Are they - the plugins - hidden also in a third place ? I feel - yes !?


I think not
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
ioan92 11.08.2013 06:23:00
#7 Опубликовано: 28.10.2019 13:14:05
sergio

sergio

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

Группа: User

The plugin GPC Wrapper seems it does not work with build 7219
(Could not find the "Void" method)

SMathStudio_Desktop_F1syy9oOns.png

sergio
#8 Опубликовано: 29.10.2019 13:26:41
Davide Carpi

Davide Carpi

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

Группа: Moderator

Thank you Sergio, I will look at it as soon as I can.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
sergio 29.10.2019 13:33:00
#9 Опубликовано: 29.10.2019 16:10:38
Jean Giraud

Jean Giraud

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

Группа: User

What about closing the polygon ?

Polygon.PNG
#10 Опубликовано: 29.10.2019 16:37:29
sergio

sergio

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

Группа: User

Jean,
the plugin provided for the double chance (as can be seen in the upper left of my screenshot) but at the moment with the updated smath version (7219), does not work.

sergio
#11 Опубликовано: 16.11.2019 13:41:18
Davide Carpi

Davide Carpi

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

Группа: Moderator

Wrote

The plugin GPC Wrapper seems it does not work with build 7219



Fixed for latest available Nightly Build (0.99.7250)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
2 пользователям понравился этот пост
frapuano 17.11.2019 08:57:00, sergio 16.11.2019 14:22:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений