Joseph Lenox
|
68edec4fea
|
More documentation of Plater methods.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
6e9cd3bfdd
|
Made Plater::arrange a little less noisy, noted TODO for the background process pause.
Also finished implemented bed_centerf()
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
66bca83b57
|
Updating README.md a bit.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
a1e8aa94fd
|
finished pushing through changes from InstanceIdx.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
702da13458
|
use integers instead of size_t for object identifiers.
Need a better solution for semantics (perl used undef, python would have used None).
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
3ff475d02b
|
Fix maths used for converting between model coordinates and pixels (and vice-versa)
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
062e0fa7dc
|
Staged more of mouse_down()
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
21da567d43
|
Pushed a contains() method up to ExPolygonCollection that returns if any of its expolygons contain the point.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
7c513fe0d2
|
added additional documentation for Plater
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
bbcdebf5b5
|
more work on arrange()
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
b8c8571c39
|
added one-off menu option to call arrange, currently crashes if no models loaded.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
dccc04bd8a
|
It's all integer points anyway.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
561cbe7145
|
Remember to clean up old grid array before filling it up again.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
f9c3a300be
|
Code beautification
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
eb0f78240f
|
Actually do the unscaled point conversion -.-;
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
1cd7e878b0
|
Stubbed out Plater::arrange() and on_model_change()
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
f4a90f6742
|
remember to add the prototype for make_thumbnail
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
e37ce981e7
|
be more specific about what is getting used.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
d1bc99f514
|
Get access to LOG_WSTRING.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
02a932a3a6
|
Fixed inverted logic; abort if there aren't any transformed thumbnails.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
4c1922a943
|
Add LogChannel designation as a protected member.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
462fe51ffb
|
Pass bool when we mean bool, not int.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
053fe2b9ed
|
Being more specific about units.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
03b6402d8a
|
Work on shared::ptr of Model instead of trying to be clever.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
2a01efbf81
|
Make update_bed_size() public.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
e880d9d3ee
|
Actually unscale instead of doing silly things.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
bb9ce8dd6f
|
call update_bed_size during instantiation
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
59af3c8a86
|
Stub out more of the sizers so people implementing can see their work immediately.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
c720619382
|
avoid magic numbers
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
13248521a4
|
Updated gitignore to ignore windows executables.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
cacaa365c3
|
Added make_thumbnail and on_thumbnail_made
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
6741a6cc0a
|
Added canvas refresh utility function. Additional previews/canvases should update here.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
4cb35029a3
|
stubbed in constant for turning on/off threading (mostly to reduce complexity when testing feature code)
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
deb0cfb273
|
Added bare-bones stubs for 3D plater and 3D preview.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
816910f7be
|
Stubbed out the different draw brushes being set; flattened loops slightly and posted a note
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
c6d0536268
|
Remember to put the event skip in during repaint.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
f3d128e9c2
|
Started work on component to draw thumbnails from repaint() method.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
6f3f231cb9
|
Ported clean_instance_thumbnails
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
18a5fb81b0
|
Added convenience function to build a Point from a Pointf that is scaled.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
9c13da7df0
|
Add additional translate() functions to accept a Point or Pointf for convenience.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
bbbe7e7560
|
Use std::string internally instead of wxString.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
8ba681538d
|
Use .at() instead of [] because that'll throw an exception if out of bounds instead of a hard-to-find memory crash.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
3d57da105d
|
Remember that std::vector<>.size() needs to be offset by 1 if it's being used to find the last index.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
ccba4d6ebf
|
add log function to build strings for vectors
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
a559c57a81
|
Avoid using wxString Printf, instead use Format() and use wxRealPoint (floating point) instead of wxPoint (integer)
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
97cb562890
|
Implemented load_model_objects, fleshed out add() more.
Implemented bed_centerf().
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
17a02a9041
|
Added generic error message to Log; print error type to console.
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
58f84f21e6
|
Fixed arguments for Polygon::new_scale
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
2a41f8afd1
|
Add macro to take advantage of wxString <<
|
2018-07-11 22:14:51 -05:00 |
|
Joseph Lenox
|
2e404c5b36
|
Changed identifier type to size_t (needs to be numerical to do math on it)
|
2018-07-11 22:14:51 -05:00 |
|