Wykres commitów

21 Commity (19f727628865cacd1b7125695fb26d794b2b4b21)

Autor SHA1 Wiadomość Data
SpectralVectors 7d22cf3395
4.2 Extension Format
- packed Wheels for `shapely` and `opencamlib` dependencies
- refactored `curvecamequation` to use standard library, no dependencies needed
- removed `bl_info` from `__init__`
- added `blender_manifest.toml` file
- updated preferences references to the new syntax, either:
- `bl_ext` or `__package__`
- this should fix presets and any UI display issues
2024-08-29 16:49:13 -04:00
SpectralVectors fb3005c8c5
GPLv2 - GPLv3, format header comments
Per discussion in Matrix Dev channel, GPLv2 license has been updated to GPLv3, and is now included in the base level of the addon, to ensure everyone will receive a copy, regardless of how they download or install.

Formatted header comments for consistency.
Now every file follows this format:

"""BlenderCAM 'filename.py' © 20xx Author Name (if available)

Brief summary of what is in the file (functions, classes) and what they do.
Original developer comments. (if available)
"""
2024-04-15 10:02:58 -04:00
SpectralVectors a56bd33357
Title Case, Mesh Bridges Fix, README Update
Enforced title case and naming consistency across names, labels, print and progress strings.

Fixed Bridge Generation for Mesh-based objects, though path generation does not account for bridges unless they are made into meshes and joined with the main object - will need to be patched separately.

Updated the README to fix an inconsistency with the pipes in the Files Organization diagram, and to change the comment in 'documentation' to reflect the naming used elsewhere - 'How to Use (Wiki)'
2024-04-11 15:06:21 -04:00
SpectralVectors 7325fb1164
Import and init cleanup
All imports made explicit
All redundant and unused imports removed
All circular import errors resolved

Imports alphabetized and sorted by source, in the following order: 
- Python Standard Library
- pip Packages
- Blender Libraries
- cam Modules (from .)

init split into multiple files:
New:
- cam_operation
- chain
- engine
- machine_settings
- preset_managers

Existing:
- pack
- slice
- ui
- utils

Rewrote get_panels to remove legacy panels and updated to follow Blender's guide: https://docs.blender.org/api/current/bpy.types.RenderEngine.html
2024-04-02 11:07:14 -04:00
SpectralVectors c0febee968
Import Fix, funcs moved, refs updated, ocl rename
Changed all imports from absolute to relative: 
- instead of importing the module 'cam' now imports come from '.' the relative parent folder
- importing the module into itself resulted in a circular import error, relative imports avoid this

Moved Functions, refs updated:
- some functions  (and 2 variables) only existed on the base level of the module, in the init file, and could not otherwise be accessed, they were moved into the utils file with other similar functions
- these were primarily called as update functions for Properties scattered across the addon, these have all been updated to reflect the new location and import convention

opencamlib_version rename:
- in 2 files there was a local variable named 'opencamlib_version' that was defined by a function called 'opencamlib_version' that returned the opencamlib_version
- this seemed to confuse Blender into thinking that it was being called before it was defined, and simply changing the variable name to 'ocl_version' while keeping the function name as 'opencamlib_version' fixed the issue
2024-03-22 17:52:18 -04:00
SpectralVectors 2c1e4e962f
Property format, version update
Changed the formatting of Properties (e.g. bpy.props.StringProperty) throughout:

Before:
```
use_position_definitions: bpy.props.BoolProperty(name="Use position definitions",
                                                     description="Define own positions for op start, "
                                                                 "toolchange, ending position",
                                                     default=False)
```

After:
```
use_position_definitions: BoolProperty(
        name="Use position definitions",
        description="Define own positions for op start, "
        "toolchange, ending position",
        default=False,
)
```

Added trailing commas to retain formatting if another autoformatter (e.g.: black) is implemented.
Removed bpy.props. prefix from Properties that still had it, and added explicit imports when required in ui_panels module.
2024-03-21 14:53:43 -04:00
SpectralVectors 3a6b217abc
Autopep8 format, author & version update
Ran Autopep8 on all files in repo, they are otherwise untouched with one exception:
In the __init__ file, I had to manually rearrange the import statements to avoid triggering a circular import error.
This will be addressed in a future commit.

Updated authors in bl_info to: 'Vilem Novak & Contributors' - this can be changed as required
Updated version to: 1.0.5
2024-03-21 08:29:30 -04:00
Joe Marshall 501002bf47
typos 2024-01-26 20:10:14 +00:00
Joe Marshall f9aa9d40d9
don't check for updates in background blender 2024-01-26 20:04:01 +00:00
Joe Marshall fffef961da automatic updates 2024-01-12 15:24:30 +00:00
Joe Marshall f046f76447 preset update sources 2024-01-12 15:08:03 +00:00
Joe Marshall 093ff7288b get files from commit and set time right 2024-01-12 14:20:45 +00:00
Joe Marshall 924d20d4c7 autoupdate from git 2024-01-12 14:16:47 +00:00
Joe Marshall 1e05bcf7bb typo 2024-01-12 13:43:17 +00:00
Joe Marshall 9203d46952 autoupdate button 2024-01-12 13:41:57 +00:00
Joe Marshall a31b64961e autoupdate from panel only 2024-01-12 13:35:18 +00:00
Joe Marshall baa29586d7 autoupdate disable option 2024-01-12 13:16:36 +00:00
Joe Marshall 7fae236a11 mtimes 2024-01-12 12:23:46 +00:00
Joe Marshall 94860361bc commit working version 2024-01-12 12:14:37 +00:00
Joe Marshall 302ea11809 working autoupdate except reload 2024-01-12 12:01:24 +00:00
Joe Marshall 9d1bbc8ce6 autoupdate initial 2024-01-12 10:41:43 +00:00