Wykres commitów

409 Commity (a312bf78d4585afb16b92c1a784bf9ac18751dc5)

Autor SHA1 Wiadomość Data
SpectralVectors a312bf78d4
Update __init__.py 2024-11-05 16:51:35 -05:00
SpectralVectors 159979f03a
Add files via upload 2024-11-05 11:14:13 -05:00
SpectralVectors b4051d8f44
Add files via upload 2024-11-01 15:57:09 -04:00
SpectralVectors 3fc152dde0
Add files via upload 2024-10-27 13:54:48 -04:00
SpectralVectors c2e857a414
Add files via upload 2024-10-25 21:17:12 -04:00
SpectralVectors b83c681416
Add files via upload 2024-10-24 22:47:11 -04:00
SpectralVectors 3419ab04f1
Add files via upload 2024-10-22 17:45:15 -04:00
SpectralVectors d0cd320a70
Add files via upload 2024-10-22 17:41:55 -04:00
SpectralVectors 9889f07920
Add files via upload 2024-10-22 17:30:48 -04:00
SpectralVectors 58f342a71b
Add files via upload 2024-10-22 16:19:27 -04:00
palain f307c062ba remove blendercam references for compliance with blender usage 2024-10-02 11:12:05 -03:00
abosafia 1063ea193e get back object silhoutte 2024-09-20 15:37:39 +03:00
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
Release robot 275149a4a7 Version number 2024-08-28 20:02:23 +00:00
Release robot c2ff4a4f62 Version number 2024-08-28 16:49:45 +00:00
Release robot d88cdff92f Version number 2024-08-28 12:53:18 +00:00
abosafia 65ba22a148 curve camtools improve 2024-08-28 11:07:48 +03:00
Release robot 8602073c50 Version number 2024-08-21 18:12:02 +00:00
Release robot a266405ab7 Version number 2024-08-20 14:54:40 +00:00
Release robot fa1d44f4d3 Version number 2024-08-20 12:48:57 +00:00
Stephen Rakonza 5a8ae8aa4b remove bogus newline from bl_info 2024-08-19 23:15:19 -07:00
Release robot 42ca07d5c3 Version number 2024-08-14 13:31:40 +00:00
Alain Pelletier 4c6fb98433
Merge branch 'master' into master 2024-08-14 10:30:09 -03:00
Release robot 83c76bee3f Version number 2024-08-14 13:28:23 +00:00
Release robot 9744c434b1 Version number 2024-08-14 13:04:58 +00:00
palain 1e11fa9b8c fixed import errors for blender 4.2. but may cause problems. still all work on blender 4.1.1 2024-08-14 10:01:31 -03:00
Release robot cdb0a7e42c Version number 2024-07-26 16:16:14 +00:00
Release robot 09c37860f2 Version number 2024-05-24 11:52:14 +00:00
Release robot 4021fe6d6b Version number 2024-05-22 16:37:14 +00:00
Release robot 8105a53527 Version number 2024-04-26 13:05:47 +00:00
SpectralVectors 0e25faad34
Curve Addon activation moved
Blender restricts access to context (required to read and update the addons in preferences) during registration, so the initial implementation would not work.
This update moves the logic into the utils file in the `check_operations_on_load` function.
2024-04-25 17:24:12 -04:00
SpectralVectors 2591989a79
Curve Addons, Version fix
Added a few lines to the end of the register function in the __init__ file to ensure that the required curve addons are activated when the addon is installed.
Also removed the docstring from version.py as I believe it interfered with the regex in the Github Action
2024-04-25 17:05:00 -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
Release robot 39fe9d0e38 Version number 2024-04-12 19:27:27 +00:00
SpectralVectors 94015bcd37
Pie Menu, Curve Create Name Adjustment
## Pie Menu
- bound to 'Alt + C' by default
- 2 main levels 
  - CAM - Machine, Tools, Material, Info
  - Operation - Feedrate, Cutter, Setup etc
- navigate between all levels with 'Home' and 'Back' buttons
- most, if not all functionality from the ui_panels has been replicated here

## Curve Create Names
- most operations were named after the objects they created
- a few were named 'Create...' e.g. 'Create Lissajous'
- these have been renamed to remove the word 'Create', making them consistent with other Curve Creator names
2024-04-12 12:06:22 -04:00
Release robot 32a30b6e0b Version number 2024-04-11 20:19:18 +00:00
Release robot 1eb85e9c13 Version number 2024-04-09 18:41:16 +00:00
Release robot fd22ca611e Version number 2024-04-08 14:26:10 +00:00
Release robot 725e335d97 Version number 2024-04-03 12:24:14 +00: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
Release robot b3af65ef00 Version number 2024-03-31 14:54:08 +00:00
SpectralVectors 5afb9d197e
Preset and Preview Fix
Cutter and Machine Presets worked without issue.
Operation presets would load, but could not be saved - `AttributeError`
This was caused by 3 errors in `AddPresetCamOperation` in `init`:
- `o.movement.movement.spindle_rotation` changed to `o.movement.spindle_rotation`
- `o.optimize` and `o.optimize_threshold` changed to `o.optimisation.optimize`  and `o.optimisation.optimize_threshold`

Discovered this while trying to add a small usability patch that would add an operation if there wasn't already on in the scene, so that loading an operation preset wouldn't cause an error message.
Patch was done by adding a `setup_operation_preset` function in `utils` that would `try: except` to try to adjust an existing operation, but add one if one isn't present.
I also patched the existing operation presets, though they aren't copied to disk by default, so I added a `BoolProperty` to the `AddonPreferences` and copy logic to the `check_operations_on_load` handler so that they will only be copied once. The copy operation does not affect any additional presets the user may have, only the default set that come with the addon.

Also fixed the 'Material Preview' viewport mode. 
Previously the object would disappear when switching to that mode.
Render Engines have the option to 'borrow' Material Preview mode from EEVEE via a boolean `bl_use_eevee_viewport = True`
I set that, and added the panels to the Material tab when in Cam.
2024-03-30 18:22:35 -04:00
Release robot dd3fae8eca Version number 2024-03-30 14:30:03 +00:00
SpectralVectors 7601cedbf9
numba removed, machine and operation bugfixes
Commented out `numba` import from the `__init__` for now, until the issues with crashing can be resolved.
Moved `_IS_LOADING_DEFAULTS` out of the `updateMachine` function, declared the default value = False, and grabbed it via `utils.IS_LOADING_DEFAULTS`.
(Note: It was already declared a `global` variable within the function, and I thought that would have been enough to avoid this error, but it works now)

Lastly, altered the cleanup in the `_calc_path` function in `ops.py` - previously it was checking for and deleting objects without issues. 
In Blender 4.1 deleting an object would still leave behind mesh data that retained the object name, causing the cleanup function to not recognize and update old operations.
Simply deleting the mesh data solves the issue, as it will also delete the object with it, even though the reverse is no longer true.
2024-03-29 12:38:27 -04:00
Release robot 835e26f9aa Version number 2024-03-28 00:25:35 +00:00
Release robot ecd08e39c1 Version number 2024-03-27 22:49:42 +00:00
SpectralVectors c5fbf903c7
Update __init__.py 2024-03-27 18:48:48 -04:00
Release robot 46b91b72cf Version number 2024-03-27 17:34:48 +00:00
Release robot 9d2dcbf7ea Version number 2024-03-27 17:18:52 +00:00
SpectralVectors 07be079d23
Update __init__.py, fix 1.0.8 install error
There was a space in bl_info and that caused some bugs.
2024-03-27 13:18:14 -04:00