Commit Graph
100 Commits
Author SHA1 Message Date
tamasmeszaros 8fdb0fddc0 Get rid of Contour3D 2021-06-08 10:28:23 +02:00
tamasmeszaros e6f97358bc Refactored hollowing backend to use indexed_triangle_mesh 2021-06-08 10:28:23 +02:00
tamasmeszaros f12187b53d wip on hollowing refactor 2021-06-08 10:27:35 +02:00
tamasmeszaros 1009f78862 SLA backend refactored, except Hollowing 2021-06-08 10:27:35 +02:00
tamasmeszaros e892550cb0 Fix warning of ignored variable in structured binding 2021-05-19 10:08:41 +02:00
tamasmeszaros 68d2427a34 Fix marching squares test crash in debug builds 2021-05-17 14:54:47 +02:00
tamasmeszaros ea26581959 Move iterator stuff from polygon to multipoint 2021-04-22 09:44:08 +02:00
tamasmeszaros a15c16d40d Use new libnest backend for MinAreaBoundingBox wrapper 2021-04-21 17:21:43 +02:00
tamasmeszaros 657d19482b Minor code refinements 2021-04-21 16:49:11 +02:00
tamasmeszaros d069591514 Write hollow flag to SL1 files if any object is hollowed. 2021-04-21 16:29:12 +02:00
tamasmeszaros 949b0e63e8 Fix integer overflows in libnest2d tests 2021-04-21 16:08:38 +02:00
tamasmeszaros dca67822d1 Eliminate warnings caused by changes to aid new libslic3r backend 2021-04-21 16:02:31 +02:00
tamasmeszaros ad19ab219d New custom backend for libnest2d using libslic3r types
Adapted to new clipper->eigen mod
2021-04-21 16:02:25 +02:00
tamasmeszaros 64ec319017 Fix for arrange crash when geometry has zero length segments
fixes #5749
2021-04-15 13:23:35 +02:00
tamasmeszaros 41a0e270ac Fix integer overflows in libnest2d tests 2021-04-14 08:51:54 +02:00
tamasmeszaros 0db55a0699 Merge branch 'tm_fix_cancellation' 2021-04-08 14:37:52 +02:00
tamasmeszaros 08ca5b29f0 Fix slow cancellation of rasterization step
fixes #6253
2021-04-08 14:36:37 +02:00
tamasmeszaros e8af080346 Merge remote-tracking branch 'origin/tm_sl1_import_fix' 2021-04-07 13:56:14 +02:00
tamasmeszaros c360fc6b28 Merge remote-tracking branch 'origin/tm_rotfinder_select_2' 2021-04-07 13:55:48 +02:00
tamasmeszaros 9b47fb512e Remove right click menu item for "optimize orientation" 2021-04-07 12:51:02 +02:00
tamasmeszaros bed3321324 Small improvement to "least supports" method 2021-04-07 12:51:02 +02:00
tamasmeszaros 1663787b96 Better naming of gui controls 2021-04-07 12:51:02 +02:00
tamasmeszaros 649dfca8d6 Allow rotation of multiple selected items. Disable auto positioning 2021-04-07 12:51:02 +02:00
tamasmeszaros 804758dfed Remove accuracy slicer
No practical use
2021-04-07 12:51:02 +02:00
tamasmeszaros 773116b777 Allow auto-rotation of objects not completely inside bed.
Don't use SLAPrintObject as the input for optimization. Use ModelObject and pass the print config to the optimization in RotoptimizeJob::prepare()
2021-04-07 12:51:02 +02:00
tamasmeszaros 5443f77489 Increase performance of "best misalignment" method 2021-04-07 12:51:02 +02:00
tamasmeszaros 4a9768cc7f Change configuration bank name for SLA auto rotation 2021-04-07 12:51:02 +02:00
tamasmeszaros 33eec05f02 Tolerate corrupted appconfig settings for auto rotation 2021-04-07 12:51:02 +02:00
tamasmeszaros e7f5c61bb8 Remove leftover debug message 2021-04-07 12:51:02 +02:00
tamasmeszaros f3e3aabec7 Least supports optimization revived.
Fix missing include on Win32


