Commit Graph

15570 Commits

Author SHA1 Message Date
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
YuSanka
7cb3e729ee Fixed #6182 - First line custom gcode not aligned left in the tool tip 2021-03-08 14:19:58 +01:00
Vojtech Bubnik
8adb495e7d Fix of 589d2be442 2021-03-08 11:29:52 +01:00
enricoturri1966
14aca210cb Tech ENABLE_GCODE_WINDOW_USE_MAPPED_FILE merged into ENABLE_GCODE_WINDOW 2021-03-08 10:20:07 +01:00
Vojtech Bubnik
ed7be17bf1 Detection of Win10 3D printing API from the default Visual Studio env
variables.
2021-03-08 09:38:14 +01:00
Vojtech Bubnik
589d2be442 Fix of Repair with Netfabb does not work on builds after 2.3.0 release (Windows 10) #6193
This is more a workaround than a fix: Windows 10 3D model fixing API refuses
to load a zip64 encoded 3MF. We need to get in touch with Microsoft on that
issue, for now the 3MFs generated for the Windows 10 3D model fixing API
will be limited to 4GB. Saving a bigger 3MF will fail.
2021-03-08 09:36:21 +01:00
enricoturri1966
5998ee8f2e Code cleanup 2021-03-08 09:29:47 +01:00
enricoturri1966
9359d6d3d0 Follow-up of 0472c84525 - Fixed syntax errors 2021-03-08 09:01:15 +01:00
enricoturri1966
8027c94a41 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window 2021-03-08 08:35:49 +01:00
enricoturri1966
0472c84525 G-code window uses file mapping 2021-03-08 08:35:32 +01:00
Lukas Matena
1efa9a06f6 Adjustable wipe tower brim 2021-03-05 16:41:02 +01:00
Lukas Matena
c25c435d52 Added a new placeholder for custom toolchange gcode (toolchange_z)
This always contains the actual print_z of the toolchange, while layer_z contains the print_z
of the print. The two differ in case that wipe tower without sparse layers is used.

Related to #3834.
2021-03-05 13:58:45 +01:00
Lukas Matena
c8fdd837ae Added a missing include for gcc 2021-03-05 11:27:25 +01:00
enricoturri1966
b6634b2ea0 Added progress dialog for adding parts from files 2021-03-04 15:09:50 +01:00
enricoturri1966
b748f36246 Fixed layout of loading file progress dialog 2021-03-04 13:36:07 +01:00
enricoturri1966
252aa9b229 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window 2021-03-04 13:24:08 +01:00
enricoturri1966
cee4ed9ff2 G-code window optimization: parse g-code lines only when needed 2021-03-04 13:23:24 +01:00
Lukas Matena
70573484c2 Show an error notification when attempting to save 3MF while editing SLA support points
The notification disappears when it is no longer valid.
2021-03-04 09:35:41 +01:00
Lukas Matena
abd5a9a46e Add a notification when custom support enforcers are not used due to supports being off
It is now emitted from Print::validate and has a hyperlink to enable supports
2021-03-04 09:35:22 +01:00
enricoturri1966
a820e8c22f Vertically center text in G-code window 2021-03-04 08:37:21 +01:00
tamasmeszaros
a7255235e5 Remove gcc warning about uninitialized values 2021-03-03 15:19:24 +01:00
enricoturri1966
d99895805c Follow-up of 6a46b71dc1 - Fix build on non-Windows platforms 2021-03-03 15:17:45 +01:00
Vojtech Bubnik
5f5de1c812 Follow-up to 5276bd98d7:
WIP: MutablePolygon - linked list based polygon implementation
allowing rapid insertion and removal of points.
WIP: porting smooth_outward() from Cura.
2021-03-03 15:04:26 +01:00
enricoturri1966
6a46b71dc1 #5843 - GCodeProcessor: added processing of lines G28 2021-03-03 13:53:37 +01:00
enricoturri1966
da7d7ae11b Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window 2021-03-03 09:07:28 +01:00
enricoturri1966
f586bb6f9e Fit G-code window between preview legend and view toolbar 2021-03-03 09:03:07 +01:00
Enrico Turri
91ffd8d501 Custom G-code validation - Do not veto setting tab switch when invalid g-code is found 2021-03-02 17:00:11 +01:00
YuSanka
28b92215c3 Follow-up 409849d238:
Added check for visibility for all loaded presets.
Added notification about this action.
 + PresetComboBox: Fixed update() function for physical printers, when some of related presets are invisible.
2021-03-02 12:19:49 +01:00
enricoturri1966
2c8f385c7f 1st installment of g-code window in preview 2021-03-02 10:01:06 +01:00
rtyr
532659a7f6
Merge pull request #6155 from pmjdebruijn/creality_7
Creality Various
2021-03-02 09:50:10 +01:00
Lukas Matena
92a2951b23 Fix build caused by missing returns 2021-03-02 08:17:27 +01:00
Pascal de Bruijn
7eaadf0e47 Revert "creality.ini: move Ender-3 specific extruder_clearance"
Due to #589.

This reverts commit 34202f71e5.
2021-03-01 23:56:08 +01:00
Pascal de Bruijn
45cbac0b7c creality.ini: unhide new printers (except CR-X) 2021-03-01 19:00:04 +01:00
Pascal de Bruijn
065a129d47 creality.ini: remove single_extruder_multi_material_priming from printer section 2021-03-01 18:43:40 +01:00
Vojtech Bubnik
5276bd98d7 WIP: MutablePolygon - linked list based polygon implementation
allowing rapid insertion and removal of points.
WIP: porting smooth_outward() from Cura.
2021-03-01 18:41:46 +01:00