1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-17 09:04:27 +00:00
Commit Graph

428 Commits

Author SHA1 Message Date
Lukas Matena b155e58a9d Painting gizmos: show painted triangles inside modifier meshes 2020-10-06 12:06:39 +02:00
Lukas Matena 8bcdbb7a60 Painter gizmos should now work with non-uniformly scaled models 2020-10-06 12:06:39 +02:00
Lukas Matena f4e3eb7482 Painting gizmos fixes:
- modifiers are not rendered in neutral color when a painting gizmo is open, so they are distinguishable from model parts
- modifiers are now correctly handled by clipping plane (the cut was not triangulated for them)
2020-10-06 12:06:39 +02:00
enricoturri1966 0f44caa99c ENABLE_SLOPE_RENDERING set as default
Slope rendering active only when using Gizmo FDM supports
2020-10-02 15:43:39 +02:00
Lukas Matena f1c24e6a8c Fix build with wxWidgets 3.0 2020-10-02 00:11:44 +02:00
enricoturri1966 fad1f5e84f Fixed typo 2020-10-01 08:34:16 +02:00
Lukas Matena 3f7d41df15 Imgui dialog layout adjustments after the new combo was added 2020-10-01 00:49:14 +02:00
Lukas Matena 3ec5d9e2cf Cache raycast results so they don't have to be repeated on the same mouse pos
Fixed incorrect handling of clipping plane with multiple volumes - only the first volume was correctly clipped by the painter.
2020-10-01 00:05:59 +02:00
Lukas Matena fac7e735ac Moved the raycasting query in painting gizmos to a separate function
This way it can be called when rendering the spherical cursor and when processing the mouse clicks/drags
2020-10-01 00:05:18 +02:00
Lukas Matena 6744a40cd5 Slight refactoring 2020-10-01 00:05:12 +02:00
Lukas Matena 1ca8120398 Sphere selection added as an option for painting gizmos 2020-10-01 00:05:01 +02:00
Lukas Matena c696e6ec19 Experiment with spherical cursor (painting gizmos) 2020-09-30 17:34:11 +02:00
bubnikv ab0890ed34 Merge remote-tracking branch 'remotes/origin/vb_modelobject' 2020-09-29 16:31:18 +02:00
Lukas Matena f890cd5b9c FDM painting gizmos (support/seam) now render object in neutral color
The goal is to ensure enough contrast independent on current filament color
2020-09-25 16:05:34 +02:00
Vojtech Bubnik 54976e29bb New class ModelConfig wrapping DynamicPrintConfig and a timestamp
to help with detecting "not changed" event when taking
Undo/Redo snapshot or synchronizing with the back-end.

Converted layer height profile and supports / seam painted areas
to the same timestamp controlled structure.
2020-09-24 15:34:13 +02:00
tamasmeszaros 0d4c67b9a3 Mostly working, inefficiencies remain, status indication partly broken 2020-09-10 14:03:30 +02:00
tamasmeszaros 9f3e7617d8 Add Imgui popup for rotation gizmo under SLA 2020-09-10 14:03:30 +02:00
Lukas Matena 436e12e99f Seam gizmo: fixed action names in undo/redo stack 2020-09-04 12:46:39 +02:00
Lukas Matena 6646198a9b Merge branch lm_seam_painter_frontend 2020-09-01 23:03:16 +02:00
Lukas Matena 9c59b4f930 Custom seam: Model integration, backend invalidation, 3MF loading/saving 2020-09-01 22:35:01 +02:00
Lukas Matena 01b59ff57b Seam gizmo created on frontend 2020-09-01 18:18:57 +02:00
Lukas Matena a9435cccb8 Finished separation of FDM gizmo into base and child 2020-09-01 18:18:57 +02:00
Lukas Matena 7a6531ede7 Started work on separating FDM gizmo into base and child classes 2020-09-01 18:18:57 +02:00
Lukas Matena 223eb6933c TriangleSelector paints continuously when dragging fast
Previously there would be distinct circles with gaps in between
2020-09-01 18:18:57 +02:00
enricoturri1966 e4f767b2ed Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-24 15:11:15 +02:00
Lukas Matena a95509ce36 Changed internal coordinates of drain holes
Drain holes reference position was saved slightly above the mesh to avoid problem when the hole is placed on flat or nearly flat surface
The depth of the hole was internally bigger than what the user has set to compensato for it
However, this leads to problem with scaling and makes reprojection of the holes on the mesh complicated

