Wykres commitów

412 Commity (70a420f24608c1f546e8b59bd2d6261185852ea1)

Autor SHA1 Wiadomość Data
Jeff Doyle (nfz) 0fead8904b expanded some post processor descriptions and made it easier to edit them 2016-02-02 23:10:48 -04:00
vilemnovak e16f252036 fix custom cutters
There was an api update in blender probably, the output of ray_cast
function is different now.
2016-02-02 23:28:01 +01:00
Jeff Doyle (nfz) f14bd23c55 Merge branch 'master' of https://github.com/vilemnovak/blendercam into NCupdate 2016-01-31 19:31:13 -04:00
Jeff Doyle (nfz) 51f1d2ebe3 Merge branch 'master' of https://github.com/vilemnovak/blendercam into master-org 2016-01-31 19:23:19 -04:00
Jeff Doyle (nfz) 13734c9d27 - Bugfix: fix typo for TNC151 post processor which was causing a crash when TNC151 was selected by user. 2016-01-31 19:23:00 -04:00
Jeff Doyle (nfz) 5c9fa42b22 - emc2 post processor: remove duplicated code from iso 2016-01-31 19:02:31 -04:00
Jeff Doyle (nfz) 03f75c3c51 - windpc post processor: remove duplicated code from iso 2016-01-31 18:53:33 -04:00
Jeff Doyle (nfz) fd33a06d6a - gravos post processor: fix comments that got broke in a previous commit 2016-01-31 18:40:48 -04:00
Jeff Doyle (nfz) 0a794097a1 - removed duplicate code as found in iso class and fixed line numbering not showing 2016-01-31 18:19:21 -04:00
Jeff Doyle (nfz) e7205aa8f7 - post processor subclasses using init instead of __init__ 2016-01-31 17:28:26 -04:00
Jeff Doyle (nfz) 424369d82e - fix spacing in gravos post processor 2016-01-31 15:54:11 -04:00
Jeff Doyle (nfz) 25534d7546 - fix spacing when writing spindle and g_plane 2016-01-31 15:03:37 -04:00
Jeff Doyle (nfz) 73b920a8e1 - Bugfix: had some trailing space issues on some post processors that did not exist before the NC update 2016-01-31 14:25:44 -04:00
Jeff Doyle (nfz) cc9b35deb7 - only output feedrate if there is a rate change 2016-01-31 12:34:30 -04:00
vilemnovak f1014415e3 fix a few bugs
- when more than one scriptpath are enabled in Blender, backgroundop.py_
couldn't be found sometimes.
- medial axis ball cutters didn't work
-version in init file was still 0.8
2016-01-31 10:14:20 +01:00
Jeff Doyle (nfz) 1931065959 - write_blocknum() not needed 2016-01-30 23:11:16 -04:00
Jeff Doyle (nfz) 9cdc21d356 - blocknumber is automatic now so don't call write_blocknum() 2016-01-30 22:48:47 -04:00
Jeff Doyle (nfz) a4697d6319 - Bugfix: feedrate causing crash and fixed some tab issues 2016-01-30 22:31:16 -04:00
Jeff Doyle (nfz) d53929d685 NC library update
Update NC library to Heekscnc NC version 1.0
- feed now accepts 6 axis parameters
- tool_defn function now uses a params list instead of individual param
names
- improved drill cycle
- improved number formating - better rounding
- block numbering now automatic - no longer need to call
write_blocknum().
- dwell works now
2016-01-27 19:34:01 -04:00
Jeff Doyle (nfz) 8e3feea939 - increase Blendercam version to 0.9 2016-01-22 18:36:10 -04:00
vilemnovak 1c469394d7 Medial axis is now limited by cutter diameter
Before, it was going always in the middle which was non-sense...
now, it can be combined with a reasonably set pocket operation for
milling stamps and similar.
2016-01-17 20:05:45 +01:00
vilemnovak 775ee04081 silh offset operator wasn't supporting fonts and some cleanup 2016-01-15 10:42:39 +01:00
vilemnovak 312a5bff0f intarsion didn't support font object 2016-01-15 09:29:52 +01:00
vilemnovak 7b9ee5f259 expose various curve operators - again
Old version didn't support tabs - now there's a tab called Blender CAM
where we can add various usefull tools.
now there are:
booleans
intarsion
overcuts
Silhouette offset (works also for meshes)
remove doubles

