Wykres commitów

453 Commity (cd4a931002bcb765815f369f668a789cc7ad1110)

Autor SHA1 Wiadomość Data
Jroc cd4a931002 Simplified datapoints in a chunk to avoid Shapely error - shapely.geos.TopologicalError: The operation 'GEOSDifference_r' produced a null geometry. Likely cause is invalidity of the geometry - should fix problems like this: https://github.com/vilemnovak/blendercam/issues/24 2016-06-03 14:20:50 -04:00
vilemnovak 4163b8d879 fix parentchilddist
I think shapely didn't measure distance to boundary, but to any point in
the chunk, which could lead to wrong sorting in outliefill. Now it
measures the distance to boundary.
2016-06-01 15:25:02 +02:00
Jeff Doyle (nfz) e45348f98a clean up long or or statements 2016-05-29 17:13:52 -03:00
Jeff Doyle (nfz) 9aff075721 Merge branch 'modifier' 2016-05-29 15:44:28 -03:00
Jeff Doyle (nfz) 4af841f8ce New Feature: use mesh modifiers
The user no longer has to apply modifiers to a mesh before calculating a
cam operation.  If user option "use mesh modifiers" is enabled then a
temporary mesh is created with all modifiers applied.

This has not been tested with OpenCamlib.
2016-05-29 15:41:19 -03:00
Karol Suprynowicz 1520abc38f Major performance improvement for multilayer OpenCAMLib waterline (and other small fixes) 2016-05-29 15:35:58 +02:00
vilemnovak 9906db02ab sorting was broken for some strategies
this was for parallel and similar, because I added extra sort for
outline fill, but that broke relationships for other strategies...
2016-05-28 14:43:09 +02:00
Jeff Doyle (nfz) 6e4ffe6f41 commented out pchunk variable which is never used 2016-05-28 00:43:37 -03:00
Jeff Doyle (nfz) c4f6eff8fe BugFix: exception occured if Parallel strategy, use exact, and meander path selected
samplePathLow() was not making sure Bullet collision was initialized
before using it.
2016-05-26 19:45:21 -03:00
Jeff Doyle (nfz) f3844a6c93 BugFix: if ramp in was enabled then exception was generated
- rampZigZag() was being used as a function that returned a chunk object
when in fact it returned nothing.  Its a chunk object method that works
directly on the chunk.
2016-05-25 23:22:58 -03:00
Jeff Doyle (nfz) 24a7dfcfb2 BugFix: ramZigZag() was using y axis value instead of z axis value for calculating new z axis value 2016-05-25 23:19:57 -03:00
vilemnovak d58b9e7392 Outlinefill sorting now works properly
Also when paths are trimmed due to depth or limit curve. Similar
approach could be used for other non-sorted 3d strategies.
Especially good with ZigZag - Meander movements.
2016-05-25 18:49:34 +02:00
Jeff Doyle f07dfc8101 Merge pull request #62 from nfz/master-org
Allow line breaks for gcode header and trailer by using a ;
2016-05-25 13:33:50 -03:00
Jeff Doyle (nfz) 0d0f564cf4 gcode header and trailer options now use ; as a line break
Blender UI does not support multi line edit within StringProperty so for
now we use a ; as a line break marker.
2016-05-25 13:27:03 -03:00
Jeff Doyle (nfz) 8d27eec527 Merge branch 'master' of https://github.com/vilemnovak/blendercam into master-org 2016-05-25 11:27:15 -03:00
vilemnovak 8e75d108de speedup Parent child distance finding probably by several orders.
This speeds up greatly finding of parent/child in pockets, outlinefill,
and probably more.
Pockets with many independent shapes were ultra-slow, not really
measurable, now should be usable....
2016-05-25 11:25:41 +02:00
Jeff Doyle (nfz) 70a420f246 Merge branch 'master' of https://github.com/vilemnovak/blendercam into master-org 2016-05-24 15:25:21 -03:00
vilemnovak 3628f1d7c8 enabled bridges and autobridges for more operations and meshes
Now meshes can generate autobridges too,
and many 3d operations have bridges enabled, some will not work yet
probably, but only the experimental ones...
2016-05-24 17:37:52 +02:00
vilemnovak 45aa751e0a enabled shapely based silhouette calculation- HUGE!
This is a sortof big change, because object based silhouette wasn't
stable and fast enough so far. Now it is enabled for meshes that have
less than 200k faces. This means precise silhouettes in many operations.
E.g. outlinefill now works much better. Remember, there is still a small
imprecision in the whole computation, because all faces get extended by
about 0.001 mm
2016-05-24 16:53:48 +02:00
vilemnovak 6ed6a33ff9 optimization of object silhouette
found a bug in silhouette offsetting and realized that buffering the
triangles actually works much faster, the optimization is exponential -
1300faces 1.27sec vs 2.34(original), 12k faces 13.6s vs 99.5secons(orig)
didn't test for larger meshes.
2016-05-24 16:30:07 +02:00
vilemnovak 840bc5cab0 several changes
-revert new parallel pattern algo, isn't finished yet(parallel stepback
problem)
-curves, text, can now be used also if parented
-scan tools remove small parts tool.
2016-05-24 11:28:45 +02:00
Jeff Doyle cd6b81640a Merge pull request #60 from taras-ko/tarasko
Thankyou
2016-05-22 21:12:47 -03:00
Taras Koroliuk bdf7d2e2ad Fix typo in EMC2 postprocessor 2016-05-22 19:05:28 +03:00
Jeff Doyle (nfz) e2a46fd795 Merge branch 'master' of https://github.com/vilemnovak/blendercam into master-org 2016-05-08 20:31:53 -03:00
Jeff Doyle d6f1ca8693 BugFix: Cam operation presets not working due to missing comma (#55) 2016-05-08 20:24:48 -03:00
Jeff Doyle (nfz) d202a53f81 BugFix: Cam operation presets not working due to missing comma 2016-05-08 20:19:39 -03:00
vilemnovak 71f6266f57 enable new parallell pattern generation algo - faster
The new algorithm has been there for a while but not used. It is a big
speedup for larger patterns, about 10X speedup sometimes.
2016-04-22 16:13:06 +02:00
vilemnovak 3f21527891 Change tool change output to True by default
When adding new featuers, the default behaviour should always be so that
things work like before by default... Please don't assume more users
will want a new behaviour, and not noticing this might be dangerous for
users who are used to a certain behaviour.
2016-04-21 16:34:13 +02:00
Jeff Doyle (nfz) 4281a7d3b2 Hide new experimental features
If experimental is disabled in addon properties then disable the
following:
- first down for pocket and medial axis operation
- gcode header and trailer
- tool change overides
- block numbering overrides
2016-04-15 23:50:02 -03:00
Jeff Doyle (nfz) 90408f7831 BugFix: hour, min, and sec calculations for ui display were incorrect
duration is already in minutes so go from there to get hours and
seconds.
2016-04-11 20:21:19 -03:00
Jeff Doyle (nfz) dd4140cdcb Merge branch 'master' of https://github.com/vilemnovak/blendercam into edge 2016-04-11 20:00:30 -03:00
vilemnovak ee89236d8e autogenerate bridges now assigns group name to the operation 2016-04-11 10:39:14 +02:00
vilemnovak 91234abfd8 fix collision shape of cutter being sampled
Moved the shape basically 5 meters away from center, should be ok now.
It was a stupid bug, the shape was supposed to be 100 meters of, but the
scene was scaling too for the collisions, to improve precision.
2016-04-11 10:23:42 +02:00
vilemnovak 3246480d0f Merge pull request #48 from torvn77/patch-1
Fix the panel "CAM info & warnings" display time of the NC program
2016-04-11 09:57:38 +02:00
torvn77 37effae383 Fix the panel "" display time of the NC program
Fix the panel "" display time of the NC program
2016-04-10 17:16:49 +04:00
Jeff Doyle (nfz) e1b588a1ee BugFix: firstdown for pocket operation did some strange things when sorted
Resorting a collection of chunks would yield different results than the
first sort.  This was caused by adaptdist changing the order of the
points on a chunk that had already been sorted earlier.
2016-04-10 01:36:08 -03:00
Jeff Doyle (nfz) 7c9f8b46bc Merge branch 'ISOsettings' of https://github.com/nfz/blendercam into alternative 2016-04-08 22:10:21 -03:00
Jeff Doyle (nfz) 5fa14a8f1d Merge branch 'master' of https://github.com/vilemnovak/blendercam into medialaxislayers 2016-04-08 17:10:23 -03:00
Jeff Doyle (nfz) cb83dfa88d Merge branch 'master' of https://github.com/vilemnovak/blendercam into ISOsettings 2016-04-08 17:09:33 -03:00
Jeff Doyle (nfz) 54bd482810 Don't show image resolution settings if using exact mode 2016-04-08 16:49:59 -03:00
Jeff Doyle (nfz) ea85a6f1d3 More post processor user overrides
- block numbers can be enabled/disabled in gcode output. the starting
number and increment value can also be set
- Tool change commands output can be controlled along with G43
2016-04-07 19:55:38 -03:00
Jeff Doyle (nfz) c206efc8bd disable tool change at end of program if tool change output disabled 2016-04-07 19:52:19 -03:00
Jeff Doyle (nfz) 9d69adcf75 allow disabling tool change commands and fix block number spacing 2016-04-07 19:51:16 -03:00
Jeff Doyle (nfz) 585f535864 Merge branch 'master-org' of https://github.com/nfz/blendercam into ISOsettings 2016-04-06 22:53:14 -03:00
Jeff Doyle (nfz) 3fb507dc1a fix units for spindle speed in UI 2016-04-06 22:49:31 -03:00
Jeff Doyle (nfz) bcdae8577e add some post processor user override options
added the following post processor override options:
- output block numbers
- output tool definitions
- output tool change commands
- output g43 on tool change command
- output a user defined g-code header for an operation
- output a user defined g-code trailer for an operation
2016-04-06 22:35:44 -03:00
Jeff Doyle (nfz) f9f4b1c412 Merge branch 'pocketfirstdown' of https://github.com/nfz/blendercam into medialaxislayers 2016-04-04 02:01:50 -03:00
Jeff Doyle (nfz) aafcf700b1 Merge branch 'master' of https://github.com/vilemnovak/blendercam into pocketfirstdown 2016-04-04 01:55:37 -03:00
Jeff Doyle (nfz) cba5c83b99 Solution for using prepared geometry when packing curves
Left the old code commented until this gets further testing.  Using
prepared geometry is about 30% faster on my machine.
2016-04-04 01:53:59 -03:00
Jeff Doyle (nfz) e1f2d84f48 BugFix: - Pack curves on sheet was crashing
Prepared geometery not setup properly so reverting to using basic
geometry object collision for now.

allpoly would have to be setup as a prepared geometry and not a Polygon
at the begining before entering the collision check loop.  disjoint
method is for Geometry objects and not for prepared geometry.
2016-04-04 01:14:45 -03:00