This commit changes the reference point to the point on the mesh and the extra elevation is handled when rendering and drilling the hole.
The change is reflected in 3MF drain holes versioning so that old 3MFs are loaded correctly.
Reprojection on the mesh after reload from disk/fix through netfabb has been enabled.
2020-08-24 08:11:12 +02:00
enricoturri1966 34759f9a70 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-21 11:10:27 +02:00
Lukas Matena 320964a68c TriangleSelector paints continuously when dragging fast
Previously there would be distinct circles with gaps in between
2020-08-21 09:49:39 +02:00
Lukas Matena 97bc092cce Renamed FacetSupportType to EnforcerBlockerType
So it's not misleading if we use it for seam painting
2020-08-18 12:00:26 +02:00
Lukas Matena 7fd2209b48 Gizmos can be shown depending on current mode 2020-08-18 12:00:26 +02:00
enricoturri1966 dea641183c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-10 14:22:46 +02:00
YuSanka a6dc3d37f5 Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-08-06 17:02:48 +02:00
enricoturri1966 69a0a1c96e Fixed conflicts after merge with master 2020-08-03 08:56:58 +02:00
enricoturri1966 a29b00a0b4 Use ImGui::TextColored() 2020-08-03 08:28:43 +02:00
YuSanka 3c3e463f50 Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-07-28 14:14:16 +02:00
enricoturri1966 48ae8dc9a2 Modal estimated printing time dialog
Fixed conflicts after merge with master
2020-07-27 14:53:17 +02:00
Lukas Matena 7ddb64783b TriangleSelector: edge limit is derived from cursor size 2020-07-24 17:47:16 +02:00
Lukas Matena afb5d929c4 TriangleSelector: Schedule restarting background process after edit 2020-07-24 17:47:16 +02:00
Lukas Matena 0756a7e4b3 TriangleSelector: 'Select by angle' and 'reset selection' functions fixed 2020-07-24 17:47:16 +02:00
Lukas Matena 6baff45759 TriangleSelector: Separated frontend/backend, support of multiple volumes, etc. 2020-07-24 17:47:16 +02:00
Lukas Matena b250c08ec9 TriangleSelector: Serialization and deserialization 2020-07-24 17:47:16 +02:00
Lukas Matena 814f8be92f TriangleSelector: getting ready for frontend/backend separation 2020-07-24 17:47:16 +02:00
Lukas Matena da6acd73e2 TriangleSelector: Vertices are reference-counted and garbage collected
Garbage collection is triggered automatically when more than half of all triangles are invalid
2020-07-24 17:47:16 +02:00
Lukas Matena b9321856f3 TriangleSelector: Reusing of previously calculated triangle divisions, partial garbage collection implementation 2020-07-24 17:47:16 +02:00
Lukas Matena fb73bb1c66 TriangleSelector: remerging triangles, bugfixes 2020-07-24 17:47:16 +02:00
Lukas Matena bed28bb2ff TriangleSelector: even more progress 2020-07-24 17:47:16 +02:00
Lukas Matena c3db84e382 TriangleSelector: Improvements 2020-07-24 17:47:16 +02:00
Lukas Matena d2b2446b07 TriangleSelector: first partially working implementation 2020-07-24 17:47:16 +02:00
Lukas Matena 953d1417a0 TriangleSelector: draft of interface 2020-07-24 17:47:16 +02:00
YuSanka f138978fe7 Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-07-21 09:47:29 +02:00