Commit Graph
100 Commits
Author SHA1 Message Date
tamasmeszaros 4374716bfb Triangle trimming should handle drilled meshes separately 2021-03-08 17:38:10 +01:00
tamasmeszaros 1ec154012e Add working version of triangle trimming for hollowed meshes 2021-03-08 17:38:10 +01:00
tamasmeszaros b8c1c13666 Add max_concurrency method for various execution policies 2021-03-08 17:38:10 +01:00
tamasmeszaros e3c2e513fa Do grid redistance even with zero closing distance
This prevents having a leftover grid with zero at the exterior boundary. Trimming expects zero at (offset + closing distance) inwards
2021-03-08 17:38:10 +01:00
tamasmeszaros 7830c8f8aa Add BoundingBox constructor with point set iterators 2021-03-08 17:38:10 +01:00
tamasmeszaros 195b39bb5b Eliminate memory leaks from hollowing code 2021-03-08 17:38:10 +01:00
tamasmeszaros 06bf02df69 Fix Gizmo preview with hollowed mesh 2021-03-08 17:38:10 +01:00
tamasmeszaros dd202af8cd Fix stl export with hollowed mesh 2021-03-08 17:38:10 +01:00
tamasmeszaros d48ca7fd03 Fix incorrect mesh shown on plater after hollowing 2021-03-08 17:38:10 +01:00
tamasmeszaros 527e675294 Use triangle removal only for visualized mesh 2021-03-08 17:38:10 +01:00
tamasmeszaros 82954ba715 Group hollowing result (including grid) into one struct 2021-03-08 17:38:10 +01:00
tamasmeszaros e57eca0289 Add voxel scale to openvdb metadata.
To be able to retrieve that information from a generated grid alone.

To avoid the copying of input mesh (for scaling) when doing the hollowing

