Wykres commitów

1867 Commity (8b3ea167a6fde53ec8dd1f4139f2ce893906c169)

Autor SHA1 Wiadomość Data
SpectralVectors 8b3ea167a6
Update README.md 2024-04-15 10:46:51 -04:00
SpectralVectors 7ab8e87f65
Update README.md 2024-04-15 10:36:49 -04:00
SpectralVectors a75d58eaf4
Update README.md 2024-04-15 10:34:50 -04:00
SpectralVectors a331ef695a
Update README.md 2024-04-15 10:17:24 -04:00
SpectralVectors 8d376e2b75
Update README.md 2024-04-15 10:14:32 -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 6ec5bed9cb
GPLv3 added to Addon root
Second copy of the License in the addon root for users who download only from the Releases section.
2024-04-13 11:50:06 -04:00
SpectralVectors c926449d44
GPLv2 update to GPLv3 2024-04-13 11:49:02 -04:00
Release robot 39fe9d0e38 Version number 2024-04-12 19:27:27 +00:00
Alain Pelletier e6d30e2161
Merge pull request #159 from SpectralVectors/pie-menu
Pie Menu, Curve Create Name, bl_info Update
2024-04-12 16:26:26 -03: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
SpectralVectors f331cc49d0
Merge branch 'pppalain:master' into master 2024-04-11 16:38:43 -04:00
Release robot 32a30b6e0b Version number 2024-04-11 20:19:18 +00:00
Alain Pelletier 67f40c5e3f
Merge pull request #158 from SpectralVectors/label-title-case
Title Case for Labels, Bridges Fix, README Update
2024-04-11 17:18:20 -03: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 4e87fb399e
Update README.md 2024-04-11 15:02:08 -04:00
SpectralVectors dee93d20eb
Update README.md
Fixed Files Organization pipe inconsistency.
Updated documentation comment to reflect naming used elsewhere in the README.
2024-04-11 15:01:02 -04:00
SpectralVectors bd4fe87b50
TItle Case for Names, Labels
Enforced title case and consistency in names, labels, print and progress strings, fixed typos.
2024-04-11 14:55:34 -04:00
SpectralVectors b0691035e7
Title Case for Names, Labels, Strings
Enforced consistency and title case for all names, labels, print and progress strings throughout the addon.
Fixed typos.
2024-04-11 14:53:37 -04:00
Release robot 1eb85e9c13 Version number 2024-04-09 18:41:16 +00:00
Alain Pelletier 9d87c63840
Merge pull request #157 from abosafia/master
remove_doubles_ merge distance
2024-04-09 15:40:40 -03:00
abosafia 043c95bb44 remove_doubles_ merge distance 2024-04-09 06:54:29 +02:00
Release robot fd22ca611e Version number 2024-04-08 14:26:10 +00:00
Alain Pelletier e3d86e16d5
Merge pull request #156 from abosafia/master
remove curve doubles without converting to mesh
2024-04-08 11:25:36 -03:00
abosafia f9be0d35c7 remove curve doubles without converting to mesh 2024-04-08 11:57:20 +02:00
Alain Pelletier def2c57116
Merge pull request #152 from SpectralVectors/op-preset-patch
Operation Preset Update
2024-04-06 16:09:44 -03:00
SpectralVectors 94d7171366
Operation Preset Update
Operation Presets have been updated to create a new operation by default, they will also now follow the naming convention - OP_ObjectName_OperationNumber_PresetName, to keep in line with the naming of default operations.
2024-04-06 12:38:11 -04:00
Release robot 725e335d97 Version number 2024-04-03 12:24:14 +00:00
Alain Pelletier 27f1923c6a
Merge pull request #151 from SpectralVectors/import-init-cleanup
Import and init cleanup
2024-04-03 09:22:45 -03:00
SpectralVectors 7f461d14b1
Changing `nchunk_points` back to `nchunk.points`
I submitted the last commit after checking my `cam_chunk` file against the `chunk` file in Alain's repo to make sure I hadn't introduced any errors.
When I saw that his code had `nchunk_points` I assumed that my change was a mistake, and I reverted it.

However, upon closer inspection of the code, I believe that it should, in fact, be changed.
There is no reference to `nchunk_points` elsewhere in the code, though there is a similarly named `chunk_points` variable.
`nchunk` is an instance of `camPathChunkBuilder` which has `points`, but not `nchunk_points`.
2024-04-02 12:57:59 -04:00
SpectralVectors 9a6e9612f3
Fixed var nchunk_points
In the function `chunksCoherency` I had mistakenly changed `nchunk_points` to `nchunk.points`, this has been reverted.
2024-04-02 12:47:42 -04:00
SpectralVectors e924c246c0
Delete scripts/addons/cam/chunk.py 2024-04-02 12:45:32 -04:00
SpectralVectors a2a6eb0408
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:12:24 -04:00
SpectralVectors 00910eaa15
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:11:09 -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
Alain Pelletier 3a2c237be4
Update README.md 2024-03-31 11:57:31 -03:00
Alain Pelletier d645898186
Update build_and_test.yaml 2024-03-31 11:56:42 -03:00
Release robot b3af65ef00 Version number 2024-03-31 14:54:08 +00:00
Alain Pelletier 33782be874
Merge pull request #150 from SpectralVectors/preset-preview-fix
Preset and Preview fixes
2024-03-31 09:48:18 -03:00
SpectralVectors a6d8c34b80
Update utils.py 2024-03-30 20:15:37 -04:00
SpectralVectors 00eb5b4b4b
Update utils.py
Removed typing import
2024-03-30 20:14:12 -04: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
Alain Pelletier 0d22d3e636
Merge pull request #149 from SpectralVectors/numba-machine-fix
Numba machine fix
2024-03-30 11:29:20 -03: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
SpectralVectors 15a398d09a
Merge branch 'pppalain:master' into master 2024-03-28 14:01:01 -04:00
SpectralVectors c3dce6e378
Update README.md
[skip actions]
2024-03-28 13:52:47 -04:00
SpectralVectors e6cc2b798d
Update README.md 2024-03-28 13:49:31 -04:00
Alain Pelletier 86db54f301
Merge pull request #148 from SpectralVectors/master
README Update
2024-03-28 13:34:58 -03:00
SpectralVectors d40c5cd962
Update README.md 2024-03-28 10:51:10 -04:00