Joseph Lenox
|
d48166ae92
|
Stubbed out classes for 3D plater/preview, 2D preview (toolpaths), and DLP/SLA preview tabs.
|
2018-05-09 23:03:06 -05:00 |
|
Joseph Lenox
|
b8a9761b6c
|
Fix typo in drag_start_pos assignment.
|
2018-05-09 21:57:04 -05:00 |
|
Joseph Lenox
|
a16673c306
|
finished pushing through changes from InstanceIdx.
|
2018-05-08 23:14:39 -05:00 |
|
Joseph Lenox
|
179c3969a6
|
use integers instead of size_t for object identifiers.
Need a better solution for semantics (perl used undef, python would have used None).
|
2018-05-08 23:13:47 -05:00 |
|
Joseph Lenox
|
daece6e4c0
|
Fix maths used for converting between model coordinates and pixels (and vice-versa)
|
2018-05-08 23:12:15 -05:00 |
|
Joseph Lenox
|
70b81db7f9
|
Staged more of mouse_down()
|
2018-05-08 23:11:37 -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
|
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
|
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
|
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
|
08611ffc8c
|
Use std::string internally instead of wxString.
|
2018-05-06 19:39:34 -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
|
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
|
a998324962
|
Stubbed out mouse events for left up/down/dclick.
|
2018-05-01 22:32:42 -05:00 |
|
Joseph Lenox
|
76b86c807b
|
Implemented make_thumbnail and transform_thumbnail; neither is tested yet.
|
2018-05-01 22:32:09 -05:00 |
|
Joseph Lenox
|
5f405b60e9
|
Plater2DObject->PlaterObject
|
2018-05-01 21:51:28 -05:00 |
|
Joseph Lenox
|
14097656e9
|
Added point_to_model_units() and clarified a couple comments.
|
2018-04-30 23:38:12 -05:00 |
|
Joseph Lenox
|
7afbb6978a
|
added Selected_instance field to Plater2DObject, also added reference to object index to Plater.
|
2018-04-30 22:34:30 -05:00 |
|
Joseph Lenox
|
352183131a
|
Finished update_bed_size, shuffled LogChannel position in the class.
updated a few comments.
|
2018-04-30 22:33:54 -05:00 |
|
Joseph Lenox
|
2116dfa178
|
more work on repaint() event handler. Now draws grid based on bed polygon in config.
|
2018-04-30 22:22:36 -05:00 |
|
Joseph Lenox
|
fb3250997b
|
Set BackgroundStyle because wxWidgets wants us to.
|
2018-04-30 22:18:53 -05:00 |
|
Joseph Lenox
|
953977be4b
|
Easter egg: Change Canvas text based on the current date (Sep 13).
|
2018-04-30 22:18:17 -05:00 |
|
Joseph Lenox
|
aef1bf7f37
|
Ported scaled_points_to_pixel, made Polygon and Polylines versions.
|
2018-04-30 22:17:42 -05:00 |
|
Joseph Lenox
|
456212918f
|
Fixed unscale point->pixel rescale function.
|
2018-04-30 22:16:50 -05:00 |
|
Joseph Lenox
|
4eec78e1bf
|
further fleshing out of 2d plater
|
2018-04-29 22:50:06 -05:00 |
|
Joseph Lenox
|
1548066318
|
Staged the 2D plater on its tab.
|
2018-04-29 18:02:48 -05:00 |
|
Joseph Lenox
|
7126d13850
|
Push Settings down so it's available to the plater (for color choices, etc).
|
2018-04-29 14:40:15 -05:00 |
|
Joseph Lenox
|
d07aaa87fd
|
Further implementation of Plater and Plater2D.
|
2018-04-29 12:16:31 -05:00 |
|