supermerill
96b0865d87
bugfix: gcodewriter.unlift(), medial axis taper & min width
...
tests: thin.t almost complete, bugfix test_data typo.
2019-04-09 18:57:31 +02:00
supermerill
b6d36d03c8
test_thin.cpp (wip)
...
& bugfix on some other one
2019-04-08 20:12:29 +02:00
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
supermerill
0f65a8d815
add gcodewriter tests, correct some build errors
2019-04-01 16:10:39 +02:00
supermerill
16368c9575
Add some cpp test from mainline (thanks to @lordofhyphens)
...
* to build the tests on windows, you need vs2015 or 2017 with "CRT SDK"
so you have to also build all deps & slic3r against this compiler.
* I didn't tried to build the tests on linux/osx, maybe some cmkae changes are needed.
* I added a slic3r_lib project to be able to link statically the test against all the slic3r project.
* tests will need many changes to be able to use the new codebase. only the ones in the cmakelists are done right now.
* some test may be in error, because the behavior of the test vs slic3r isn't defined well enough to make a decision of which one is wrong.
2019-03-29 18:02:25 +01:00
supermerill
19d471f64b
SurfaceType fix
2019-03-29 11:40:39 +01:00
supermerill
063924458f
bugfix #58
2019-03-29 11:39:28 +01:00
supermerill
53bd39d80e
better config check & error message
2019-03-29 11:37:44 +01:00
supermerill
fa0ea6e0b5
bugfix #60
...
- replace cast to extrusionPath by oop methods.
2019-03-29 10:59:23 +01:00
supermerill
8bc9f645f0
Merge remote-tracking branch 'remotes/prusa/master'
2019-03-26 15:42:08 +01:00
supermerill
8b6ab8930b
add chamber_temperature (expert, filament setting)
...
It doesn't do anything, but can be used to write custom g-code.
Ex: M191 S[chamber_temperature]
2019-03-25 17:29:57 +01:00
Vojtech Kral
ba66f34c45
Build: Add an option to choose GTK version on Linux, fix #1937
2019-03-25 15:50:57 +01:00
Vojtech Kral
aca2ffcdfb
doc: Warn about build dir being too nested on Windows
2019-03-25 15:07:03 +01:00
Enrico Turri
3e0ec8098b
Code cleanup
2019-03-25 14:13:20 +01:00
Enrico Turri
ead45c4fb2
Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models
2019-03-25 14:12:40 +01:00
Enrico Turri
149551946c
Fix of #1998
2019-03-25 12:07:43 +01:00
Enrico Turri
dd3ac4017a
Yet another tweak to the logic for releasing mouse capture into GLToolbar::on_mouse()
2019-03-25 08:48:41 +01:00
Enrico Turri
03aeb0d386
Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_multivolume_models
2019-03-25 08:32:05 +01:00
Lukas Matena
3f7f8f978e
Fix of sla gizmo (it sometimes showed supports for hidden objects)
2019-03-24 13:35:09 +01:00
bubnikv
9652e8193a
Fixed caching of profile selections at the plater.
2019-03-23 10:04:44 +01:00
bubnikv
4f585f1157
Improved rendering when deleting an option from object's overrides.
...
Replaced the single column icon with an empty icon.
Will it break something? The single column added an ugly spacer
in front of non-editable combo boxes.
2019-03-23 08:23:22 +01:00
bubnikv
c623cbc4d7
Fix of Perl bindings
2019-03-22 23:10:11 +01:00
bubnikv
b2ef3ba291
Fixed the options override box at the side bar.
2019-03-22 23:00:23 +01:00
bubnikv
2fe27a29e0
Fixed the SLA layer preview.
2019-03-22 21:26:58 +01:00
bubnikv
8003dd4991
Merge remote-tracking branch 'origin/tm_slice_index'
2019-03-22 17:08:38 +01:00
bubnikv
2bfd3b7844
Refactored the -------- xxxx ---------- menu items to use a generic
...
code to generate these separators.
Now using the connected dashes (unicode emdash characters) on OSX and Windows.
2019-03-22 17:07:12 +01:00
tamasmeszaros
f4b70e42d1
Merge branch 'master' into tm_slice_index
2019-03-22 15:48:57 +01:00
tamasmeszaros
8e18605bd7
Fix for incorrect model slices after elevation has changed.
2019-03-22 15:48:20 +01:00
bubnikv
ae93569044
Call Config Wizard from the Printer combo box at both the plater
...
and the parameter tab.
2019-03-22 15:45:51 +01:00
tamasmeszaros
4ece50e3db
Merge branch 'master' into tm_slice_index
2019-03-22 15:31:58 +01:00
tamasmeszaros
d165dbb498
Refactoring changes to the slice index.
2019-03-22 15:31:38 +01:00
Enrico Turri
6bf0cf9466
Another tweak to the logic for releasing mouse capture into GLToolbar::on_mouse()
2019-03-22 14:35:26 +01:00
Enrico Turri
db21c67f18
Changed logic for releasing mouse capture into GLToolbar::on_mouse()
2019-03-22 13:03:34 +01:00
bubnikv
f5516f24c4
Fix of 1.42 beta crash when deleting printer profile created by configuration assistant #1985
...
Fixed an issue, where deleting a profile did not correctly update
profile dependences, and deleting a profile would not test dirty status
of depending profiles, which would be switched thus user changes would be lost.
Fixed enabling / disabling the --default FFF-- / --default SLA-- profiles
when deleting the last printer profile.
Little refactoring (don't compare by strings but by symbolic names).
Making a copy of a profile - "Copy" suffix is added to a system profile.
2019-03-22 12:11:23 +01:00
Enrico Turri
bbb2a6d714
Fixed non-uniform scale of single volumes selection when made using the sidebar matrix fields
2019-03-22 11:51:10 +01:00
Lukas Matena
0848617fd3
SLA gizmo fix: adding points to selection by Shift+click should now work again (was broken by 8466c55)
2019-03-22 10:56:51 +01:00
Enrico Turri
a5fd9a34e8
Do not consider modifiers when centering an object after 3mf and amf import
2019-03-22 09:47:40 +01:00
tamasmeszaros
5e646562cd
Fixes for the duplicated layer issues...
2019-03-21 18:01:41 +01:00
tamasmeszaros
63a899b239
Using same slicing grid for the supports and the model.
2019-03-21 16:14:26 +01:00
tamasmeszaros
0ffc0c3a84
Merge branch 'master' into tm_slice_index
2019-03-21 15:17:01 +01:00
tamasmeszaros
24a5dd4235
FIx for broken slice preview
2019-03-21 15:16:33 +01:00
bubnikv
4be6c17fd3
Limit number of perimeters to 10 thousands, that is 50 meters with 0.2mm
...
nozzle. The number of perimeters has to be limited due to a numerical
overflow of fixed point 32bit coordinates in the offsetting algorithm.
2019-03-21 14:56:20 +01:00
bubnikv
562343cd2a
Localization fix of the warning texts in the 3D scene.
...
Improved anti-aliasing of the warning texts in the 3D scene
and the G-code legend. A ClearType rendering has been suppressed
by rendering of the text into a red channel only.
2019-03-21 14:33:55 +01:00
tamasmeszaros
d4dde12d0d
Slic3r compiles with the new slice index interface.
2019-03-21 12:25:33 +01:00