Wykres commitów

24 Commity (a56bd333578e914e635066454cd2c8ae8be9e1bf)

Autor SHA1 Wiadomość Data
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 3a546c2758
Import fix update - bpy.utils, autoformat fix
While rearranging and cleaning up the utils imports in the initial 'Import fix' commit I deleted `utils.` from `bpy.utils.script_paths()` in the ops.py file.
This has been fixed, and I took the opportunity to reverse the autoformat issue (changed line length from 100 to 89 between commits), and restore all the code to its previous state.
I made one exception:
- comments that came at the end of the line that were moved to the line above

All functional code has been restored to its previous format.
2024-03-23 11:14:38 -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 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 2e6ad35485 make UI respond immediately to operation validity etc. 2024-01-17 11:50:39 +00:00
palain aecdffdc2f added protection for height. modified some menus 2023-10-30 13:11:13 -03:00
migo101 e9b8cbbdf7 Move options to optimisation panel 2023-07-14 18:41:31 +02:00
migo101 e828a138f4 Remodeled display calculation, converted operations, working on op_properties 2023-07-04 19:16:13 +02:00
migo101 e749a7b6e6 Added levels for all panels 2023-06-13 20:15:22 +02:00
migo101 e72639c0bd Added interface selector 2023-06-12 20:17:39 +02:00
migo101 c269a6a4eb Cleanup use_experimental 2023-06-12 12:22:01 +02:00
migo101 d19621eb58 Only show panels when there is an operation present 2023-06-12 12:11:08 +02:00
migo101 85d1ac9ef7 Using self.op everywhere 2023-06-12 11:58:40 +02:00
abosafia 0270f2195e remove eye dropper 2023-04-28 13:50:42 +03:00
abosafia ac653a84c3 Edropper for selecting objects source 2023-04-24 09:44:16 +02:00
migo101 0a1c4326f5 Code cleanup 2023-04-20 11:52:45 +02:00
palain 3058d32e36 simplify gcode removed for drill operations 2022-12-09 16:01:41 -04:00
palain 351d5a68bb add options for mist 2022-05-27 15:57:19 -03:00
migo101 fcf6a56c4f Operation name now contains the object name 2022-05-03 12:00:52 +02:00
migo101 3d11e94273 Cleaned up operations panel 2022-05-02 20:05:06 +02:00
migo101 86359bbe92 Cleaning up Operations Panel 2022-04-12 20:04:19 +02:00
migo101 789e74f4f8 Forgot 2 files in commit 2022-04-12 19:44:35 +02:00
migo101 0133759d91 Each panel in their file - ongoing 2022-04-12 11:35:49 +02:00