Wykres commitów

87 Commity (64b13b1b838105108b26746476e2052663dedf4a)

Autor SHA1 Wiadomość Data
abosafia 462dc98a9c remove_doubles before silhuette 2024-09-04 21:15:40 +03:00
abosafia 1c21f71e7d keep bezieir ifit is bezeir 2024-09-04 19:15:18 +03:00
palain cfd0639ed5 fixed open curve silhouette offset 2024-08-30 11:07:58 -03:00
abosafia 65ba22a148 curve camtools improve 2024-08-28 11:07:48 +03:00
palain 7655cf0a31 fixed silhouette and silhouette offset 2024-05-24 08:51:14 -03:00
palain f5493479b9 fixed silhouette and silhouette offset 2024-05-22 13:32:32 -03:00
palain ef47457fbc fixed silhouette and silhouette offset 2024-05-22 13:22:14 -03:00
abosafia 6f73e7fc55 reduce the remove_ double_ distance 2024-04-25 09:21:49 +02:00
abosafia f293cb7459 fix overcut 2024-04-24 17:56:01 +02: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 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
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