Tim Kuipers
5a48d86bd7
refactor: handle layer plans outside of buffer (CURA-3339)
...
allocation is handled outside buffer
writing gcode is handled outside buffer
buffer processing is handled separately from adding to the buffer
2017-02-17 11:44:53 +01:00
Tim Kuipers
79cb7850e9
refactor: simplified processLayer calls (CURA-3339)
2017-02-17 11:44:53 +01:00
Tim Kuipers
9e4a786f3d
refactor: clean up GCodePathConfig (CURA-3339)
...
have one constructor rather than a constructor, init, setLayerHeight and smoothSpeed
2017-02-17 11:44:53 +01:00
Tim Kuipers
fe49157ca8
refactor: PathConfigs ==> PathConfigStorage (CURA-3339)
...
because the structure follows the structure of SliceDataStorage.
2017-02-17 11:44:53 +01:00
Tim Kuipers
889c2e4b13
fix: GCodePathConfig extrusion_per_mm was calculated too early (CURA-3339)
...
this resulted in all extrusion lines being replaced by travel paths.
This problem was introduced a couple of commits ago.
The underlying problem, that there needs to be a definite order between init and setLayerHeight, will be solved in a commit soon to come.
2017-02-17 11:44:53 +01:00
Tim Kuipers
ca3848f79a
fix: const correctness (except some const_cast instances!) (CURA-3339)
2017-02-17 11:44:53 +01:00
Tim Kuipers
77f1aebef9
fix: bundle state from gcodePlanner into class (CURA-3339)
...
this helps in making GCodePlanner multithreaded
The state of the gcodePlanner which is carried over to the next layer is bundled in a nice package, which is to be dealt with soon in a coming commit
2017-02-17 11:44:53 +01:00
Tim Kuipers
046c34b31b
lil gitignore
2017-02-17 11:44:53 +01:00
Tim Kuipers
066a0d7318
fix: move writeGcode configs out of sliceDataStorage (CURA-3339)
...
This contributes to making sliceDataStorage const after FffPolygonGenerator has been called
2017-02-17 11:44:53 +01:00
Tim Kuipers
989317a293
fix: const correctness in combing (CURA-3339)
2017-02-17 11:43:45 +01:00
Tim Kuipers
cf3d18eb75
fix: const correctness in prime tower (CURA-3339)
2017-02-17 11:43:45 +01:00
Tim Kuipers
c9096424c1
fix: lil const correctnes MergeInfillLines (CURA-3339)
2017-02-17 11:43:45 +01:00
Tim Kuipers
d489143fcb
fix: const correctness in polygon (CURA-3339)
2017-02-17 11:43:45 +01:00
Tim Kuipers
8ac3b49549
refactor: introduced ConstPolygonRef (CURA-3339)
...
Adapted from 9712301aa8
From @Johan3DV 'Improve const correctness and remove const_cast'
2017-02-17 11:43:45 +01:00
Tim Kuipers
bdb788e3c4
don't generate towers when support_use_towers is disabled (CURA-3288)
2017-02-15 12:48:46 +01:00
Tim Kuipers
5b00c21a5f
Merge branch 'feature_omp_settings'
2017-02-15 12:19:21 +01:00
Tim Kuipers
b546f66bbe
Merge branch 'feature_omp_skin_infill'
2017-02-15 12:16:37 +01:00
Tim Kuipers
2af8320cc9
Merge branch 'feature_omp_slicing'
2017-02-15 12:16:11 +01:00
Tim Kuipers
5fa5c89935
fix: const correctness of getSetting functions (CURA-3372)
2017-02-15 12:05:14 +01:00
Tim Kuipers
5c40f74c68
feat: small optimization in setting value retrieval (CURA-3372)
2017-02-15 12:03:11 +01:00
Tim Kuipers
60cebc86eb
fix: error on unknown unset setting, rather than warn (CURA-3372)
...
this als oremoves a const_cast :)
2017-02-15 12:02:36 +01:00
Tim Kuipers
1bb4e03b36
fix: remove superfluous const_cast (CURA-3372)
2017-02-15 11:46:01 +01:00
Tim Kuipers
677857a186
fix: lil (CURA-3331)
2017-02-09 21:13:26 +01:00
Tim Kuipers
156674e452
fix: bs include (CURA-3331)
2017-02-09 17:44:23 +01:00
Tim Kuipers
903b31d381
Merge branch 'feature_omp_skin_infill' of github.com:Ultimaker/CuraEngine into feature_omp_skin_infill
2017-02-09 17:41:49 +01:00
Tim Kuipers
734978230f
lil (CURA-3330)
2017-02-09 17:41:45 +01:00
Tim Kuipers
fa02006a5d
fix: logging of OpenMP threads in main (CURA-3330)
2017-02-09 15:30:45 +01:00
Ghostkeeper
6861020c6b
Remove irrelevant documentation of different function
...
This documentation of processInsets reports on one of the generateInsets functions. Probably a copy-paste mistake.
Contributes to issue CURA-3330.
2017-02-08 16:43:13 +01:00
Ghostkeeper
2d9a3c83ef
Code style: Space after for keyword
...
Contributes to issue CURA-3330.
2017-02-08 16:29:02 +01:00
Ghostkeeper
ab7e035f6e
Don't continue with compiling when function has error
...
This would give an exception which breaks the script and makes a very unclear chained error message.
Contributes to issue CURA-2572.
2017-02-03 17:05:28 +01:00
Ghostkeeper
d0a149cf26
Fix error handling when setting has a parse error
...
The code was an integer. It needs to be converted to a string in order to be added to other strings.
Contributes to issue CURA-2572.
2017-02-03 17:05:28 +01:00
Tim Kuipers
4d35735aa8
Merge pull request #451 from smartavionics/mb-spiralize-bug
...
Fix spiralize args bug - untested but this just looked wrong to me.
2017-02-02 13:12:49 +01:00
Mark Burton
5e831f99e9
Fix spiralize args bug - untested but this just looked wrong to me.
2017-02-02 08:08:50 +00:00
Tim Kuipers
04766f663b
Add OpenMP parallel execution createLayerParts (CURA-3331)
2017-02-01 13:26:51 +01:00
Tim Kuipers
42684e6368
feat: Add OpenMP parallel execution of slice make polygons (CURA-3331)
2017-01-31 11:41:34 +01:00
Ghostkeeper
aa14682087
Remove 'l' formatting character and simplify+speed-up int2mm formatting
...
The 'l' formatting character in combination with 'd' was not allowed with MinGW on Windows. Simply formatting with 'd' is sufficient since our coordinates are allowed to be cast to integers at this stage: We won't need to square them any more or anything.
Contributes to issue CURA-3274.
2017-01-31 10:35:28 +01:00
Tim Kuipers
4c5a959c4e
fix: handle multithreaded progress messages (CURA-781)
2017-01-30 17:41:33 +01:00
Johan Kristensen
21746022c4
Add OpenMP parallel execution of processInsets
...
CURA-541
2017-01-30 17:36:12 +01:00
Johan Kristensen
d6bf9be54e
Add OpenMP parallel execution of processSkinsAndInfill
...
CURA-541
2017-01-30 17:35:59 +01:00
Johan K
fff1164042
Add cmake option to enable OpenMP
...
CURA-541
2017-01-30 17:30:44 +01:00
Ghostkeeper
c7e621eeb5
Merge branch '2.4'
2017-01-25 17:46:07 +01:00
Ghostkeeper
9c3170b277
Print debug message upon sending layer data
...
This should help a bit with debugging the slice loop. I hope.
Contributes to issue CURA-3274.
2017-01-25 17:45:34 +01:00
Ghostkeeper
e2f89778e2
Remove p1 after inserting point next to it
...
Because this insertion requires dereferencing p1. If it has been removed from the list, dereferencing it would remove it from memory so that would be an invalid pointer reference.
Contributes to debugging issue CURA-3274.
2017-01-25 14:40:11 +01:00
Ghostkeeper
8f74952aca
Replace last long in gcodeExport with int64_t
...
Previously we had a crash only on windows because the long was not long enough. Perhaps this fixes something with the slicing loop.
Contributes to issue CURA-3274.
2017-01-25 13:36:14 +01:00
Ghostkeeper
5b6f1db59d
Merge branch 'mb-min-infill-area' of https://github.com/smartavionics/CuraEngine into smartavionics-mb-min-infill-area
2017-01-24 11:40:03 +01:00
Tim Kuipers
17463e1139
quick fix: accidental const (CURA-3309)
2017-01-23 17:37:17 +01:00
Tim Kuipers
8df26ae916
fix: equalize flow still equalizes after halving the line width for perimeter gaps (CURA-3309)
2017-01-23 17:36:24 +01:00
Tim Kuipers
9ac9d1dd59
Merge branch '2.4'
2017-01-23 14:54:16 +01:00
Tim Kuipers
c2aa1d59bc
fix: add perimeter_gaps config with line width of half the inner wall line width (CURA-3309)
...
also the perimeter gaps of the skin walls now have to be generated separately
2017-01-23 14:53:57 +01:00
Tim Kuipers
3d476f114b
Merge branch '2.4'
2017-01-23 10:22:54 +01:00