Commit Graph

7363 Commits

Author SHA1 Message Date
tamasmeszaros
f1c2f516a1 Tiny cosmetics 2021-03-08 17:38:10 +01:00
tamasmeszaros
4baba84eb0 Exclude triangles of original interior mesh and drillholes from trimming 2021-03-08 17:38:10 +01:00
tamasmeszaros
1e85d2651e Fix crash when the interior is corrupted 2021-03-08 17:38:10 +01:00
tamasmeszaros
3f264d201e Triangle trimming should handle drilled meshes separately 2021-03-08 17:38:10 +01:00
tamasmeszaros
946cee7904 Add working version of triangle trimming for hollowed meshes 2021-03-08 17:38:10 +01:00
tamasmeszaros
8af4e594de Add max_concurrency method for various execution policies 2021-03-08 17:38:10 +01:00
tamasmeszaros
4352ec1929 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
01730bd289 Add BoundingBox constructor with point set iterators 2021-03-08 17:38:10 +01:00
tamasmeszaros
2846ba3b20 Eliminate memory leaks from hollowing code 2021-03-08 17:38:10 +01:00
tamasmeszaros
ca81fdfa0d Fix Gizmo preview with hollowed mesh 2021-03-08 17:38:10 +01:00
tamasmeszaros
f3eb7699b9 Fix stl export with hollowed mesh 2021-03-08 17:38:10 +01:00
tamasmeszaros
9e995ce9ab Fix incorrect mesh shown on plater after hollowing 2021-03-08 17:38:10 +01:00
tamasmeszaros
dfe9554da3 Use triangle removal only for visualized mesh 2021-03-08 17:38:10 +01:00
tamasmeszaros
f827e15f81 Group hollowing result (including grid) into one struct 2021-03-08 17:38:10 +01:00
tamasmeszaros
a38e6dcaf0 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
4bd4301725 Fixed #6182 - First line custom gcode not aligned left in the tool tip 2021-03-08 14:19:58 +01:00
Vojtech Bubnik
2c55aed37c Fix of 589d2be442 2021-03-08 11:29:52 +01:00
Vojtech Bubnik
1b1785703d 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
Lukas Matena
b8bd29cf42 Adjustable wipe tower brim 2021-03-05 16:41:02 +01:00
Lukas Matena
d2f8c1492f 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
41688d4c8a Added a missing include for gcc 2021-03-05 11:27:25 +01:00
enricoturri1966
f1fecd7d80 Added progress dialog for adding parts from files 2021-03-04 15:09:50 +01:00
enricoturri1966
88b808e3e6 Fixed layout of loading file progress dialog 2021-03-04 13:36:07 +01:00
Lukas Matena
7c4eeddbd8 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
2c197570b2 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
tamasmeszaros
abc5834923 Remove gcc warning about uninitialized values 2021-03-03 15:19:24 +01:00
enricoturri1966
e9f24ec861 Follow-up of 6a46b71dc1 - Fix build on non-Windows platforms 2021-03-03 15:17:45 +01:00
Vojtech Bubnik
006a84e995 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
85b66176fb #5843 - GCodeProcessor: added processing of lines G28 2021-03-03 13:53:37 +01:00
Enrico Turri
4f48002fdb 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
f9f0a29373 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
Lukas Matena
a7fcc73a1c Fix build caused by missing returns 2021-03-02 08:17:27 +01:00
Vojtech Bubnik
02702e6122 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
YuSanka
beb729481c Fixed loading of the project file with filament which is not installed for the selected printers
If loaded filaments are invisible/non-instaled, set them as visible
2021-03-01 16:36:05 +01:00
YuSanka
07e72f45bc Linux specific issue: DiffViewCtrl: Fixed scaling of the columns width 2021-03-01 16:01:53 +01:00
enricoturri1966
29c0f9fdd1 Follow-up of 86d7e1fb90 -> Fixed update after switching tab after editing custom g-code in settings tabs 2021-03-01 13:03:43 +01:00
Vojtech Bubnik
b07ba9d4f0 Fix of Custom G-code for color change does not process macro #5782
Added macro processing of color_change_gcode, pause_print_gcode
and template_custom_gcode custom G-codes when emitting them into
the output G-code.
2021-03-01 12:52:40 +01:00
Vojtech Bubnik
3a0f9b7b99 Bumping up wxWidgets to 3.1.4-patched on all platforms. 2021-03-01 11:36:11 +01:00
Lukas Matena
4e0eb9210b Fix build against wxWidgets older than 3.1.1 2021-03-01 10:03:49 +01:00
Lukas Matena
ba502f54cd Added an empty category icon for Fuzzy Skin to prevent crashes in ObjectList
The icon should later be replaced by a proper one.
2021-02-26 16:08:51 +01:00
enricoturri1966
bc2186a8a6 GCodeProcessor -> use boost::starts_with() 2021-02-26 16:00:32 +01:00
enricoturri1966
f81ca55d41 #4402 - Review and merge of #6106 Temperature visualization in preview and G-code Viewer by combolek 2021-02-26 14:17:53 +01:00
enricoturri1966
85a92d166d Follow-up of 86d7e1fb90 -> Fixed update after editing custom g-code in settings tabs 2021-02-26 13:56:51 +01:00
enricoturri1966
c2866d435b Tech ENABLE_CUSTOMIZABLE_FILES_ASSOCIATION_ON_WIN set as default 2021-02-26 10:18:16 +01:00
Lukas Matena
c25d3bdbf4 Fix of a crash when using active_step_add_warning on PrintObjects
PrintObjectBase::status_update_warnings called PrintBase::status_update_warnings, which in turn set
SlicingStatus flag to UPDATE_PRINT_STEP_WARNINGS (instead of UPDATE_PRINT_OBEJCT_STEP_WARNINGS) and
saved its own ObjectID. This led to spurious and hard to read thread-unsafe crashes.
2021-02-26 10:07:11 +01:00
Lukáš Hejl
b73ce1bd56 Fix of 8f293f0cb5
When was set use_external_mp_once to true then after first calling the avoid crossing perimeters this flag was reset which cases that on the second call of the avoid crossing perimeters the travel move didn't process as external.
2021-02-25 23:30:22 +01:00
YuSanka
67e608c86f Fix of #5503 - Physical printer disappears from Slicer upon close of application 2021-02-25 20:36:23 +01:00
enricoturri1966
8185c05b86 Tech ENABLE_VOLUMETRIC_EXTRUSION_PROCESSING set as default 2021-02-25 16:29:18 +01:00
enricoturri1966
91f533add1 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-02-25 15:22:54 +01:00
enricoturri1966
fbd663469b Tech ENABLE_CTRL_M_ON_WINDOWS set as default 2021-02-25 15:22:12 +01:00