platsch
8dc6eca03f
Match object top ( #4321 )
...
* Fix: don't render layers in spline preview if they are outside the printable / visible region
* Try to reduce / thicken top layer in adaptive slicing mode to better match top of object
2018-05-08 19:39:36 -05:00
Joseph Lenox
6c6435be6b
Merge remote-tracking branch 'origin/master' into cppgui
2018-05-08 18:20:41 -05:00
Joseph Lenox
5d8772167b
Rolling part number to 1.3.1-dev for development.
2018-05-08 18:19:51 -05:00
Joseph Lenox
3131845aa7
Merge tag '1.3.0' into cppgui
2018-05-08 18:18:51 -05:00
Joseph Lenox
3ba8e0f369
Updating version for 1.3.0 release.
1.3.0
2018-05-08 17:47:09 -05:00
Joseph Lenox
b16e2570f3
more work on arrange()
2018-05-07 22:36:40 -05:00
Joseph Lenox
eadac30476
added one-off menu option to call arrange, currently crashes if no models loaded.
2018-05-07 22:36:12 -05:00
Joseph Lenox
8bca31ff2e
It's all integer points anyway.
2018-05-07 22:16:52 -05:00
Joseph Lenox
a7db378b8a
Remember to clean up old grid array before filling it up again.
2018-05-07 22:16:20 -05:00
Joseph Lenox
babedbe7d6
Code beautification
2018-05-07 22:15:47 -05:00
Joseph Lenox
2fb6b8103e
Actually do the unscaled point conversion -.-;
2018-05-07 22:15:28 -05:00
Joseph Lenox
168e7913de
Stubbed out Plater::arrange() and on_model_change()
2018-05-07 22:15:12 -05:00
Joseph Lenox
ccb7333b82
remember to add the prototype for make_thumbnail
2018-05-07 21:33:15 -05:00
Joseph Lenox
90ddda9ce1
be more specific about what is getting used.
2018-05-07 21:32:20 -05:00
Joseph Lenox
fee6aef5c4
Get access to LOG_WSTRING.
2018-05-07 21:31:42 -05:00
Joseph Lenox
b0404fca34
Fixed inverted logic; abort if there aren't any transformed thumbnails.
2018-05-07 21:31:19 -05:00
Joseph Lenox
787ac4a0e3
Add LogChannel designation as a protected member.
2018-05-07 21:30:28 -05:00
Joseph Lenox
eb4df9965f
Pass bool when we mean bool, not int.
2018-05-07 21:30:05 -05:00
Joseph Lenox
ad7460655b
Being more specific about units.
2018-05-07 21:29:36 -05:00
Joseph Lenox
eca8fea2b4
Work on shared::ptr of Model instead of trying to be clever.
2018-05-07 21:28:52 -05:00
Joseph Lenox
62f7760198
Make update_bed_size() public.
2018-05-07 21:27:02 -05:00
Joseph Lenox
ae10bc70b5
Actually unscale instead of doing silly things.
2018-05-07 21:26:07 -05:00
Joseph Lenox
def5d565b6
call update_bed_size during instantiation
2018-05-07 21:24:27 -05:00
Joseph Lenox
d6d3c75582
Stub out more of the sizers so people implementing can see their work immediately.
2018-05-07 21:24:08 -05:00
Joseph Lenox
962239cf61
avoid magic numbers
2018-05-07 21:23:33 -05:00
Joseph Lenox
b3b003ce35
Updated gitignore to ignore windows executables.
2018-05-06 22:54:04 -05:00
Joseph Lenox
6276e0d7ce
Added make_thumbnail and on_thumbnail_made
2018-05-06 22:51:55 -05:00
Joseph Lenox
98d4e9a6c5
Added canvas refresh utility function. Additional previews/canvases should update here.
2018-05-06 22:49:03 -05:00
Joseph Lenox
bc311474a2
stubbed in constant for turning on/off threading (mostly to reduce complexity when testing feature code)
2018-05-06 22:47:06 -05:00
Joseph Lenox
19c1811823
Added bare-bones stubs for 3D plater and 3D preview.
2018-05-06 22:44:00 -05:00
Joseph Lenox
7c96e56e07
Stubbed out the different draw brushes being set; flattened loops slightly and posted a note
2018-05-06 21:39:31 -05:00
Joseph Lenox
6ad3383584
Merge branch 'cppgui' of https://github.com/lordofhyphens/slic3r into cppgui
2018-05-06 20:46:14 -05:00
Joseph Lenox
17074c14b8
Remember to put the event skip in during repaint.
2018-05-06 20:39:50 -05:00
Joseph Lenox
e6caa8aa61
Started work on component to draw thumbnails from repaint() method.
2018-05-06 20:39:29 -05:00
Joseph Lenox
b1c6d28411
Ported clean_instance_thumbnails
2018-05-06 20:37:49 -05:00
Joseph Lenox
00fd19331e
Added convenience function to build a Point from a Pointf that is scaled.
2018-05-06 20:37:18 -05:00
Joseph Lenox
9cbc2810b4
Add additional translate() functions to accept a Point or Pointf for convenience.
2018-05-06 20:36:40 -05:00
Joseph Lenox
08611ffc8c
Use std::string internally instead of wxString.
2018-05-06 19:39:34 -05:00
Joseph Lenox
ad22956391
Use .at() instead of [] because that'll throw an exception if out of bounds instead of a hard-to-find memory crash.
2018-05-06 19:38:11 -05:00
Joseph Lenox
2e74c9f3ad
Remember that std::vector<>.size() needs to be offset by 1 if it's being used to find the last index.
2018-05-06 19:37:25 -05:00
Joseph Lenox
10f4bf9be9
add log function to build strings for vectors
2018-05-06 19:36:28 -05:00
Joseph Lenox
b541bc208f
Avoid using wxString Printf, instead use Format() and use wxRealPoint (floating point) instead of wxPoint (integer)
2018-05-06 17:55:59 -05:00
Joseph Lenox
d9844f691c
Merge branch 'cppgui' of https://github.com/lordofhyphens/slic3r into cppgui
2018-05-06 12:29:37 -05:00
Joseph Lenox
904e7d749e
Implemented load_model_objects, fleshed out add() more.
...
Implemented bed_centerf().
2018-05-05 17:37:13 -05:00
Joseph Lenox
574f77ec16
Added generic error message to Log; print error type to console.
2018-05-05 17:36:20 -05:00
Joseph Lenox
a620e2ee13
Fixed arguments for Polygon::new_scale
2018-05-05 17:35:53 -05:00
Joseph Lenox
b0d552ce4e
Add macro to take advantage of wxString <<
2018-05-05 17:35:28 -05:00
Joseph Lenox
2c2ad2c992
Changed identifier type to size_t (needs to be numerical to do math on it)
2018-05-05 16:13:58 -05:00
Joseph Lenox
dc08bcafae
Added template function to make getting references to ConfigOptions easier to write.
2018-05-05 16:13:34 -05:00
Joseph Lenox
4860d63b01
Add static method to create scaled Polygons from Pointf arrays.
2018-05-05 16:10:43 -05:00