Wykres commitów

1928 Commity (f988fae6455725ee6c4252dd5c230b9fa7dd1677)

Autor SHA1 Wiadomość Data
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
Release robot d9524cf655 Version number 2024-03-22 12:28:37 +00:00
Release robot fcc9239594 Version number 2024-03-22 12:28:19 +00:00
Alain Pelletier 32d6d542e9
Merge pull request #143 from SpectralVectors/property-format
Property format
2024-03-22 09:22:31 -03:00
SpectralVectors 4fea2d25fb
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:56:15 -04:00
SpectralVectors 50682fb8c0
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:55:03 -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
Alain Pelletier 0ad061ade9
Merge pull request #142 from SpectralVectors/autopep8
Autopep8
2024-03-21 11:23:04 -03:00
SpectralVectors 9e9cd3438f
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:36:34 -04:00
SpectralVectors 343d0642e1
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:33:03 -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
Release robot 11259ca035 Version number 2024-03-19 17:58:12 +00:00
Alain Pelletier 372d82201d
Merge pull request #258 from pppalain/master
Mid March update
2024-03-19 13:27:40 -03:00
Alain Pelletier d0e75bf381
Update README.md 2024-03-19 13:22:26 -03:00
Release robot d0920d7c3d Version number 2024-03-07 18:53:11 +00:00
Alain Pelletier 0b4927965a
Merge pull request #141 from abosafia/master
meander back to work
2024-03-07 14:51:25 -04:00
abosafia 4e5aa00159 fix collissoin 2024-03-07 20:44:39 +02:00
abosafia 5dd3183cf8 meander back to work 2024-03-07 19:25:37 +02:00
Alain Pelletier a8d87938d2
Merge pull request #140 from joemarshall/fix_ocl_resample
fixes to opencamlib resampling for numpy
2024-02-22 10:34:52 -04:00
Joe Marshall ad7b0267ce fixes to opencamlib resampling for numpy 2024-02-22 11:29:23 +00:00
Release robot 8c858a786b Version number 2024-02-06 14:58:31 +00:00
Alain Pelletier c347ed7d20
Merge pull request #139 from joemarshall/medial_fixes
Medial fixes
2024-02-06 10:55:17 -04:00
Joe Marshall e1303c5c59
Merge branch 'pppalain:master' into medial_fixes 2024-02-06 11:20:49 +00:00
Joe Marshall 5619be07dd fixed silhouette getting 2024-02-06 11:19:45 +00:00
Joe Marshall cdefe77546 medial fixes and tests 2024-02-05 21:12:20 +00:00
Joe Marshall e8a9dc815f test data for 4 axis 2024-02-05 12:31:02 +00:00
Joe Marshall a5551e8a44 fixes for 4 axis 2024-02-05 12:30:43 +00:00
Release robot 8dd6de6cf5 Version number 2024-02-02 20:21:13 +00:00
Alain Pelletier 32dab9ac17
Merge pull request #137 from joemarshall/shapely_2
Performance improvements (shapely 2 API)
2024-02-02 16:19:42 -04:00
Joe Marshall 2f21a3d423 move profiler option into cam module 2024-02-01 12:13:04 +00:00
Joe Marshall 69e12c8c9b fixes to z buffer getting 2024-02-01 12:05:28 +00:00
Joe Marshall a524963477 mac tests 2024-01-31 16:26:22 +00:00
Joe Marshall b08e7e2348 performance updates 2024-01-31 15:00:20 +00:00
Release robot dd220598ad Version number 2024-01-30 14:19:07 +00:00
Alain Pelletier b3c1eeda06
Merge pull request #136 from joemarshall/numpy_chunk
Make chunk use numpy (and optimise with numba)
2024-01-29 10:50:54 -04:00
Joe Marshall 2010c3f3d1 mac test file 2024-01-29 13:57:01 +00:00
Joe Marshall 57fa002cd0 don't resample in ocl waterline 2024-01-29 13:54:53 +00:00
Joe Marshall a56cc9df2b made waterline stable sorted 2024-01-29 13:50:12 +00:00
Joe Marshall 32f319de71 shuffled object so it isn't perfectly on boundary to avoid floating ponit errors 2024-01-29 13:21:11 +00:00
Joe Marshall 1835c28ec2 added mac test files 2024-01-29 13:15:17 +00:00
Joe Marshall b925de1b3d made more code use numpy 2024-01-29 12:55:49 +00:00
Joe Marshall 631e667c99 optimisation and tests for waterline 2024-01-29 12:33:42 +00:00
Joe Marshall 4628f72802 test data 2024-01-28 16:05:02 +00:00
Joe Marshall 2b9f342d92 sort waterline from ocl 2024-01-28 16:01:48 +00:00
Joe Marshall 9e51d5204c remove debug output 2024-01-28 11:20:49 +00:00
Joe Marshall e62179308e test fix 2024-01-28 11:15:16 +00:00
Joe Marshall 224432d897 fix just in time poly generation 2024-01-28 11:00:00 +00:00
Joe Marshall 7e8d8d7d55 tidying 2024-01-28 10:57:10 +00:00
Joe Marshall 35f33964e1 duplicate points bugfix 2024-01-28 10:51:42 +00:00
Joe Marshall 85a846fecc poly fixes 2024-01-28 08:44:40 +00:00