Wykres commitów

453 Commity (cd4a931002bcb765815f369f668a789cc7ad1110)

Autor SHA1 Wiadomość Data
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 85809b9611 Merge pull request #13 from vilemnovak/revert-12-revert-10-master
Revert "Revert "- little bug fixes and some code refactoring""
2015-12-24 12:40:09 +01:00
vilemnovak bbfcd78d07 Revert "Revert "- little bug fixes and some code refactoring"" 2015-12-24 12:32:07 +01:00
vilemnovak 27fff60a5f Merge pull request #12 from vilemnovak/revert-10-master
Revert "- little bug fixes and some code refactoring"
2015-12-23 20:07:02 +01:00
vilemnovak f8154f3386 Revert "- little bug fixes and some code refactoring" 2015-12-23 20:06:31 +01:00
vilemnovak a22ebc3094 Merge pull request #10 from nfz/master
- little bug fixes and some code refactoring by nfz - Big thanks, this is a lot of work.
2015-12-23 19:54:10 +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) 587602090c - not sure how this got deleted 2015-12-19 18:37:55 -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 89207225d4 gitignore update 2015-12-14 12:34:03 +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