Wykres commitów

76 Commity (9d87c63840769e226c7ae88aeae6e6adca565f8a)

Autor SHA1 Wiadomość Data
abosafia 043c95bb44 remove_doubles_ merge distance 2024-04-09 06:54:29 +02:00
abosafia f9be0d35c7 remove curve doubles without converting to mesh 2024-04-08 11:57:20 +02: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 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 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
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
Denis Klimov 5a5b02709f Fix import MultiLineString. Issue was detected with shapely 1.8.2 module 2024-01-17 09:27:49 +05:00
palain 2541d64935 fixed A B rotation indexing. Rotation did not refresh 2023-07-07 11:31:35 -03:00
palain 7e5381bf9b shapely 2.0 modifications 2023-01-05 14:50:48 -04:00
palain 6b4fe66928 shapely 2.0 modifications 2023-01-05 13:09:18 -04:00
palain af27798c2e fixed shapely 2.0 2023-01-03 14:39:07 -04:00
palain ee35270166 fixed shapely 2.0 - added remove doubles to overcuts, overcuts-b and silhouette offset 2023-01-03 14:30:55 -04:00
palain 2303b65781 minor changes 2022-01-26 11:26:22 -04:00
palain 29bff33573 minor changes 2022-01-24 11:16:51 -04:00
palain b2cd3929ef pep 8 and obsolete code removal 2022-01-21 13:24:35 -04:00
palain c48465bc9d pep 8 and obsolete code removal 2022-01-21 13:15:05 -04:00
palain 21533b2d95 depricated shapely code update 2022-01-20 15:52:09 -04:00
palain 08daf14d84 depricated shapely code update 2022-01-20 15:36:02 -04:00
palain 96bb741938 some pep 8 formatting 2022-01-18 11:35:29 -04:00
palain ba1c2ab24c cleaning up code 2021-12-17 16:20:12 -04:00
palain 7730d9c086 separated curve create from curve cam tools 2021-12-16 09:41:02 -04:00
palain 1883a04258 cleanup 2021-12-10 20:43:38 -04:00
palain 1d6ba54d68 added double adaptive pockets 2021-12-10 20:34:21 -04:00
palain 5d7c360cd3 cleanup 2021-12-10 20:18:59 -04:00
palain 231505ba7b cleanup 2021-12-10 20:04:27 -04:00
palain a750912d63 cleanup 2021-12-10 14:14:20 -04:00
palain 13ea291c6a added value for adaptive angle threshold 2021-12-10 12:05:07 -04:00
palain 5c3440f7ce fixed variable finger mortise 2021-12-09 16:41:53 -04:00
palain a45a483303 added variable tolerance to mortise along curve 2021-12-09 11:40:56 -04:00
palain 6455606ca9 added mortice along a curve 2021-12-08 12:18:48 -04:00
palain add09c0157 added mortice along a curve 2021-12-08 10:43:17 -04:00
palain 44619cfafa added mortice along a curve 2021-12-07 19:07:48 -04:00
palain cbe58ec8a2 added mortice along a curve 2021-12-07 15:12:30 -04:00
palain 0baa7322aa polish drawers 2021-12-06 13:05:10 -04:00
palain b580f6fbe0 polish drawers 2021-12-06 12:58:47 -04:00
palain bdf8c027a2 added joinery and drawer curve tool 2021-12-06 12:46:20 -04:00
palain 2058943b5e added joinery and drawer curve tool 2021-12-05 16:03:11 -04:00
palain ec682a1fef curve resolution fix for opencurve offset 2021-10-01 11:14:51 -03:00
palain 593ee74384 applied transforms on opencurve offset silhouette 2021-09-28 09:10:04 -03:00
palain 04de5d2ccd correction to curvecamplate. 2021-09-25 09:26:09 -03:00
palain 1f933ae35c correction to intarsion perimeter. 2021-09-24 14:18:11 -03:00
palain 04b24d8847 added curve resolution variable for better quality plates 2021-09-24 11:23:38 -03:00
palain e2bf7ee8ba Sign plate can now have horizontal holes for larger plates 2021-09-09 10:05:00 -03:00
palain d743a94ffc Added Curve cam tools - sign plate 2021-09-08 10:40:30 -03:00
palain 0f8cde6ab7 Added curvetools convex hull 2021-09-06 16:55:00 -03:00
palain dfee2ab297 silhouette offset can now work with open curves. 2021-09-04 08:23:57 -03:00
palain 4542a860ed silhouette offset can now work with open curves. 2021-09-03 13:24:29 -03:00
palain e9df7e0079 housekeeping 2021-08-23 15:24:11 -03:00
palain 5629fc6b9b done testing 2021-08-12 09:13:01 -03:00
palain ccc57a675c testing 2021-08-12 09:11:53 -03:00