I will welcome if this gets added to docs ;)
2016-01-15 09:22:43 +01:00
vilemnovak 2ae6914906 update intarsion to use diameter instead of radius
For more consistency with rest of bcam
2016-01-15 08:26:26 +01:00
vilemnovak bddcc57a68 update overcut operator
Now things should be more usefull for both use cases, where you are
defining whole shape with holes, or just the hole.
2016-01-15 08:19:02 +01:00
vilemnovak e5c81c14d3 Overcuts operator
Generates overcuts on a curve.
- inner, or also outer polygons.
-has threshold for angles to consider

the overcuts are optimal - done so that the radius of the cutter only
touches the corner, but doesn't go behind it.
2016-01-15 00:20:30 +01:00
vilemnovak d9f29028ad optimize chunk sorting
this optimizes chunk sorting a bit, by not iterating over too many
children - some chunks could be checked many times.
For parallel operations with layers, this fixes something that was
rather a bug - because too many relations were created and this could
lead to exponential computation times relative to count of layers.
2016-01-14 08:54:57 +01:00
vilemnovak f1b636b1b9 Ramps were broken due to changes in ramp functions
- not returning chunks, just modifiing the actual chunk.
2016-01-14 08:54:56 +01:00
Karol Suprynowicz 9c0e0bc36e Fixed OpenCAMLib sampling for Parallel and other operations 2016-01-13 16:40:10 +01:00
Karol Suprynowicz 48e8b9fb7b OpenCAMLib waterline fixes 2016-01-13 14:10:40 +01:00
vilemnovak 4ac35a73f8 medial axis fonts subdivision 2016-01-03 23:40:34 +01:00
vilemnovak f63a3cc54a improve exact silhouette finding algorithm 2016-01-02 18:37:15 +01:00
vilemnovak d662996752 Big Polygon library massacre + memory limit for non exact mode
the memory limit is a new feature, preventing crashes when ppl. e.g.
compute path on the default size obects, and also any other cases with
non-exact mode.

