dennis-guse.de
PlanoraCAD user guide

Add-ins

Add-ins (also called plug-ins) are small extra programs that give PlanoraCAD new commands. They run in a protected space and may only do what you allow.

What are add-ins?

  • An add-in brings its own commands. They are under "File" → "Add-Ins". They often open a window of their own or show messages.
  • The installer does not include any add-ins. You get them yourself: from the catalog, from a file or through the link to a GitHub repository.
  • Add-ins must be under a license that fits the GPL-3.0 of PlanoraCAD.
  • Only install add-ins you trust. In this version PlanoraCAD does not check signatures.

You manage everything in the "Add-Ins" window. Open it with "File" → "Add-Ins" → "Manage …". It has two tabs: "Installed" and "Catalog". Like other windows, it can be undocked, see The interface.

Screenshot: "Add-Ins" window, "Installed" tab, the add-in on the left and its details on the right
Screenshot: "Add-Ins" window, "Installed" tab, the add-in on the left and its details on the right

The catalog

The catalog is a small, selected list of add-ins. At the first start PlanoraCAD asks once: "There are add-ins for PlanoraCAD, e.g. electronics. Take a look now?" "Open catalog" takes you to the "Catalog" tab. "Later" (or Esc) closes the question. It does not come back. You can reach the catalog at any time through the "Add-Ins" window.

  • On the left you see icon, name and category. At the top you can search and filter by category, for example "Electronics", "Import/Export", "Tools" or "Examples".
  • On the right you see description, category, source (link to the repository) and the "Install" button. A version only appears for an add-in you have already installed. Which permissions an add-in requests, you only see when installing.
  • The catalog comes from the internet and stays saved on your computer. Without a connection PlanoraCAD shows the last state with the note "offline – as of …" and the "Try again" button. If the catalog has never been loaded, it says "The catalog could not be loaded".
  • The catalog only shows add-ins by Dennis Guse. You install add-ins by other developers from a file or through a repo link.
  • There are no ratings, download numbers or screenshots.
Screenshot: "Catalog" tab with search, category and the "Install" button
Screenshot: "Catalog" tab with search, category and the "Install" button

Installing an add-in

From the catalog: Choose an add-in on the left and click "Install".

From a file or through a link:

  1. Open "File" → "Add-Ins" → "Manage …" and stay on the "Installed" tab.
  2. Click "From file…" and choose the add-in file (ending .pcplugin). Or enter the GitHub link in the "Repo link" field, for example github.com/owner/my-plugin, and click "Fetch".
  3. A window shows name, author, license and the requested permissions. Check the details and click "Install".

With a repo link, PlanoraCAD takes the newest release of the repository. It must contain exactly one .pcplugin file. While the package is being fetched, you can stop with "Cancel".

An add-in from the catalog then appears on the "Installed" tab with the origin "from the catalog".

Screenshot: "Install plug-in" window with version, author, license, signature and permissions
Screenshot: "Install plug-in" window with version, author, license, signature and permissions

Using an add-in

The commands of an add-in are under "File" → "Add-Ins". On the "Installed" tab, each add-in has a checkbox on the left. It turns the add-in on or off. This takes effect at once and stays that way after a restart. A turned-off add-in stays in the list.

On the right you see version, origin, author, license, description and the permissions of the chosen add-in.

Permissions

A newly installed add-in may do nothing. If it needs a permission, for example a connection to a website, PlanoraCAD asks on first use. You choose:

  • "Allow": applies permanently.
  • "Only this time": applies to this one request only. PlanoraCAD asks again next time.
  • "Deny": applies permanently.

In the "Add-Ins" window you see for the chosen add-in which permissions it has and how you decided: "allowed", "denied" or "asked on first use". "Revoke" makes PlanoraCAD forget your decision. It asks again at the next use.

When an add-in is removed, its permissions disappear too.

Updates

  • Once a day PlanoraCAD looks for new versions of the add-ins you installed through a repo link or the catalog. It only fetches the list of releases.
  • If there is something new, a note appears with "Show". It opens the "Add-Ins" window.
  • For the chosen add-in you can also click "Check for updates" yourself.
  • Nothing is downloaded until you click "Update to …". You then see the changes and newly requested permissions and confirm with "Update".
  • Your permission decisions only stay if author, origin and the allowed internet addresses are unchanged. Otherwise PlanoraCAD asks again.
  • PlanoraCAD never installs an older or equal version as an update.

When an add-in fails

If an add-in hangs, takes too long, uses too much memory or keeps the interface busy for too long, PlanoraCAD stops it and shows a message. PlanoraCAD itself keeps running. "Restart" starts the add-in again. If it fails several times, it stays off until the next program start.

Removing an add-in

Choose the add-in in the "Add-Ins" window and click "Remove". Confirm the question. Its permissions disappear with it. Add-ins that come with the program can be turned off but not removed.

Limits

  • The permissions "A folder you choose", "Read the model" and "Change the model" do not exist in this version yet. The install window shows them as "not available in this version yet", and an add-in does not get them.
  • PlanoraCAD does not check signatures. Only the checksum helps against transfer errors, if the release has one. It says nothing about where the package comes from.
  • PlanoraCAD never downloads new versions by itself. You always click "Update to …" yourself.
  • The catalog only shows add-ins by Dennis Guse.

Next: Settings and updates or Frequently asked questions

Source code on GitHub · Send feedback