This add-on allows users to interact with CADBase via the Blender interface.
CADBase is a platform for publishing and sharing information about components (parts), 3D models, drawings, and manufacturers.
Important Note: To use the add-on, you must have an account on the CADBase Platform.
You can also create an account directly through the add-on. If the entered username is available, a new user will be created with the specified username and password.
Component modifications include sets of files for various CAD systems. This add-on works with data from Blender’s file sets without downloading documentation or data from other file sets.
Files uploaded to file sets are versioned, allowing you to restore earlier versions, compare changes, review modifications, and track who last edited them.
Favorite components are displayed at the root level. Selecting and opening a component shows its list of modifications at this component level. These levels correspond to folder locations in the directory specified in the Library path property.
When you open a modification, it displays files from the Blender file set within the Blender folder—not directly from the modification folder on CADBase.
Files for Blender are downloaded through this add-on; files for other CAD programs are not.
The data display is organized into three levels:
rl): Displays all local library components.cl): Shows the list of modifications for the selected component.fl): Displays files within a selected modification’s Blender file set.The folder for Blender files in local storage is created automatically when files are uploaded, regardless of whether the modification exists on CADBase.
Folder structure example:
-Library path # set in add-on (rl)
├── Vertical Pump (@lookme) # component folder (cl)
│ ├── N1 # modification folder
│ │ ├── Blender # Blender fileset (fl)
│ │ │ ├── modification # technical data file
│ │ │ ├── vertical Pump.blend # Blender file
│ │ │ └── ... # other files
│ │ ├── FreeCAD # FreeCAD fileset (fl)
│ │ └── ... # other filesets
│ ├── ... # other modifications
│ └── component # technical data file
├── ... # other components
├── cadbase_file_2018.log # logs and responses
└── cadbase_file_2018 # technical data file
The add-on does not require external dependencies.
First, set the library location. This path will be synchronized with CADBase remote storage, and files with technical data will be stored here.
You can change this in the add-on settings under Library path.
Set the URL or IP address of the CADBase server in the Server URL section.
In Blender's Preferences under the Add-ons section, you'll find username and password fields on the CADBase Library card.
Enter your credentials to obtain an authorization token. If successful, the token will be saved and available after restarting Blender.
If the token expires, repeat this process.
Alternatively:
You can click the Authorization button within the CADBase Library window.
In the window, you'll be prompted to enter your username and password (if you haven't done so before) to obtain a new token.
The Data synchronization section allows you to optimize performance and control file verification:
Once installed, the add-on will be available in Blender's 3D View > Sidebar under the Import-Export category.
You can also press N to quickly open the 3D View sidebar in Blender.
Select CADBase Library to begin.
Create new components or add existing ones to bookmarks on the CADBase website.
The Blender interface will only display components bookmarked on CADBase or previously downloaded.
Click Pull (data) to retrieve favorite components, modifications, or download files from a selected modification.
Use Add component to create a new component on CADBase.
This opens a modal window for entering the component name.
Open the desired modification and click Push (data) to upload local files to CADBase.
The process and progress will be shown in Blender's report.
Only Blender file set files are uploaded.
You can also compare local and remote files before uploading.
A Commit message can be added to describe the changes.
Affected files are listed with change types:
new: Not on remote, will be uploadedmodified: Will be updateddeleted: Will be removed from remoteClick Ok to confirm upload.
Settings are stored in Blender's user preferences file (userpref.blend), located at:
bpy.utils.resource_path('USER')/config
In component folders, a component file is created containing the technical data about the component.
In fileset folders, a modification file is created containing the technical data about the component modification and fileset.
Avoid using cadbase_file_2018 and cadbase_file_2018.log as filenames or folder names in your library, as these are reserved for logs and server responses.
Create your own log files manually if needed.
To prevent data loss, existing local files are skipped during downloads.
When uploading, files are typically checked with hashes (SHA-256) to avoid unnecessary uploads if files haven't changed, unless the Force update setting is enabled.
This version includes user interface improvements and additional features:
bpy.context.temp_override (blender#108763, comment-1793643354).This extension requests the following permissions:
Import/export library data from/to disk
Need to to sync library data with a remote server
Copy component link to clipboard