Commit Graph

15361 Commits

Author SHA1 Message Date
tamasmeszaros
7ff09becde 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
496765bef9 Merge branch 'tm_remove_inside_triangles' 2021-03-08 17:48:15 +01:00
tamasmeszaros
f1c2f516a1 Tiny cosmetics 2021-03-08 17:38:10 +01:00
tamasmeszaros
2afca521be Clean up hollowing test
Needs rethinking anyway
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
1c0c2a2077 Detection of Win10 3D printing API from the default Visual Studio env
variables.
2021-03-08 09:38:14 +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
rtyr
483d636157 Merge pull request #6155 from pmjdebruijn/creality_7
Creality Various
2021-03-02 09:50:10 +01:00
Lukas Matena
a7fcc73a1c Fix build caused by missing returns 2021-03-02 08:17:27 +01:00
Pascal de Bruijn
e32722be73 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
8a97d48f59 creality.ini: unhide new printers (except CR-X) 2021-03-01 19:00:04 +01:00
Pascal de Bruijn
cabaa08098 creality.ini: remove single_extruder_multi_material_priming from printer section 2021-03-01 18:43:40 +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
Pascal de Bruijn
dda1b183e4 creality.ini: Add CR-5 Pro H
this is a high temp variant of the regular CR-5 Pro, with the
suspected all metal hotend, presumably the non-H variant has
a teflon lined hotend

related: 2d762ec320
2021-03-01 18:40:33 +01:00
Pascal de Bruijn
d628404102 creality.ini: fix CR-5 Pro bed_shape 2021-03-01 18:34:18 +01:00
Pascal de Bruijn
55f5171932 creality.ini: CR-200B also has a descending z axis 2021-03-01 18:24:44 +01:00
Pascal de Bruijn
bba051ccff creality.ini: remove ignored renamed_from from *descendingz*
fixes: Nonpublic intermediate preset *descendingz* contains a "renamed_from" field, which is ignored
2021-03-01 18:21:27 +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