otherwise, big, happy removal of polygon library residues. This library
is NO logner a dependency of blender CAM. Shapely library works far
better in most cases. Sometimes it's slower but this can be compensated
with optimizations almost always quite easily.
2016-01-02 17:37:25 +01:00
vilemnovak e0b43951ea fix issue with sorting chunks
Infinite loop was caused by don't merge paths option. This option can
cause chunks to intersect, and then seemed for the algorithm as one
inside each other, thus causing a parent-child loop.
Important to mention is the fact, that don't merge outlines is an exotic
option which is there ONLY for milling PCB's,...
2015-12-31 02:19:15 +01:00
vilemnovak 44996564bd more bridges fixing 2015-12-30 21:56:38 +01:00
vilemnovak d6f30b13c5 more bridges optimization
it is better to merge bridges into one object before processing...
2015-12-30 21:30:57 +01:00
vilemnovak 752a41629e optimize bridges code - a LOT
bridges code had some really stupid redoing - it was getting the bridges
polygon for EACH chunk which was supposed to be computed...  this proves
again my old rule - if I write something very badly , I can then enjoy
optimizations by several hundred percent :)
2015-12-30 21:25:25 +01:00
vilemnovak 874a3322d5 add comment 2015-12-30 19:16:06 +01:00
vilemnovak f1330c93d6 improve medial axis
the way curvers are subdivided before voronoi processing matters - lines
are now subdivided from both ends, to get same distances to the corner,
this makes carving of shapes with straight vectors much better.
2015-12-30 19:15:30 +01:00
vilemnovak b6e722f419 medial axis was merging paths based on bad threshold value 2015-12-27 01:35:44 +01:00
vilemnovak fb4219257d forgot to disable print 2015-12-26 21:59:07 +01:00
vilemnovak 1491585bcf medial axis ballcutter support and limits for cutters depths. 2015-12-26 21:52:52 +01:00
vilemnovak d75d699187 medial axis auto - increase curves resolution before computation 2015-12-26 21:20:56 +01:00
vilemnovak 7cb8902d88 fix shapelyToCoords function
this functin didn't support LineString yet
2015-12-26 20:24:02 +01:00
vilemnovak 6b2592084d medial axis provids first interesting results...
with a better voronoi, this would be what it's supposed to be. Now with
V-carve tool it allready looks ok for first test, however always with a
tuning parameter, to not have many short lines in the voronoi graph.
2015-12-25 11:25:18 +01:00
vilemnovak ca8dc95750 fix + medial axis work
now also 2-point lines get processed correctly for various operations.
medial axis actually produces g-code, but still highly un-tuned.
2015-12-24 15:19:23 +01:00
vilemnovak cb18e89077 cleanup 2015-12-24 14:02:35 +01:00
vilemnovak fc1c83bd5b much better bridge placement 2015-12-24 13:51:22 +01:00
vilemnovak 788d7c4692 enable shapely speedups module - should be faster in some cases. 2015-12-24 13:04:52 +01:00
vilemnovak 901760a9ab optimized pack
optimized pack algo, works same speed as with polygon or a bit faster.
Did this mainly to learn how to optimize shapely code a bit to get
better faster results...
2015-12-24 12:55:46 +01:00
vilemnovak bbfcd78d07 Revert "Revert "- little bug fixes and some code refactoring"" 2015-12-24 12:32:07 +01:00
vilemnovak f8154f3386 Revert "- little bug fixes and some code refactoring" 2015-12-23 20:06:31 +01:00
Jeff Doyle (nfz) b4cd9c2ff3 - this is not needed anymore 2015-12-21 20:10:19 -04:00
Jeff Doyle (nfz) 74f742bcd3 Merge branch 'master' of https://github.com/vilemnovak/blendercam 2015-12-21 19:56:41 -04:00
vilemnovak 7a95086a2b pocketing changes and pack redone for shapely
pocket rest milling is now a bit better, still not good.
2015-12-21 20:07:04 +01:00
Jeff Doyle (nfz) e42da859af Merge branch 'master' of https://github.com/vilemnovak/blendercam 2015-12-21 14:46:56 -04:00
vilemnovak ddd8557d07 more shapely fixes
-new function for filtering shapely geometry(not needed in the end, but
present...)
-pocket with distance of paths larger than cutter radius - doesnt work
as it used to, needs to be recoded, but by now, it at least DOES
something and doesnt crash....I need to rethink this.
2015-12-21 18:44:57 +01:00
Jeff Doyle (nfz) ecb20ab63c - experimental work around for infinit loop problem commented out for mainline users. 2015-12-20 14:48:44 -04:00
Jeff Doyle (nfz) 02be08f0d7 - Waterline and pocket strategies do not use exact mode so do not offer in UI. 2015-12-19 21:08:12 -04:00
Jeff Doyle (nfz) 24f3e0938d - Bugfix: sometimes ( not very often ) sortChunks would end up in an infinite loop.
There is a bug in the way chunks are sorted.  Did not find the source of
the problem but found a temporary solution which is to not to sort the
remainding chunks.  Looks like its at the most 3 chunks that don't get
sorted based on the test cases tried.  Only seems to happen on
complicated patterns.
2015-12-19 18:16:31 -04:00
Jeff Doyle (nfz) 7c4882d90c Merge branch 'master' of https://github.com/vilemnovak/blendercam 2015-12-19 12:37:03 -04:00
vilemnovak 46ac43eaa5 Shapely replaces Polygon Library - BIG COMMIT
this commit might brake stuff, but it was very needed, to eradicate the
old and not updated Polygon Library with the Shapely lib, which gets
developed more actively.
Lots of functions changed, but so far, things look good, so I commit.
Polishing and deleting old functions come after this.
2015-12-16 18:07:02 +01:00
vilemnovak a1114f0d5b Autogeneration of bridges - basics
These are the basics for autogenerating bridges, hope with this will be
clear how things work..
2015-12-14 14:36:17 +01:00
vilemnovak 23906fc473 new bridges!
new bridge implememtation:
bridges are generated from a group of curves, which define bridge
borders. This works much better than the old implementation, where auto
bridges didn't work well with other features like ramps, multiple
outlines.
2015-12-14 12:33:55 +01:00
Jeff Doyle (nfz) a18811a644 Merge branch 'master' of https://github.com/vilemnovak/blendercam 2015-12-07 12:36:06 -04:00
vilemnovak 7badfb7598 Merge pull request #6 from RusticSignDesign/master
Do not need repeated "uncut area" warnings
-thanks to "RusticSignDesign" for this fix. Sorry for late pulling, I didn't actually know how to do that :)
2015-12-07 15:03:34 +01:00
vilemnovak 22772179d1 little shapely conversion functions
this time without commiting userpref.blend
2015-12-07 11:10:45 +01:00
vilemnovak 585e39a21a Revert "little shapely functions"
This reverts commit 17e3770bfa.
2015-12-07 11:08:18 +01:00
vilemnovak 17e3770bfa little shapely functions 2015-12-07 11:07:55 +01:00
RusticSignDesign 655e8ae881 Do not need repeated "uncut area" warnings
Fixed pocket operation so that it would not give as many "uncut area possibility" warnings as there are step-over paths.
2015-12-04 12:55:23 -08:00
Jeff Doyle (nfz) a8e0475179 - moved skin setting to bottom of UI
- fixed some typos from prev commit
2015-11-04 22:46:53 -04:00
Jeff Doyle (nfz) 2aac0cad8f Merge branch 'master' of https://github.com/nfz/blendercam 2015-11-04 21:55:06 -04:00
Jeff Doyle (nfz) b7874576c6 - BugFix: user did not have access to skin setting for all operations. fixed #1 issue on github repo 2015-11-04 21:53:06 -04:00
Jeff Doyle (nfz) 09004a5fea - started moving operations into seperate functions 2015-11-04 17:32:40 -04:00
Jeff Doyle (nfz) 8e40df25cb - added descriptions for cutter movement types 2015-10-31 21:24:59 -03:00
Jeff Doyle (nfz) 05b0bb86a2 - Zig Zag is a more common description than meander for the movement type 2015-10-31 20:02:15 -03:00
Jeff Doyle (nfz) 5914aa71f5 Merge branch 'master' of https://github.com/vilemnovak/blendercam 2015-10-28 02:36:54 -03:00
Jeff Doyle (nfz) 06cb189bd8 added grbl post processor 2015-10-28 02:34:48 -03:00
vilemnovak 64fc0cd8a5 Imperial export broken
Don't know when this got in - Imperial units were replaced with "INCH"
in the code...
2015-10-10 23:25:27 +02:00
vilemnovak fa6a814773 Merge pull request #4 from nfz/master
Some small fixes by nfz - will tweak something maybe, but all are really very simple, so thanks for them !
2015-10-03 14:55:28 +02:00
vilemnovak d7b77e1481 chipload wasn't updating + small cleanup 2015-09-28 15:05:14 +02:00
vilemnovak 3356ed987d UI tweaks - warnings
add red icons to warnings, so they are better visible.
2015-09-28 14:34:50 +02:00
Jeff Doyle (nfz) f8be77852c Merge branch 'master' of https://github.com/vilemnovak/blendercam 2015-09-26 17:49:56 -03:00
vilemnovak 73917cbe40 fix a bug with custom cutters+exact mode
centering of the cutter was wrong, due to a new blender operator
feature.
2015-09-26 18:52:20 +02:00
vilemnovak 6932765078 fix a bug in sorting, function could return allready sorted chunk 2015-09-26 15:24:35 +02:00
vilemnovak e23b7e7b3a multiple changes
merge distance parameter for path merging tuning
move parallell steb back
work on manual bridges placement
2015-09-26 15:09:33 +02:00
Jeff Doyle (nfz) 92c8dc1d76 Temp Fix: commented out redraw request for property areas in timer_update
Requesting all property areas to redraw was causing severe UI slow down
on my netbook and also causing cpu to overheat.  Commented out the
redraw request for now until better solution found.  Does not seem to
effect operation when normal calc used and UI response is now much
faster.
2015-08-30 19:50:35 -03:00
Jeff Doyle (nfz) a843012442 Bug Fix: adding a new machine preset generated an error
use_position_definitions is not an attribute of unit_settings but of
cam_machine
2015-08-29 23:52:02 -03:00
Jeff Doyle (nfz) 8e25fe4e26 give default Feedrate a unit of length - easier for user 2015-08-29 23:19:59 -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
vilemnovak 9f8758b06f finally time for development! 2 fixes
better sorting of holes, per part this time...
fixing a bit conversion of polygon/shapley, has to be tested...
fixed spindle in exporting multiple files.
2015-08-09 17:38:39 +02:00
vilemnovak 92b6f94051 cutout outlines >0 didn't support insideout/outsidein 2015-07-03 15:58:49 +02:00
vilemnovak 50afb283cb allow smaller reduction threshold
Optimisation threshold was still too high, had to stop using blender's
unit system for it, there could be problems in finish...
2015-06-24 14:05:32 +02:00
vilemnovak 8c83557ac8 disable sorting for waterline
was doing big mess currently
2015-06-03 09:06:47 +02:00
vilemnovak 09ec19afe2 enable moving operations in chain up and down 2015-06-02 21:45:11 +02:00
vilemnovak 452e2af2ff visual hint for not renaming bg computing ops
if you rename an operation which is computing in background , the
calculation will go on but will fail to re-upload the path.
2015-06-02 21:16:13 +02:00
vilemnovak cdadbd7fb7 fix bg operation not finding context
this fixes the fact that sometimes timer update couldn't find screen
data in context.
2015-06-02 21:08:49 +02:00
vilemnovak 77c495380c kill bg operations
enable killing of background operations through the kill command.
2015-06-02 21:04:17 +02:00
vilemnovak 3e3d40c16c hole sorting
hole sorting in cutout operations and generally sorting of "lower
levels" got now improved...
2015-05-09 23:19:46 +02:00