Print at Feb 2, 2026, 6:35:59 PM

Posted by Daniels118 at Sep 30, 2025, 9:17:41 PM
Re: Wirings plugin
Hi @Keet,
I'm aware of the concept of shared libraries, the reason for this dependency is different.
Both plugins Wirings and 3D dimension lines (and perhaps more in the future) let the user interact directly with the 3D view. SH3D has no public API to do this. This functionality is provided by Pan 3D view plugin, which exposes an extension API to interact with the 3D view. The implementation of this API MUST be "installed" just ONCE, and I've choosen Pan 3D view as provider because it has been the first plugin to tweak the 3D view, so it was the natural choice. Moreover it is a general purpose plugin, and it makes sense to use it as a base for other plugins which need this functionality.

As a side note, the jar files that you put in the plugins directory are insulated from each other by the means of different class loaders, so they have no way to share code. The Pan 3D view plugin exposes a simple API which hides a complex communication mechanism under the hood.