tamasmeszaros
d4fe7b5a96
Adding rotating calipers algorithm for minimum are bounding box rotation.
...
Cleanup, fix build on windows and add test for rotcalipers.
Try to fix compilation on windows
With updates from libnest2d
Another build fix.
Clean up and add comments.
adding rotcalipers test and some cleanup
Trying to fix on OSX
Fix rotcalipers array indexing
Get rid of boost convex hull.
Adding helper function 'remove_collinear_points'
Importing new libnest2d upgrades.
Disable using __int128 in NFP on OSX
2019-06-06 14:27:07 +02:00
tamasmeszaros
6136fe7d92
Future-proof qhull dependency handling
2019-06-05 19:19:49 +02:00
tamasmeszaros
12797f2aa8
Re-adding missing file
2019-06-05 15:50:27 +02:00
tamasmeszaros
97cbb5344e
Merge branch 'master' into tm_sla_printer_mirror
2019-06-05 15:10:02 +02:00
Enrico Turri
a9ea9b3e0a
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-06-05 07:48:32 +02:00
bubnikv
8da54139c4
WIP: Admesh - replacement of C memory allocation with std vectors
2019-06-04 22:06:42 +02:00
bubnikv
3ab886b747
Fix of mesh decimation (the admesh library).
...
Fixes "Unable to save project (#2445 )"
2019-06-04 18:25:53 +02:00
tamasmeszaros
7a5d3de1c4
Move cstdint to Zipper header.
...
The declarations already contain specific integers.
2019-06-04 09:26:33 +02:00
Vojtech Kral
053a0af374
Add missing header
2019-06-03 17:41:02 +02:00
Enrico Turri
273c30c8ce
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-06-03 15:47:33 +02:00
tamasmeszaros
8376d14267
Fix for opening issues with archive files.
2019-06-03 15:27:46 +02:00
Bryan Smith
3d8bd85187
Add new [total_layer_count] placeholder everywhere [layer_num] is avalible.
...
Missed adding [total_layer_count] to layer_gcode
Revert "Add new [total_layer_count] placeholder everywhere [layer_num] is avalible."
This reverts commit e29e766224a14e1f237908c3e5507ac5586ca5b7.
Revert "Missed adding [total_layer_count] to layer_gcode"
This reverts commit f07907a8acc450e9ae1220c6a9fe4f7c7e6d896c.
Better way to add [total_layer_count]
2019-06-03 14:47:18 +02:00
Enrico Turri
4a4deef420
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-06-03 12:16:38 +02:00
tamasmeszaros
460887cdde
Adjust miniz usage to use nowide FILE streams everywhere.
2019-06-02 22:27:35 +02:00
tamasmeszaros
15620a2fc2
Fix unclosed file after export.
2019-06-02 20:02:27 +02:00
tamasmeszaros
916016f2d4
Use nowide fopen in Zipper instead of patching miniz.
2019-06-02 19:10:13 +02:00
Enrico Turri
545c013acd
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-06-02 09:39:11 +02:00
tamasmeszaros
34663a3514
Merge branch 'tm_minz_update'
2019-05-31 18:34:59 +02:00
Enrico Turri
58adeb01d1
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-05-31 07:41:22 +02:00
tamasmeszaros
96380180f4
Build system tweaks to get rid of cmake and boost warnings.
2019-05-30 17:48:32 +02:00
Enrico Turri
e0da08906b
Disabled debug render statistics dialog
2019-05-27 09:20:48 +02:00
Enrico Turri
efe29b3c2d
Fixed conflicts after merge with master
2019-05-24 15:29:22 +02:00
Enrico Turri
bf9740188a
Code cleanup
2019-05-24 15:22:27 +02:00
Enrico Turri
c92940c985
Fixed conflicts after cherry-picking 844e99f84e
2019-05-24 14:42:46 +02:00
bubnikv
209f1e3b99
Fix of loading the variable layer height profile and the SLA support
...
points for projects with instances.
3mf does not support a concept of instances, therefore all the instances
of all objects are indexed in a linear fashion. However, the 3mf files
index the layer height profiles and the SLA support points with
the object ID. The loading was fixed to take the different indexing
into account.
2019-05-24 12:17:54 +02:00
Enrico Turri
302ac3a849
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-05-24 08:22:53 +02:00
bubnikv
343d2ea16d
Fixed update of the SLA back end object properties, leading to
...
the "disable supports" and "disable pad" flags being ignored
after the project was loaded.
2019-05-23 15:43:16 +02:00
Enrico Turri
3aa14bddf5
Max texture size dependent on OpenGL version on Win and Linux and on retina monitors on Mac
2019-05-23 13:49:57 +02:00
tamasmeszaros
902bf682c0
Replacing old miniz version with new 2.1.0
...
#2333 : The amalgamated library is used from the 'releases' section of the original upstream https://github.com/richgel999/miniz
2019-05-23 11:52:31 +02:00
Enrico Turri
763576fbc2
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-05-23 08:29:43 +02:00
Lukas Matena
07282eb24d
Fixed unit tests when run with range checks on std::vector
...
There was a bug in unit tests that led to generating the wipe tower with non-normalized preset.
This caused out-of-bounds access into max_layer_height vector in fill_wipe_tower_partitions.
The problem surfaced in https://github.com/prusa3d/PrusaSlicer/issues/2288 .
I quickly patched additional normalization of the preset to prevent this from happening.
Also, an assert in the same function turned out to trip on one of the tests.
This one was commented out for now and will (hopefully) be looked into later.
Function Print::apply_config was renamed to apply_config_perl_tests_only so everyone
sees its current purpose and does not mistake it for the more important Print::apply.
2019-05-22 16:48:20 +02:00
Enrico Turri
844e99f84e
Prototype of scale to fit print volume command
2019-05-22 14:42:38 +02:00
Enrico Turri
3f990f1f45
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_experiments
2019-05-22 10:31:12 +02:00
Jason Tibbitts
ef028cd8b1
Use generic qhull include location
...
Currently the qhull includes are referenced absolutely, but the compiler
is always called with the src directory in the include path and so it
should be safe to specify a more generic path.
2019-05-22 10:29:54 +02:00
Jason Tibbitts
37984ece16
Use the correct expat location
...
expat.h is (in most Linux distributions, at least) located directly in
/usr/include. Because the compiler is called with the src directory in
the include path, the include of <expat/expat.h> happens to work but
results in the bundled version of the header being used instead of the
system version.
2019-05-22 10:10:58 +02:00
Enrico Turri
efd247fc58
Use texture compression on GPU
2019-05-21 14:19:03 +02:00
Enrico Turri
91b97337b0
Tech ENABLE_NEW_EULER_ANGLES set as default
2019-05-21 10:16:44 +02:00
Enrico Turri
ac368e2c9e
Tech ENABLE_GENERIC_SUBPARTS_PLACEMENT set as default
2019-05-21 10:01:04 +02:00
Enrico Turri
83c06859a6
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-05-21 09:43:14 +02:00
Enrico Turri
975ccc4ac1
Tech ENABLE_VOLUMES_CENTERING_FIXES set as default
2019-05-21 09:42:59 +02:00
bubnikv
05aa51150c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-05-21 09:41:51 +02:00
bubnikv
84965dcb44
Fix of "PrusaSlicer 2.0.0.-rc+ g-code error when importing #2304 "
2019-05-21 09:41:46 +02:00
Enrico Turri
2a973c1dfa
Removed tech DISABLE_DESELECT_ALL_MENU_ITEM
2019-05-21 09:23:45 +02:00
Enrico Turri
84632d32ba
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera
2019-05-21 08:23:53 +02:00
tamasmeszaros
9dc6699229
Eliminate some warnings
2019-05-20 12:29:14 +02:00
tamasmeszaros
4e2ef09a50
Fixing build on Win and OSX
2019-05-20 11:34:48 +02:00
Enrico Turri
783a527109
Added imgui debug dialog for camera statistics
2019-05-20 09:39:57 +02:00
tamasmeszaros
38d54d779a
Mirror checkboxes added to the UI.
...
Everything seems to work fine.
2019-05-18 23:21:59 +02:00
tamasmeszaros
bb73b59aa6
Mirroring refactored.
2019-05-18 22:45:24 +02:00
Unknown
baab5e49f1
Mirroring parameters prepared for UI.
...
Actual mirroring disabled, it will be refactored to maintain clarity of code.
2019-05-18 16:56:46 +02:00
bubnikv
04397c7948
Changed the G-code export and send to OctoPrint GUI code
...
to store the G-code next to the project file if it exists,
and to process the project name with the PlaceholderParser.
2019-05-17 16:27:00 +02:00
bubnikv
c7f6e5436c
Fix of
...
Extend the "filament type" list with PC or allow free form text into the filament type field. #1704
2019-05-17 11:46:46 +02:00
bubnikv
df19314645
Changed the default of output_filename_format to "[input_filename_base].gcode"
...
for FDM, and "[input_filename_base].sl1" for the SLA technology.
This improves the situation of
"Filename creation with variables broken"
https://github.com/prusa3d/PrusaSlicer/issues/1918
where anything after the last dot in the file name is considered
as an extension, therefore the .gcode resp. .sl1 extension is not added.
Now the user gets the output_filename_format filled in with the correct
extension.
Also now if the output_filename_format is empty, the output name
is generated anyway.
2019-05-16 15:55:26 +02:00
YuSanka
68bffee102
Fixed a typo leading to a crash in another then English languages ( #2233 )
2019-05-15 09:44:38 +02:00
bubnikv
3f08d9f30d
Changed references to renamed github project
...
https://github.com/prusa3d/PrusaSlicer
2019-05-14 19:46:01 +02:00
bubnikv
d54e14a41d
Fixed a crash on deleting objects due to the ObjectList accessing
...
released data before the selection was updated on the GLScene.
2019-05-14 16:37:32 +02:00
bubnikv
62847736c8
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2019-05-14 12:35:37 +02:00
bubnikv
8a405d5a1c
Changed the wizard to generate explicit extrusion widths
...
for the custom profile (not the zeros).
Changed the default values for filament_diameter and nozzle_diameter.
2019-05-14 12:35:19 +02:00
YuSanka
66aee035ac
Set a max extruder's count for the Additional Setting "Extruders".
...
+ cat sidetext for options from Additional Setting "Extrusion Width".
2019-05-14 12:17:34 +02:00
Enrico Turri
14c4469cbf
Added Esc shortcut and menu item for command deselect all
2019-05-14 11:57:39 +02:00
tamasmeszaros
696ade15ca
New way of starting arrange and rotation optimization.
...
To prevent segfaults when exiting while processing is running.
2019-05-13 18:58:56 +02:00
bubnikv
0787fa861a
Updated handling of the SLIC3R_BUILD_ID key
2019-05-13 18:01:00 +02:00
YuSanka
cd82b03a0e
Localization improvements : Empty spaces at the end of phrase are removed from dictionary.
...
+ new POT
2019-05-11 23:29:25 +02:00
Enrico Turri
f0da19446b
Merge branch 'lm_arrange_wipe_tower' of https://github.com/prusa3d/Slic3r
2019-05-10 11:14:42 +02:00
bubnikv
3c4fa8859c
Unified side text for degrees.
2019-05-09 20:25:24 +02:00
YuSanka
7d032382b4
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-05-09 15:53:55 +02:00
YuSanka
bfcaa6cac0
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-05-09 15:46:24 +02:00
bubnikv
0cfac53d24
Some more localization fixes.
2019-05-09 15:44:53 +02:00
bubnikv
5012e3079f
Some textation improvements, renamed Silent mode to Stealth.
2019-05-09 15:39:15 +02:00
YuSanka
3c0737c588
Fixed typo in "Machine limits" information strings
2019-05-09 15:37:52 +02:00
bubnikv
92ba75ed75
Fixed localization of the "Machine Limits" parameters.
...
Fixed localization of some other parameters (templating is not supported
inside the PrintConfig.cpp as these strings are translated not inside
PrintConfig.cpp, but by the calling GUI code).
Fixed localization of SLA status bar.
2019-05-09 14:15:56 +02:00
bubnikv
76aefd533c
In GUI mode, when exporting the G-code to a temp file, don't show
...
"Exporting G-code", but "Generating G-code"
2019-05-08 17:43:43 +02:00
bubnikv
054a3258d3
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2019-05-07 15:45:17 +02:00
Enrico Turri
61a0ab4280
Workaround to fix crash reported in #2209
2019-05-07 15:09:15 +02:00
bubnikv
a351e99bac
Merge remote-tracking branch 'remotes/origin/vb_wold_object_manipulation'
2019-05-07 13:50:40 +02:00
tamasmeszaros
c03a202e20
Prevent degenerate triangles in pad.
2019-05-07 13:06:15 +02:00
tamasmeszaros
806dc34421
removing some commented out garbage
2019-05-07 09:56:53 +02:00
tamasmeszaros
1634cd1a3c
Fix asan crash on statistics step
2019-05-06 16:57:46 +02:00
Lukas Matena
cf3b992269
GCode.cpp: Update the 'current_extruder' placeholder even if filament start gcode is empty
2019-05-06 14:48:59 +02:00
Lukas Matena
e9a53e49db
Arrange is accounting for the wipe tower now
2019-05-06 08:14:45 +02:00
bubnikv
31e724abac
Merge branch 'master' into vb_wold_object_manipulation
2019-05-04 20:59:57 +02:00
bubnikv
e515ef4fbe
Fixed make_cylinder() / make_sphere() functions to produce meshes
...
without errors.
2019-05-04 14:03:50 +02:00
YuSanka
8e007c5b6a
Localization improvements
2019-05-04 02:07:07 +02:00
bubnikv
a8241ad7f7
Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation
2019-05-03 19:13:47 +02:00
bubnikv
09d80b1b2a
Added ConfigDef::get_default_value<>() template,
...
refactored calling code to use it.
2019-05-03 18:30:58 +02:00
bubnikv
a61e833536
Implemented the "Support for support enforcers only" quick selection.
...
Reduced some memory leaks due to the ConfigDef::default_value pointer.
2019-05-03 18:01:39 +02:00
YuSanka
b4dbd55623
Merge remote-tracking branch 'origin/ys_ftn_improvements'
2019-05-03 14:31:59 +02:00
YuSanka
4be4dc623c
Fixed full statistics calculation
...
(calculate sum of volume and part_count only for solid parts)
2019-05-03 13:09:42 +02:00
bubnikv
1c6006f657
Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation
2019-05-03 12:37:43 +02:00
Enrico Turri
d971c821b7
Merge branch 'et_selection_rectangle' of https://github.com/prusa3d/Slic3r
2019-05-03 11:44:37 +02:00
YuSanka
d2107fad2f
Fixed get_object_stl_stats()
2019-05-02 16:20:50 +02:00
YuSanka
4f7398bbef
Merge remote-tracking branch 'origin/master' into ys_ftn_improvements
2019-04-30 15:19:08 +02:00
bubnikv
ebb7981d16
Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation
2019-04-29 17:39:28 +02:00
tamasmeszaros
a7d57de6f3
Fix for possible clash with old correction vectors in config
2019-04-29 17:07:55 +02:00
tamasmeszaros
bfcd9f3c29
Fix for unregistered scaling correction values.
2019-04-29 16:53:16 +02:00
tamasmeszaros
cd9a77fed6
Remove back offset from the print statistic calculation.
2019-04-29 16:42:22 +02:00
YuSanka
2a47f0dc92
ObjectList improvements: Added warning icon for Parts with a repaired errors
2019-04-29 15:27:59 +02:00
bubnikv
16560f6e27
Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation
2019-04-26 17:42:51 +02:00
bubnikv
6526a8fcaf
WIP: Transformation of instances in world coordinate space:
...
Ulocking the "anisotropic" scaling checkbox will bake the transformation
into meshes to allow for scaling in world axes.
Optimized and templated the stl_transform functions, now also available for 3x3 matrices.
The Canvas3D::reload_scene() now maintains selection even if all volumes of an instance changed their IDs.
2019-04-26 17:28:31 +02:00
YuSanka
c752394abd
Merge remote-tracking branch 'origin/master' into ys_ftn_improvements
2019-04-26 13:13:59 +02:00