Also remove some unused stuff from OpenVDBUtils
2021-03-08 17:38:10 +01:00
tamasmeszaros a7255235e5 Remove gcc warning about uninitialized values 2021-03-03 15:19:24 +01:00
tamasmeszaros 9092033bea Eliminate libnest2d warning on mac 2021-02-22 13:08:24 +01:00
tamasmeszaros 4b0f1b276c Merge branch 'tm_warnings' 2021-02-11 11:26:45 +01:00
tamasmeszaros bf9f908685 Remove warning from zero division.
By changing the initial value of pixel size to 1. from 0.
2021-02-11 11:26:25 +01:00
tamasmeszaros 4151922f7c Force signed char on all GCC platforms 2021-02-11 09:58:04 +01:00
tamasmeszaros 6f89da1f39 Disable libicu for boost-regex
Should have been disabled from the beginning
2021-02-04 20:31:50 +01:00
tamasmeszaros c2c61c0582 Merge branch 'tm_osx_universal' 2021-02-03 15:27:45 +01:00
tamasmeszaros 62f8e75b34 Disable tests and encoding check when cross compiling 2021-02-03 15:27:39 +01:00
tamasmeszaros f0451439ae Fix openvdb configure process with unusable vdb_print 2021-02-03 15:27:39 +01:00
tamasmeszaros e851b2e933 Merge branch 'tm_avrdude_conf' 2021-01-26 10:18:12 +01:00
tamasmeszaros 85a7a3d5c5 Use prusaslicer_add_cmake_project on each cmake deps project
replace avrdude conf generation from C to CMake code
2021-01-26 10:17:51 +01:00
tamasmeszaros 7cd218a4ee Merge branch 'tm_ui_job_rethrow' 2021-01-19 15:01:36 +01:00
tamasmeszaros 56e7d83513 Implement exception rethrow for ui jobs 2021-01-19 15:01:20 +01:00
tamasmeszaros b7bfaea1ba Merge pull request #5717 from combolek/master
Fixed build regression in commit a5882a1a1c3f561233a22cc7663514b97e5f…
fixes #5722
fixes #5739
2021-01-11 10:05:02 +01:00
tamasmeszaros d19a7fcfad Increase tolerance for objects being outside print bed. 2021-01-08 10:14:24 +01:00
tamasmeszaros 80ab47f32e Merge branch 'tm_combobox_ellipsize' 2021-01-07 14:57:16 +01:00
tamasmeszaros 2505c0a82d Fix for incorrect text fitting on gtk comboboxes.
fixes #4584
2021-01-07 13:38:29 +01:00
tamasmeszaros a5882a1a1c success with text ellipsize for combobox 2021-01-07 13:24:26 +01:00
tamasmeszaros a629401916 Fix for "bed fill" discarding selected instance transformation.
fixes #5621
2021-01-04 20:33:17 +01:00
tamasmeszaros 598ac290a1 Fix for bad wipe tower handling in arrangement
fixes #5320
2020-12-07 18:00:10 +01:00
tamasmeszaros 4b040b8569 Merge branch 'tm_fix_split_arrange_crash'
fixes #2209
2020-12-03 15:00:06 +01:00
tamasmeszaros 310de2f2ef Fix crash when splitting objects
fixes partially #2209
2020-12-03 14:58:56 +01:00
tamasmeszaros 91b1d469eb Fix arrange with malformed contours 2020-12-03 14:58:09 +01:00
tamasmeszaros 624494eab6 Merge branch 'tm_arrange_bugfixes' 2020-12-03 14:09:55 +01:00
tamasmeszaros f94498eac3 Fix for not finding CGAL in 32 bit MSVC 2020-12-03 14:07:15 +01:00
tamasmeszaros 844ea89432 Fix out of bed items after arrange.
Disabled outline decimation for arrange and added very small (EPSILON) safety offset to bed detection boundaries.
2020-12-03 12:00:12 +01:00
tamasmeszaros 4e9254ec5a Follow up fix for bed filling
fixes: 2813db8906
2020-12-02 18:08:30 +01:00
tamasmeszaros b0e5dda489 Merge branch 'tm_arrange_bugfixes' 2020-12-02 17:53:51 +01:00
tamasmeszaros 869ae0247e Use smarter object function in partial arrangement with empty bed. 2020-12-02 17:53:22 +01:00
tamasmeszaros 2813db8906 Fix for bed filling with some existing items out of bed. 2020-12-02 17:52:40 +01:00
tamasmeszaros 4e90df1ea5 Fix status indication glitch for bed filling 2020-12-02 17:50:12 +01:00
tamasmeszaros 4f7f08d0de Further improvement on arrange settings handling 2020-12-02 14:04:39 +01:00
tamasmeszaros 8df4d6a170 Add separate arrangement distance control for SLA mode 2020-12-02 10:28:13 +01:00
tamasmeszaros 3e73473334 fix rotation for initial placement 2020-12-01 14:12:20 +01:00
tamasmeszaros 8027f6608a Fix arrange distance with enabled sequential printing
fixes #5258
2020-12-01 14:08:07 +01:00
tamasmeszaros f04db7b595 Fix Arrange dialog distance input field usability 2020-11-30 15:57:53 +01:00
tamasmeszaros 982e6eb55b Don't apply result if fill bed was canceled. 2020-11-30 09:38:22 +01:00
tamasmeszaros dfbf4cbab2 Fix bed filling with more existing instances than needed 2020-11-26 15:11:54 +01:00
tamasmeszaros 0a932ebfe3 Enable http digest authentication for CURL 2020-11-25 13:58:03 +01:00
tamasmeszaros 5363dcb5bc Fix broken arrange from 2f65bcc83f 2020-11-24 18:46:25 +01:00
tamasmeszaros ec340e0726 Merge branch 'tm_arrange_perf_improve' 2020-11-24 17:06:47 +01:00
tamasmeszaros 2f65bcc83f Performance improvements and cleanup 2020-11-24 16:43:37 +01:00
tamasmeszaros 0bfbe18a3c Merge branch 'tm_arrange_perf_improve' 2020-11-24 16:20:17 +01:00
tamasmeszaros d34beab557 Add "slow" hint to rotations for arrangement 2020-11-24 15:36:39 +01:00
tamasmeszaros aa64902cf9 Increase arrange accuracy due to errors with large number of objects 2020-11-24 14:42:15 +01:00
tamasmeszaros 30693e29e4 Stop bed filling if enough instances are generated 2020-11-24 14:41:36 +01:00
tamasmeszaros 0fc1929076 Merge branch 'tm_arrange_wipe_tower_fix' 2020-11-23 17:52:20 +01:00
tamasmeszaros 79c2bd1575 Fix for gcode-viewer symlink
fixes #5238
2020-11-23 17:52:08 +01:00
tamasmeszaros f1acde8024 Fix broken wipe tower arrangement
fixes #5207
fixes #5216
2020-11-23 16:05:24 +01:00
tamasmeszaros 6b10c42689 Merge branch 'tm_arrange_menu' 2020-11-20 17:53:15 +01:00
tamasmeszaros 93aaf660cf Fixes for arrange menu
Fixed issues:
- Imgui window is aligned with the arrange toolbar button
- Reset and Arrange buttons added onto the window
- Window closes after clicking the canvas or hitting ESC
- Tooltip extended with instructions for using the arrange menu