Cleanup benchmarking code
2021-04-07 12:51:02 +02:00
tamasmeszaros 0194094afa Method selection implemented 2021-04-07 12:51:02 +02:00
tamasmeszaros 4eb13a407f Extend execution framework with convenience functions 2021-04-07 12:51:02 +02:00
tamasmeszaros 46fd722f3c Unite cancel callback and status function 2021-04-07 12:51:02 +02:00
tamasmeszaros de8bb00fa9 Speed up rotation optimizer
- No float to double conversion
- Solving issue of random (very similar) results due to the parallel summation of floats
2021-04-07 12:51:02 +02:00
tamasmeszaros 7760d3fbc4 Add new execution framework
Inspired by std::execution
2021-04-07 12:51:02 +02:00
tamasmeszaros 4293a68aaa Reverting to old rotation optimizer object-function.
Keep the performance optimizations though
2021-04-07 12:51:02 +02:00
tamasmeszaros 3135e47180 Fix duplicated error message dialog from GUI jobs. 2021-04-07 12:41:52 +02:00
tamasmeszaros 9aac1b6fa5 Fix issue with importing sl1 files with non-ascii filenames. 2021-04-07 12:41:38 +02:00
tamasmeszaros 04526d5c28 Merge branch 'tm_libnest2d_backport' 2021-04-01 09:50:12 +02:00
tamasmeszaros f117d02750 Back-porting improvements for libnest2d 2021-03-31 09:36:54 +02:00
tamasmeszaros a62a02aca1 Merge branch 'tm_fix_wx_linking' 2021-03-30 14:17:31 +02:00
tamasmeszaros fabb6716ee Extend wx png and expat fixes for all of its built-in libraries
That means adding tiff and jpeg
2021-03-30 12:56:37 +02:00
tamasmeszaros 347e96a9a6 Merge branch 'tm_fix_max_warning' 2021-03-19 14:03:58 +01:00
tamasmeszaros aa2d8915ef Fix crash caused by boost log trivial on mac 2021-03-19 14:03:28 +01:00
tamasmeszaros 8295f81685 Fix mac warnings 2021-03-19 14:03:28 +01:00
tamasmeszaros b13239e4ca Fix previous commit's missing include 2021-03-17 10:05:24 +01:00
tamasmeszaros 0c4fb6dfcc CGAL may have infinite face vertex ranges.
Calling vtc.size() may end up in an infinite loop. Also, quads do not appear in CGAL meshes.
2021-03-17 09:42:03 +01:00
tamasmeszaros 3e5e020651 Merge branch 'tm_drilling_improve' 2021-03-16 09:38:07 +01:00
tamasmeszaros 96ac6ff2fa Fix undrillable hole color and picking 2021-03-16 09:31:03 +01:00
tamasmeszaros 6d58546aef Fix unmarked failed holes on first gizmo opening 2021-03-16 09:31:03 +01:00
tamasmeszaros 3d0d96d8f9 Working hole drilling one by one without linear slowdown. 2021-03-16 09:31:03 +01:00
tamasmeszaros 6059d89bc8 Avoid mesh alteration when converting to CGAL Surface_Mesh
orient_to_bound_a_volume tends produce incorrect results.
2021-03-16 09:31:03 +01:00
tamasmeszaros 4b9de0398f Drill holes one by one and display warning of any of them fails
Drill with cgal::minus for now
2021-03-16 09:31:03 +01:00
tamasmeszaros 913152d609 Merge branch 'tm_disable_wxmediactrl' 2021-03-10 23:24:09 +01:00
tamasmeszaros 158413f4c4 Disable wxMediaCtrl in wxWidgets build
We don't need it. Building on Linux causes problems with gstreamer.
fixes #5815, #6160
2021-03-09 12:37:17 +01:00
tamasmeszaros 6d11c50ba5 Merge branch 'tm_remove_inside_triangles' 2021-03-08 17:48:15 +01:00
tamasmeszaros 3c2d0b7c6e Tiny cosmetics 2021-03-08 17:38:10 +01:00
tamasmeszaros 33d6655f26 Clean up hollowing test
Needs rethinking anyway
2021-03-08 17:38:10 +01:00
tamasmeszaros a62262666a Exclude triangles of original interior mesh and drillholes from trimming 2021-03-08 17:38:10 +01:00
tamasmeszaros fbc758642b Fix crash when the interior is corrupted 2021-03-08 17:38:10 +01:00
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