11132 Commits

Author SHA1 Message Date
supermerill
6072f411f2 cleaning tests 2019-04-08 20:11:19 +02:00
supermerill
a3bdc74045 gap fill : only if perimeters aren't touching
medial axis: concatenate_polylines_with_crossing fixed
2019-04-08 20:10:54 +02:00
supermerill
41c5d32744 clipperutil.offset params go from float to double
As clipper used doubl anyway, it shouldn't impact anything,
just avoiding int64->float->double destructive conversion.
2019-04-08 20:10:40 +02:00
supermerill
c03564f218 restore most loop orientation to ccw.
add test_model and test_print tests. Work is needed for them
2019-04-08 20:10:00 +02:00
supermerill
4e1e4cff73 add test_geometry
add epsilon for concave_points / convecx_points
2019-04-08 20:09:49 +02:00
supermerill
18a57ee137 Changed precision from ~25b (2 147.48mm -> 0.1um) to ~40b (17km -> 0.1um)
it's scaled by 10^6 (~20b), with 10^2 (~7b) under the epsilon
also, CLIPPER_OFFSET_SCALE scale the number by 2^17, and clipper disallow the use of the 2 higher bits, so it can't go higher than 45b
2019-04-08 20:02:21 +02:00
supermerill
782d3706e1 Update/clean code where a wrong int type is used (unsafe int, bad type, ...)
as that that can be problematic if the type of coord_t change.
2019-04-08 19:46:46 +02:00
bubnikv
1fffae4e0b A little refactoring of loading meshes in VBO / non VBO case. 2019-04-08 18:11:36 +02:00
bubnikv
4904359399 Finished SLA print / material correction visualization. 2019-04-08 18:09:31 +02:00
Lukas Matena
3a09f66e51 Fixed a literal in vertex shader that refused to compile on OSX 2019-04-08 16:05:18 +02:00
bubnikv
28d999bc04 Merge remote-tracking branch 'remotes/origin/master' into tm_relative_correction 2019-04-08 16:02:05 +02:00
Lukas Matena
f71e14a4d9 SLA gizmo now uses ctrl to add to selection and alt to remove from selection 2019-04-08 15:34:42 +02:00
bubnikv
0de084df8d Merge remote-tracking branch 'remotes/origin/master' into tm_relative_correction 2019-04-08 14:00:27 +02:00
bubnikv
fa890c2bbc Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-08 13:35:22 +02:00
bubnikv
ca6a5af1dc Fixed rotation of SLA instances in case a rotation in X or Y was applied
to the instances.
2019-04-08 13:35:03 +02:00
Vojtech Kral
ffc5a43c33 More fixes in the Readme 2019-04-08 13:05:45 +02:00
YuSanka
e0340f4f81 Set "cog" ison for sla_print preset 2019-04-08 12:29:08 +02:00
bubnikv
9bc93134f9 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-08 12:05:44 +02:00
Lukas Matena
837bc43c9f SLA gizmo on_set_state code is now called through CallAfter to prevent repeated wxMessageDialog appearances (seen on OSX) 2019-04-08 11:56:13 +02:00
Enrico Turri
ea3d30bff1 Fix of #2082 -> Added lines M73 P100 and M73 Q100 to gcode to signal that print is finished 2019-04-08 11:54:58 +02:00
Vojtech Kral
7e32f2df71 Implement per-screen DPI on Windows, DPI change event, wxDialog & wxFrame mixin base classes 2019-04-08 11:34:46 +02:00
YuSanka
af05e5fc2c Fixed crash under oSX after selection with SHIFT from 3DScene 2019-04-08 11:10:57 +02:00
YuSanka
618d124bfb Icon updating for all application 2019-04-08 11:10:57 +02:00
Lukas Matena
eadf7daa37 Merge branch 'master' into lm_sla_gizmo_clipping_plane 2019-04-08 10:50:10 +02:00
Enrico Turri
86cb5bb00d Fixed icon layers.svg 2019-04-08 10:38:48 +02:00
Lukas Matena
09cf1b9b00 Allowed general object transformation and SLA z-shift (clipping plane) 2019-04-08 10:31:53 +02:00
Lukas Matena
7531f2d5e7 Selection rectangle now respects the clipping plane position 2019-04-08 10:31:22 +02:00
Lukas Matena
bbda1896f9 The gizmo is now able to triangulate and show the cut, the triangulated cut is cached 2019-04-08 10:31:19 +02:00
Lukas Matena
9b7857aaab SLA gizmo clipping plane logic moved to fragment shader
This means the clipping now works again with both legacy and modern OpenGL
2019-04-08 10:31:16 +02:00
Lukas Matena
273fcf68a1 SLA gizmo now uses glClipPlane instead of touching projection matrix
Messing with the projection matrix invalidates the z-buffer
This currently only works in OpenGL legacy mode
2019-04-08 10:31:13 +02:00
Lukas Matena
bc9164e40c SLA gizmo now respects the clipping plane when rendering points and raycasting mouse onto mesh 2019-04-08 10:31:10 +02:00
Lukas Matena
fd1f9d65fb First steps on SLA clipping plane 2019-04-08 10:31:04 +02:00
bubnikv
43fb8df1fb Increased the default SLA support density to 130% of the previous value
(100% now works as 130% before)
2019-04-08 10:27:56 +02:00
Vojtech Kral
5eca68eeeb Readme: Add logo link 2019-04-08 10:16:50 +02:00
Vojtech Kral
ecbf4b51eb Tidy up Readme a little bit 2019-04-08 10:14:05 +02:00
Vojtech Kral
5977d7fcfa
Merge pull request #2083 from lf-/readme-update2
Initial fixes on README to bring it up to date with Prusa changes
2019-04-08 10:11:16 +02:00
Vojtech Kral
814471c890 doc: Fix line break issue 2019-04-08 10:09:35 +02:00
Vojtech Kral
a8a2125069 Windows deps & build doc: Fix msbuild parallelism, cf. #2078 2019-04-08 10:04:40 +02:00
Enrico Turri
09c7eb1d28 Follow-up of a7318dbe197d0a05d368865fe169751f07840cd7 -> Do not disable other instances when an instance is selected 2019-04-08 09:49:21 +02:00
Vojtech Kral
edebfe5345
Merge pull request #2078 from lf-/doc-note
Add a note for users of newer VS versions in build guide
2019-04-08 09:20:35 +02:00
Enrico Turri
a688493d91 Merge branch 'et_canvas_gui_refactoring' of https://github.com/prusa3d/Slic3r 2019-04-08 09:09:12 +02:00
Enrico Turri
8cdc461d34 CTRL-click replace SHIFT-click for addind/removing objects to the current selection from the 3D scene 2019-04-08 08:30:28 +02:00
lf-
68ec858e9a Initial fixes on README to bring it up to date with Prusa changes
The section about the command line arguments still needs addressing -
it is likely outdated and in need of updates.
2019-04-06 19:33:16 -06:00
lf-
433e232aa0 Add a note for users of newer VS versions 2019-04-06 00:20:49 -06:00
tamasmeszaros
2487bb8794 Remove unnecessary reversals of print polygons.
second take...
2019-04-05 17:04:55 +02:00
tamasmeszaros
08b9d9a519 fix for hole disappearance 2019-04-05 16:24:23 +02:00
YuSanka
d31590f438 Fixed Typo for the last commit 2019-04-05 12:18:58 +02:00
bubnikv
f554d02665 SLA: Invalidate all PrintObjects if the scaling correction changes.
Fixes a bug, where the sla_transofmation() function works with
the new scaling values for both old and new ModelObjects, therefore
no reslicing is triggered.
(untested)
2019-04-05 11:56:11 +02:00
Enrico Turri
6ca49c05df Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_canvas_gui_refactoring 2019-04-05 11:55:56 +02:00
Enrico Turri
233eda2813 Export to stl of instances 2019-04-05 11:30:49 +02:00