6349 Commits

Author SHA1 Message Date
Joseph Lenox
c2aa7e7b3b std::move here inhibits copy elison, remove. 2019-12-04 19:58:40 -06:00
Joseph Lenox
510ba4eda4 Call repair() before trying to export object (because it tries to generate shared vertices and that method is apparently fragile). 2019-12-04 19:58:20 -06:00
Joseph Lenox
a829b0f98a Fix usage of quoted string io 2019-12-04 18:57:11 -06:00
Michael Kirsch
adea0d90ab call stdlib's abs - this fixes failing 32-bit build 2019-12-01 23:52:36 -06:00
Michael Kirsch
306944dccd more precision, appveyor? 2019-12-01 23:52:36 -06:00
Michael Kirsch
04e2cd39a0 apply object's transformation instead of translation 2019-12-01 23:52:36 -06:00
Michael Kirsch
4745d13955 rework the former property origin_translation 2019-12-01 23:52:36 -06:00
Michael Kirsch
c2580bd02e don't always center, only align to ground 2019-12-01 23:52:36 -06:00
Michael Kirsch
d157dc7ef6 differenciate between plater and model object 2019-12-01 23:52:36 -06:00
Michael Kirsch
89929de599 individual scales should determined along rows 2019-12-01 23:52:36 -06:00
Michael Kirsch
bf4223aa26 don't apply the inverse scale twice 2019-12-01 23:52:36 -06:00
Michael Kirsch
fe171e9646 fix test name 2019-12-01 23:52:36 -06:00
Michael Kirsch
2199d7f99c rewrite transform_bb 2019-12-01 23:52:36 -06:00
Michael Kirsch
852fb80555 fix transform by instance, also make it take potentially different additional trafos into account 2019-12-01 23:52:36 -06:00
Michael Kirsch
794b3a1419 move matrix decomposition to instance class 2019-12-01 23:52:36 -06:00
Michael Kirsch
5aa8d8e748 shift indices, set from 0 2019-12-01 23:52:36 -06:00
Michael Kirsch
73a2560252 Trafo class description 2019-12-01 23:52:36 -06:00
Michael Kirsch
880a00e421 revert loops test 2019-12-01 23:52:36 -06:00
Michael Kirsch
76152fd5fa whitespace 2019-12-01 23:52:36 -06:00
Michael Kirsch
00b836b3da reinstate old testing plus transformation test 2019-12-01 23:52:36 -06:00
Michael Kirsch
ad7a1696f0 reinstate direct mesh manipulation 2019-12-01 23:52:36 -06:00
Michael Kirsch
65f34b838a implement preservation of transformations to reload function 2019-12-01 23:52:36 -06:00
Michael Kirsch
79c4ee16e1 kind of expose the transformation object to perl 2019-12-01 23:52:36 -06:00
Michael Kirsch
83c98871ba change tests according to new class 2019-12-01 23:52:36 -06:00
Michael Kirsch
89ed376553 expose mesh transform cloning to perl 2019-12-01 23:52:36 -06:00
Michael Kirsch
a9a14225b2 add property to options 2019-12-01 23:52:36 -06:00
Michael Kirsch
7a16ec96de wording 2019-12-01 23:52:36 -06:00
Michael Kirsch
6f88bcd7b4 rename property 2019-12-01 23:52:36 -06:00
Michael Kirsch
23e141b1d7 dialog shows independantly from additional part/mod status 2019-12-01 23:52:36 -06:00
Michael Kirsch
cf4900f5c8 adapt reload dialog for new option 2019-12-01 23:52:36 -06:00
Michael Kirsch
29d3e46736 move the main reload to after the dialog 2019-12-01 23:52:36 -06:00
Michael Kirsch
587629ac80 fix UI prompt 2019-12-01 23:52:36 -06:00
Michael Kirsch
e91d0ba623 fix transformations, attached to volume now 2019-12-01 23:52:36 -06:00
Michael Kirsch
e2af4865a2 add undo op for face-to-face rotation 2019-12-01 23:52:36 -06:00
Michael Kirsch
88160aebc8 fix missing instance declaration 2019-12-01 23:52:36 -06:00
Michael Kirsch
e7f7acf2f7 recalculate volume only if determinante != 1 2019-12-01 23:52:36 -06:00
Michael Kirsch
fa45426ac0 change undo / redo stack to use generic transformations if possible 2019-12-01 23:52:36 -06:00
Michael Kirsch
0b1f831f65 make generic transformation public 2019-12-01 23:52:36 -06:00
Michael Kirsch
5bce2597e7 add internal trafo for undo stack 2019-12-01 23:52:36 -06:00
Michael Kirsch
c8a9ffc96b cleanup commented / deleted code Part 1 2019-12-01 23:52:36 -06:00
Michael Kirsch
956b7e1222 reenable mesh and 3mf tests 2019-12-01 23:52:36 -06:00
Michael Kirsch
c7afa5c578 fix functions called inside testing 2019-12-01 23:52:36 -06:00
Michael Kirsch
e755634c21 add transform function to perl interface 2019-12-01 23:52:36 -06:00
Michael Kirsch
fb418b6c60 recalculate voume on transformation 2019-12-01 23:52:36 -06:00
Michael Kirsch
08e8bd1b7d update skipping code 2019-12-01 23:52:36 -06:00
Michael Kirsch
e98038801a add trafo interactability to perl binding 2019-12-01 23:52:36 -06:00
Michael Kirsch
d42914a285 fix tests with what is available in instance 2019-12-01 23:52:36 -06:00
Michael Kirsch
f695e6b668 add comment about the necessary matrix calc 2019-12-01 23:52:36 -06:00
Michael Kirsch
2a476e1742 adapt 3mf to matrices 2019-12-01 23:52:36 -06:00
Michael Kirsch
1bd679dcba add public trafo to instance 2019-12-01 23:52:36 -06:00