Arjen Hiemstra
8b82ec4c95
Only include OpenMP headers if we are actually compiling with OpenMP
...
Fixes building on OSX with Clang
2017-02-16 11:13:20 +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
Tim Kuipers
152f6e89a8
fix: more safety against empty layers (CURA-3290)
2017-01-20 16:56:01 +01:00
Tim Kuipers
113202cd34
fix: types in CubicSubdiv were wrong (CURA-3196)
...
the sphere_slice_radius2 was a long rather than a coord_t (long long)
2017-01-20 15:23:34 +01:00
Tim Kuipers
4bc706d618
fix: perimeter gaps were introduced for the overlap between infill and skin (CURA-3179)
...
this caused extra overextrusion where infill and skin meet
2017-01-20 15:01:51 +01:00
Tim Kuipers
5766e2db11
fix: don't fill gaps for outer wall when spiralize is enabled (CURA-3152)
2017-01-20 14:21:14 +01:00
Tim Kuipers
671ebccdbb
fix: indentation only (CURA-3271)
2017-01-20 14:08:56 +01:00
Tim Kuipers
2516165c86
fix: there were no support bottoms on top of the first model in support of the second model (CURA-3271)
...
All support areas are now generated before generating the interface. They are stored in supportLayer.supportAreas right after generation of the areas.
generateSupportInterface then operates on the merged supportAreas.
Note that this has a performace impact: while evaluating support interface, the support of all models is considered, rather than only the support it introduced itself.
2017-01-20 14:08:29 +01:00
Tim Kuipers
0315aaf404
fix: support top distance was one layer too high (CURA-3269)
2017-01-20 13:26:39 +01:00
Mark Burton
b43e4df3aa
Remove areas of infill smaller than min_infill_area.
...
When you have a small feature above an outer layer (e.g. raised text), the
area under the feature will be infill rather than skin and so the skin is
composed of multiple segments around the feature. Better surface quality is
obtained if the area under the raised feature is treated as skin thus allowing
more of the outer layer to be printed as a single segment. This setting
specifies the minimum area (in mm^2) of a filled region. Areas smaller than
this will be filled with skin rather than infill.
2017-01-19 11:44:22 +00:00
Ghostkeeper
405c49133b
Merge branch 'first-layer-skin-pattern' of https://github.com/14bitVoid/CuraEngine into 14bitVoid-first-layer-skin-pattern
2017-01-03 10:42:31 +01:00
Tim Kuipers
49f09ed204
fix: (anti) support meshes could f*ck up the printZ of each layer (CURA-3198)
...
those meshes didn't call createLayerParts and so their printZ was never set.
To determine the print height of a layer an arbitrary mesh was used to see the printZ.
2017-01-02 23:03:40 +01:00
14bitVoid
e717404055
Use different skin pattern on first layer
2017-01-02 22:30:41 +01:00
Ghostkeeper
3e7d623c86
Make total bounding box use head coordinates
...
Instead of nozzle coordinates.
2016-12-20 15:49:37 +01:00
Ghostkeeper
d694bff227
Remove superfluous comment
...
A bit witty, perhaps, but unnecessary.
Contributes to issue CURA-3137.
2016-12-15 12:03:28 +01:00