Remaining issues:
- Imgui arrange button closes the menu after clicked
- Menu is not in "exclusive or" relationship with other imgui windows.
2020-11-20 17:52:53 +01:00
tamasmeszaros 20995c7b7a Merge branch 'tm_fill_with_instances' 2020-11-20 13:05:05 +01:00
tamasmeszaros adf81af6de Prototype feature: fill plater with instances of selected object
#fixes #1350
2020-11-20 09:58:52 +01:00
tamasmeszaros bc3696bd42 Save and load arrange settings to app_config 2020-11-20 09:57:52 +01:00
tamasmeszaros e17e6b4d0e Add minimum bounding box rotation as starting point 2020-11-20 09:57:52 +01:00
tamasmeszaros d5bdaceff2 Right mouse reaction to arrange button
Working arrange settings popup
2020-11-20 09:57:52 +01:00
tamasmeszaros d9f845d0b3 Merge branch 'tm_arrange_objfn_mod' 2020-11-20 09:51:48 +01:00
tamasmeszaros 096d0c9860 Fix arrange objectfunction to avoid last object in awkward positions.
fixes #3900
2020-11-20 09:46:15 +01:00
tamasmeszaros 2a98aa113c Remove unused RotoptimzeWindow imgui dialog.
It might be added in the future in a more polished form.
2020-11-06 10:06:05 +01:00
tamasmeszaros f5f105d4b0 Merge branch 'tm_min_cgal' 2020-10-27 13:34:15 +01:00
tamasmeszaros 749b3318b7 Merge branch 'tm_flatpak' 2020-10-27 13:04:39 +01:00
tamasmeszaros f18d25257b Changing directory for Flatpak related files. 2020-10-27 13:04:16 +01:00
tamasmeszaros 3ba6e17c04 Merge pull request #4039 from xarbit/flatpak-for-linux-appstore
upstream files required files for FlatHub
2020-10-27 12:58:42 +01:00
tamasmeszaros c8fb0cd974 Add gcodeviewer desktop file
Also install it with `make install`
2020-10-27 08:45:04 +01:00
tamasmeszaros 5fb0858677 Fix CGAL unknown version issue
CGAL is not advertising its version if configured as a header only library.
2020-10-26 15:39:40 +01:00
tamasmeszaros 969ca98b52 Revert "Require minimum version 5.0 of CGAL"
This reverts commit f3327adf49.
2020-10-26 14:41:23 +01:00
tamasmeszaros 6c60863bd9 Merge branch 'tm_udev_header_fix' 2020-10-26 14:39:03 +01:00
tamasmeszaros f3327adf49 Require minimum version 5.0 of CGAL 2020-10-26 14:30:44 +01:00
tamasmeszaros a5ba1534b3 Remove dependency on libudev.h
libudev is linked explicitly and only a few structures need to be declared which are passed as pointers to the dynamically loaded functions. No need to require libudev-dev on the build machines.
2020-10-26 14:23:44 +01:00
tamasmeszaros efe157025e Merge branch 'tm_build_fixes' 2020-10-26 10:59:54 +01:00
tamasmeszaros 5ef309205d Do the png fix for all platforms 2020-10-26 10:10:09 +01:00
tamasmeszaros c829b7c044 Use legacy OpenGL linkage on Linux
GLVND based libOpenGL.so is not present on every supported Linux, despite that appimage exclude list says so. It should be enough to just link to system specific libGL.so.
2020-10-26 10:09:01 +01:00
tamasmeszaros 709b6b1a9c Merge branch 'tm_png_crashfix' 2020-10-23 11:16:43 +02:00
tamasmeszaros 335f04ddf0 Limit the png fix for Linux
temporarily...
2020-10-23 11:10:00 +02:00
tamasmeszaros 9782a584f0 Fix issues with libpng for good
Add "prusaslicer_" prefix to static libpng in deps
2020-10-23 11:04:36 +02:00
tamasmeszaros 7f3ba4e368 Merge branch 'tm_desktop_integr_linux' 2020-10-19 14:45:07 +02:00
tamasmeszaros 0db675721c Add installing of the desktop file to cmake 2020-10-19 14:44:45 +02:00
tamasmeszaros bd271981d3 Add the desktop file for Linux desktops 2020-10-19 14:44:45 +02:00
tamasmeszaros 5ed525abb5 install symlink for gcodeviewer 2020-10-19 14:44:45 +02:00
tamasmeszaros dd68c7cf0f Merge branch 'tm_suppt_gen_improve_2' 2020-10-16 11:26:09 +02:00
tamasmeszaros edb8b9f46d Cover various overhang types cumulatively 2020-10-16 11:14:57 +02:00
tamasmeszaros fb1f3589ed Use rotated bounding box to calculate eccentricity 2020-10-16 11:14:57 +02:00
tamasmeszaros 2f422f5dbe Fix sla tests on mac 2020-10-15 13:50:05 +02:00
tamasmeszaros 267907e5ba SLA: Fix for crash with only 1 layer
fixes #4836
2020-10-08 10:00:55 +02:00
tamasmeszaros 73d8bab4f8 Fix confusing test
fixes #4724
2020-09-21 08:45:28 +02:00
tamasmeszaros 743d6643ae Drop rubbish tests 2020-09-16 15:04:01 +02:00
tamasmeszaros af785d1486 Fix hollowing crash when splitting broken object has zero parts. 2020-09-16 11:08:58 +02:00
tamasmeszaros 7766c6ebc4 Merge branch 'tm_rotfinder' 2020-09-10 20:06:18 +02:00