Wykres commitów

56 Commity (abb3bda8594d0dad2b81df3f4453781011156537)

Autor SHA1 Wiadomość Data
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 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
abosafia 4a1a091c4d fix start errors 2023-11-30 21:01:04 +02:00
Kosovircek a5b2e5a890 Hotfix for: No module named 'shapely' 2023-07-21 12:49:06 +02:00
palain 1e32cd9e9c added tiles to puzzle_joinery.py 2022-02-13 08:38:21 -04:00
palain 5a10344ab7 Added added rack 2022-01-29 11:51:36 -04:00
palain 7427c33e7d pep8 improvements 2022-01-22 17:41:02 -04:00
palain 5d311ef72d pep 8 and obsolete code removal 2022-01-21 13:28:28 -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 decdb16250 pep 8 and add_rectangle 2022-01-21 09:13:58 -04:00
palain 4b47bf775f some pep 8 formatting and obsolete code removal 2022-01-19 10:23:25 -04:00
palain 999644c310 crosshatch cleanup 2022-01-17 11:16:09 -04:00
palain c690fa0a0b cross hatch 2022-01-17 09:27:08 -04:00
palain f0a34bf5cb added active to shapely Poly and active to coords - cleaned pep 8 issues 2022-01-16 11:16:29 -04:00
palain 5b4e65c36d added active to shapely Poly and active to coords - cleaned pep 8 issues 2022-01-16 11:04:40 -04:00
palain abd971aa66 added active to shapely Poly and active to coords 2022-01-16 10:47:08 -04:00
palain 32b2e424e0 hatch curve creates a line pattern to plane a surface 2022-01-15 11:45:55 -04:00
palain 045cb38ebf puzzle joints - added optional overcuts 2022-01-09 17:25:13 -04:00
palain 56883ff2ac puzzle joints - Curved T 2022-01-07 09:43:45 -04:00
palain 8114d01e5e puzzle joints - multiangle MMF - MFF 2022-01-06 10:17:21 -04:00
palain cfc2b8c36c puzzle joints - rewrote puzzle twist_lock 2022-01-04 16:46:22 -04:00
palain 8c4e4811a8 puzzle joints - rewrote puzzle fingers 2022-01-04 12:28:31 -04:00
palain 6dcf5311fb puzzle joints - Mitre 2022-01-03 15:43:58 -04:00
palain e0e1528ad2 puzzle joints - T 2022-01-02 12:28:39 -04:00
palain c649451a13 puzzle joints 2021-12-30 17:13:53 -04:00
palain c28364e14e puzzle joints 2021-12-29 16:13:02 -04:00
palain 2058943b5e added joinery and drawer curve tool 2021-12-05 16:03:11 -04:00
palain 7a1dde65a6 Added Curve cam tools - sign plate 2021-09-08 10:40:47 -03:00
palain 586a208aa8 modified max for cam custom curve to be 10 2021-08-31 15:10:45 -03:00
palain 21b7acb4f1 added capability to make a medial mesh for further use 2021-08-30 14:49:06 -03:00
palain c2d246dd77 fixed simulation filename length 2021-08-12 12:50:34 -03:00
TurBoss f07848e1ff Fix #126 2020-10-12 18:45:08 +02:00
Adam Goldsmith 0094eae66e Convert line endings to LF and strip trailing whitespace in .py files 2019-11-15 13:13:09 -05:00
TurBoss d45f14a515 Speed up path calculation Thanks to @Palain
instead of SQRT he used HYPOT
2019-10-06 05:55:08 +02:00
ksuprynowicz d1ef10fefc Updated bpy.ops.transform.resize calls due to minor changes in Blender API 2019-05-08 09:56:52 +02:00
TurBoss c2c89d1550 update V-Carve ops 2019-03-06 03:39:21 +01:00
TurBoss edb54312a8 Fix curve tools 2019-02-21 22:47:26 +01:00
TurBoss b56909816a fix warnings when previous path exist 2019-01-31 03:42:51 +01:00
TurBoss 9b24469cfb 2.80_BETA 2019-01-25 23:48:11 +01:00
Jeff Doyle (nfz) 0ea9ae2480 add GPL 2 license block
- fixes #36 issue - license unclear
2016-03-24 16:20:51 -03:00
vilemnovak 6abe0c2727 manual bridge placement
Just placement of bridges, no path generating functionality yet. This is
a complex project, splitting this into more commits...
2015-08-27 18:13:38 +02:00
vilda.novak@gmail.com 00f5776402 -commiting patch by Denver Hull , big thanks!
- creates operation start - stop points
- fixes several issues with imperial units
- dummy props for new pocket option - movement.
2015-01-27 21:59:07 +00:00
vilda.novak@gmail.com 4d725a584e Tool change now reports tool definitions in gcode.
reverted chipload algo, have to investigate why it doesn't work now.
made shapely obligatory by now. It has been tested on all platforms allready, and I want to move forward to complete replacing of Polygon.
2015-01-10 23:10:18 +00:00
vilda.novak@gmail.com 228f2ff159 new strategy - projected path.
this enables to project a curve towards another curve, and do the sampling along the way - this enables undercuts for 3 axis! and should be also usefull for n-axis.
2014-11-13 17:58:56 +00:00
vilda.novak@gmail.com 61de613d9e testing - Functions testOperation(i) and testAll. - should compute operations, and use a comparison mesh(test_*) to compare vertex count and positions of the newly generated path.
-disabled parallel step-back in combination with layers, this shouldn't be allowed also before.
-small code reorganisations. 
-ramps for curve to path
-fix several zero divisions in ramps
-add some comments 
-commented unused outlineimage functions
-some small tests in CrazyPath
2014-09-23 18:15:10 +00:00