Vojtech Bubnik
84693a5810
New get_extents(const std::vector<Points> &pts),
...
refactored Lian Barsky line clipping
2020-11-16 10:20:47 +01:00
Vojtech Bubnik
32362cff0b
SVG export: Implemented flipping in Y axis. Now flipped by default
...
to match the 3D print paths view when looking at the print from the top.
2020-11-16 10:18:51 +01:00
Vojtech Bubnik
4d102ac8ca
FillAdaptive:
...
1) More accurate trimming of an anchor with another infill line
or by another anchor line.
2) Trimming of very short infill lines, which are not anchored,
by another infill lines.
2020-11-11 16:49:11 +01:00
Vojtech Bubnik
26836db629
FillAdaptive: Handling of a special case when the infill lines
...
touch at their ends.
2020-11-11 11:51:26 +01:00
Vojtech Bubnik
decda76344
AdaptiveInfill:
...
1) Shortening the anchor lines when touching another infill line
to avoid over extrusion.
2) Reduction of the Intersection structure complexity by referencing
the source lines.
2020-11-10 15:54:32 +01:00
Vojtech Bubnik
89df9c1038
Improvement of AdaptiveFill:
...
1) Merging of collinear infill lines separated by a thin gap created
by trimming with the boundary polygon.
2) Sorting of the T-joints separately to the left / right of the common
line.
3) Trimming self intersections of the anchor lines.
4) Dropping of very short segments, not anchoring short segments.
2020-11-10 13:56:12 +01:00
Vojtech Bubnik
517477f0dd
Fix of the previous Adaptive Cubic infill refactoring
...
plus couple of fixes of the old logic.
2020-11-06 16:24:15 +01:00
Vojtech Bubnik
139b58a6f2
Adaptive Cubic infill with anchors: Trimming anchors with not only
...
with a neighbor T-joint line, but also with other crossing lines.
2020-11-06 08:56:53 +01:00
Vojtech Bubnik
239d588c5d
1) Implemented anchoring of infill lines to perimeters with length
...
limited anchors, while before a full perimeter segment was always
taken if possible.
2) Adapted the line infills (grid, stars, triangles, cubic) to 1).
This also solves a long standing issue of these infills producing
anchors for each sweep direction independently, thus possibly
overlapping and overextruding, which was quite detrimental
in narrow areas.
3) Refactored cubic adaptive infill anchroing algorithm
for performance and clarity.
2020-11-05 17:32:40 +01:00
Vojtech Bubnik
414fdaefc5
Merge remote-tracking branch 'remotes/origin/master' into lh_adaptive_infill_hooks
2020-11-03 15:07:38 +01:00
YuSanka
1c1b1bc019
Custom control : Fixed un-hovering for labels, which work as a hyperlinks
2020-11-03 13:40:49 +01:00
enricoturri1966
8af25f7771
Fixed post-processing of placeholders in gcode when not exporting remaining times
2020-11-03 12:26:48 +01:00
enricoturri1966
f94e94f53e
GCode tool marker set as visible by default
2020-11-03 09:27:18 +01:00
enricoturri1966
eff95bcdb2
Disabled tech ENABLE_CTRL_M_ON_WINDOWS
2020-11-03 09:07:23 +01:00
enricoturri1966
54d6834553
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-11-03 08:41:14 +01:00
enricoturri1966
30481e1ea8
Tech ENABLE_CTRL_M_ON_WINDOWS [Experimental] to re-enable imgui dialog for settings of 3DConnexion devices (CTRL+M) on Windows
2020-11-03 08:41:04 +01:00
YuSanka
0a3109030e
PhysicalPrinterDialog : fixed layout in update()
2020-11-02 22:04:40 +01:00
YuSanka
186d408cf4
Big code cleaning
...
Deleted all unused code
2020-11-02 06:48:30 -08:00
YuSanka
a87ec980a7
Hot fit for last commit : use "en" language marker, when "translation_language" wasn't saved to the AppConfig
2020-11-02 06:48:30 -08:00
YuSanka
b2700a8ac6
Custom control : Bug fixing
...
* OG_CustomCtrl is inherited from the wxPanel instead of the wxControl now.
As a result, Tab-key is working now for the fields inside the custom control
* Open localized web-page if any exist for labels
+ Fixed update of icons inside the PresetComboBoxes after switching between Dark/Light modes
2020-11-02 06:48:30 -08:00
YuSanka
32b8be600c
Custom control: Fixed bitmaps layout under OSX
...
+ Implemented hyperlinks for parameters labels to the help page
2020-11-02 06:48:30 -08:00
YuSanka
4dc78a424e
Custom controls : OSX-specific fix. Get bitmap height in respect to the scaling on Retina
2020-11-02 06:48:30 -08:00
YuSanka
e05080c53b
Fixed update of the field related to the "extruders_count" parameter after printer preset change
2020-11-02 06:48:30 -08:00
YuSanka
1c22d788aa
Custom control : Implemented blinking icon
2020-11-02 06:48:30 -08:00
YuSanka
4f5efc99fb
Custom control : Action buttons are "alive" now
...
- show tooltips for buttons
- LBtnClick invokes revert functions for the field
2020-11-02 06:48:30 -08:00
YuSanka
e93e80166b
Custom control : fixed re-scaling for MSW
2020-11-02 06:48:30 -08:00
YuSanka
1b3c288b35
Custom control : Implemented update items visibility in respect to the mode
2020-11-02 06:48:30 -08:00
YuSanka
534a2f5d33
Custom control : Fixed color of the colored label, associated with option, which doesn't have a corresponded field
2020-11-02 06:48:30 -08:00
YuSanka
7022fb0891
Fixed position for all controls from the settings tabs
2020-11-02 06:48:30 -08:00
YuSanka
f1a74367ed
Choice field: Use wxComboBox instead of wxBitmapComboBox for non-OSX platforms
2020-11-02 06:48:30 -08:00
YuSanka
74d6aea4d4
Custom control: first implementation
2020-11-02 06:48:30 -08:00
enricoturri1966
6bf839b315
Show the name of the loaded G-code in the application title bar
2020-11-02 14:10:34 +01:00
enricoturri1966
9dbc0c6ba2
#4395 , #4701 , #1336 - Added the ability to invert the scroll wheel when zooming
2020-11-02 13:08:13 +01:00
enricoturri1966
516db43b20
Improved handling of loading invalid .gcode files
2020-11-02 11:59:37 +01:00
enricoturri1966
38e883a66e
Fixed scaling of mouse position for mouse wheel event handling in imgui on Retina monitors
2020-11-02 10:17:28 +01:00
enricoturri1966
3ec057bef7
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-11-02 09:37:09 +01:00
enricoturri1966
692917806a
#5013 - Incorrect OpenGL warning when starting PrusaSlicer GCode Viewer with a file argument
2020-11-02 09:36:55 +01:00
Lukas Matena
d75ca6b76d
New icon for FDM supports gizmo
2020-11-02 08:30:33 +01:00
Vojtech Bubnik
9e545eba13
Fixed quadratic complexity of the time estimator post processor
...
with a constant complexity (amortized) code.
2020-10-30 09:13:04 +01:00
Vojtech Bubnik
5ccd9d9d9a
Fixed previous commit for Linux/OSX
2020-10-29 13:16:32 +01:00
Lukas Matena
1130d78c19
Fix of #3505 (place on face oriented objects at slight angle sometimes)
2020-10-29 12:49:43 +01:00
Vojtech Bubnik
2fd7c20a86
Workaround for missing or partially implemented std::from_chars()
2020-10-29 11:37:45 +01:00
Vojtech Bubnik
50b603df5d
Optimized for reduced memory allocation and clarity.
2020-10-29 11:37:28 +01:00
Vojtech Bubnik
d2e5be89e3
Fix of Slicer image not good #4992
...
Tighter parsing of PrusaSlicer's own G-code annotations
to avoid clashes with comments inside user G-codes.
Also the GCodeReader was extended to return string_views instead
of copying a substring, and the GCodeProcessor was partially adapted
to string_views.
2020-10-29 10:51:51 +01:00
Vojtech Bubnik
bb74d2da5b
Removed the dead code GCode/Analyzer.cpp,hpp to simplify code navigation.
2020-10-28 17:26:08 +01:00
Vojtech Bubnik
7b2aca0159
Removed the legacy GCodeTimeEstimator.cpp,hpp
...
It was difficult to navigate through the live code with the dead code
still available for full search.
2020-10-28 17:19:43 +01:00
Vojtech Bubnik
502aa42ac0
Removed FillRectilinear3, it was a dead end.
2020-10-28 13:33:22 +01:00
Vojtech Bubnik
cfbc9f0845
Fix of previous commit.
2020-10-28 11:11:58 +01:00
Vojtech Bubnik
eb103e45a6
Revert of d29a82e944
2020-10-28 11:11:58 +01:00
Lukas Matena
0a9f316d64
Fix of #5009 (Shift+Tab shall be disabled in gcode viewer mode)
2020-10-28 10:49:04 +01:00