Wykres commitów

1897 Commity (1.0.26)

Autor SHA1 Wiadomość Data
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
SpectralVectors 6962911edc
Update README.md 2024-03-28 10:35:21 -04:00
SpectralVectors 1514fab215
Update README.md 2024-03-28 10:35:08 -04:00
SpectralVectors 781d488142
Update README.md 2024-03-28 10:31:36 -04:00
SpectralVectors eddb0a19c2
Update README.md 2024-03-28 10:21:27 -04:00
SpectralVectors 1ce9459522
Update README.md 2024-03-28 10:18:45 -04:00
SpectralVectors 015444eecd
Update README.md 2024-03-28 10:10:45 -04:00
SpectralVectors eb15c1a44f
Update README.md 2024-03-28 10:08:25 -04:00
SpectralVectors 4cd987f572
Update README.md
Added Warning style to Disclaimer section
2024-03-28 09:52:52 -04:00
SpectralVectors b705f865bb
Update README.md
Updated Files Organization with syntax highlighting and comments
2024-03-28 09:47:18 -04:00
SpectralVectors 9d33499330
Update README.md
Centered Top section
2024-03-28 09:27:27 -04:00
SpectralVectors 9aae31d7ed
Update README.md
Updated Files Organization diagram to reflect current state
Title case for titles and headings (important words capitalized)
Contributors section added.
2024-03-28 09:14:07 -04:00
Release robot 835e26f9aa Version number 2024-03-28 00:25:35 +00:00
Alain Pelletier 76956193e7
Merge pull request #146 from SpectralVectors/master
Shapely Install Error Fix
2024-03-27 21:24:37 -03:00
SpectralVectors 684abd5f24
Update create_release.yaml 2024-03-27 18:56:30 -04:00
SpectralVectors c4ee42f676
Update create_release.yaml 2024-03-27 18:53:05 -04:00
SpectralVectors 35c8f65663
Update create_release.yaml 2024-03-27 18:50:47 -04:00
Release robot ecd08e39c1 Version number 2024-03-27 22:49:42 +00:00
SpectralVectors d28f3044c6
Update create_release.yaml 2024-03-27 18:49:10 -04: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