Wykres commitów

50 Commity (1f52788e9d811515e14e651c5add82a17b870075)

Autor SHA1 Wiadomość Data
Rob 1f52788e9d Update constants references 2024-12-15 11:12:32 -05:00
Rob 72bae15d7f Remove zip, format module, class and function
names to pep8 / Blender standards
2024-12-12 14:18:05 -05:00
SpectralVectors 3f73e0f5cd
Add files via upload 2024-10-25 21:19:33 -04:00
palain 7c7ed94309 remove blendercam references for compliance with blender usage 2024-10-02 12:03:45 -03:00
SpectralVectors d07b17aa82
Added Google-style docstrings 2024-09-08 08:15:09 -04:00
SpectralVectors e1d9d04e13
Update oclSample.py
Updated STL addon name to match Blender 4.2 naming conventions
2024-09-04 16:28:02 -04:00
palain 4db7bbc9f5 fixed import errors for blender 4.2. but may cause problems. still all work on blender 4.1.1 2024-07-26 13:11:51 -03: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
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 f3abf4e303
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:18:14 -04:00
SpectralVectors cd4856c3d0
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:54:04 -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
Joe Marshall b925de1b3d made more code use numpy 2024-01-29 12:55:49 +00:00
Joe Marshall 3e260c626c chunk to numpy 2024-01-25 11:06:14 +00:00
Joe Marshall e0c3f30a89 ocl progress 2024-01-10 15:29:22 +00:00
Joe Marshall fca43ec45d fixed crashes if bad object selections are made 2023-01-11 15:29:25 +00:00
Joe Marshall 1fe61575c9 auto-convert curves, text,surfaces to mesh 2023-01-11 15:08:23 +00:00
Joe Marshall bbb9ed97ec use new name for opencamlib 2022-12-29 06:14:35 +00:00
abosafia a2992548fc clean print lines and test ballcone object 2021-07-28 15:12:00 +02:00
abosafia 44710d44a5 fix( ballcone,cylcone) with ocl ,exact and sim 2021-07-28 13:34:42 +02:00
Alain Pelletier fdb427362b
cylcone had wrong variable for angle 2021-07-25 09:50:40 -03:00
abosafia ccc8227446 fix cylcone 2021-07-24 17:07:45 +02:00
abosafia 2c6ccae995 fix vcarve issue with ocl in another way 2021-07-22 12:42:21 +02:00
Alain Pelletier c53a5b1a6f
changed angle
changed angle to half angle.
2021-07-20 08:35:46 -03:00
Alain Pelletier ef729cee36
cylinder cone now works
still unsure if angle or half angle should be used.... I think half angle should be used
2021-07-20 08:33:24 -03:00
Alain Pelletier e356b5462b
changed cylinder angle to half angle
the wrong angle was given to opencamlib
2021-07-20 08:22:35 -03:00
Alain Pelletier 518042806e
corrected bug
corrected bug in Cylinder Cone
2021-07-19 17:58:13 -03:00
Alain Pelletier 9114535102
added cylinder cone cutter
added cylinder cone cutter to opencamlib capabilities.
2021-07-19 17:32:14 -03:00
abosafia 63f5d668b3 fix vcarve issue with ocl 2021-07-19 13:15:07 +02:00
Alain Pelletier b2bf535b57
removed camvtk import
removed vtk import which was unused.  VTK is used by opencamlib to show resutls of the rendering.  Not used in blendercam.
2021-06-08 08:26:36 -03:00
Alain Pelletier 6a7dbe88d1
Added BULLNOSE cutter
Added bullnose cutter
2021-03-12 08:57:54 -04:00
Alain Pelletier 9f044e8178
Update oclSample.py
fixed ballcone bug
2021-03-08 16:31:58 -04:00
Alain Pelletier da7e3e27ac
Added BallCone cutter
Added new cutter, BallCone for parallel and X operations
2020-12-29 20:47:50 -04:00
ksuprynowicz 5585705d77 Skin parameter now works with opencamlib 2020-05-30 21:10:23 +02:00
ksuprynowicz 07b68248da Fixed crash when opencamlib is not available 2020-05-28 16:46:45 +02:00
ksuprynowicz ab1edf4675 During cleanup oclSTL.addTriangle(t) accidentally got deleted 2020-05-13 08:21:50 +02:00
ksuprynowicz ba6652a0c9 Fixed Parallel operation with OpenCAMLib 2020-05-12 21:50:55 +02:00
TurBoss 83252eb899 remove prints 2020-05-09 05:54:35 +02:00
TurBoss 2bdbff3c80 use VTK to OCL 2020-05-09 05:52:47 +02:00
TurBoss e28d0277cd use opencamlib from inside blender 2020-03-25 01:44:24 +01:00
TurBoss 6200ac0d6f take vcarve angle into consideration for opencamlib 2020-03-15 07:09:23 +01:00
TurBoss 08d47fab1c use with method 2019-01-28 00:31:13 +01:00
TurBoss d1a40cf14b fix chain export 2019-01-27 23:57:29 +01:00
TurBoss ec0a7ce416 fix opencamlib 2019-01-27 23:06:46 +01:00
TurBoss 8276540584 remove print line + string format 2017-02-02 19:08:01 +01:00
TurBoss edc0a16cdb OCL windows changes 2017-02-02 12:07:34 +01:00
Karol Suprynowicz 1520abc38f Major performance improvement for multilayer OpenCAMLib waterline (and other small fixes) 2016-05-29 15:35:58 +02:00
Karol Suprynowicz 48e8b9fb7b OpenCAMLib waterline fixes 2016-01-13 14:10:40 +01:00
ksuprynowicz@post.pl 6295f8603a Added initial support for OpenCAMLib sampling and waterlines. Filled waterlines are not supported yet. 2015-02-06 18:38:50 +00:00