Commit graph

117 commits

Author SHA1 Message Date
LarsBrubaker
e9e55f874e Making Object3D classes consistent
issue: MatterHackers/MCCentral#3702
Consider adding 'Object3D' suffix to Object3D types or use consistent format
2018-06-21 21:03:13 -07:00
Lars Brubaker
0f628cefd8 Allow selection in the tree view 2018-06-05 13:38:25 -07:00
Lars Brubaker
99ef697d16 Subtract is working now
Added child selector
got align updating correctly
got array operations working with source object
fit to bounds updating correctly
took out hole output type
improved text object

issue: MatterHackers/MCCentral#3456
Second subtract creates bad data
2018-06-01 17:47:59 -07:00
Lars Brubaker
138407e21a Mesh wrapper working much better (pinch and bend working better)
Changing Rebuilding to Suspend and Resume rebuilding
Made visible meshes return only the object not the object and mesh (mesh is on object)
Put in some debugging
2018-05-29 17:50:39 -07:00
Lars Brubaker
dfb1e6d498 Improving curve tool and subtract tool
Added world render cylinder function
Make curve tool default to adding a curve
2018-05-24 10:25:54 -07:00
LarsBrubaker
c3ffe541be Refactoring selection bounds to be in world space
refactoring changing signatures
2018-05-10 10:20:39 -07:00
John Lewin
95a82a3093 Cleanup 2018-05-10 08:37:55 -07:00
John Lewin
6dcbd60fc0 Remove Invalidate from OnDraw call
- Issue MatterHackers/MCCentral#3347
Invalidate should not be invoked from Draw
2018-05-10 08:37:55 -07:00
John Lewin
b8d5b00ad3 Compute rather than move for selection render
- Issue MatterHackers/MCCentral#3344
Won't close if there is a selection on the bed

- Issue MatterHackers/MCCentral#3347
Invalidate should not be invoked from Draw
2018-05-10 08:37:54 -07:00
Lars Brubaker
f39d2116ee Made the selection much faster and consistent 2018-05-09 16:41:45 -07:00
John Lewin
f6ce9431b6 Move state from widget to model and revise persistence/init
- Issue MatterHackers/MCCentral#3305
View style state not synced on load
2018-05-09 08:41:29 -07:00
Lars Brubaker
f825e502b9 Cleaning up calls 2018-05-02 11:06:52 -07:00
Lars Brubaker
27b1e31ac5 Working on fit to bounds having radial option (image coin support)
Make default names and colors for all primitives
Improving public property editor context so we can show many at the same time
fixed spelling
2018-05-02 10:59:19 -07:00
John Lewin
48b7a85de6 Invoke Click rather than changing Checked to ensure event fires
- Issue MatterHackers/MCCentral#3171
Something got messed up with baby stepping on this print
2018-04-19 13:27:40 -07:00
LarsBrubaker
0c8b32f0d5 Refactoring easing 2018-04-12 07:16:58 -07:00
Lars Brubaker
3091a719ee Made RoundedToggleSwitch play mouse down animation
Made UiThread SetInterval return a RunningInterval
Added EaseIn EaseOut and EaseInOut to agg_basics
2018-04-11 17:36:03 -07:00
Lars Brubaker
b16328df27 Created a new animation object
got the spinner to use it
refactored graphics2D -> Graphics2D in DrawEventArgs
updated (c)
2018-04-11 10:22:17 -07:00
John Lewin
bd3db106b0 Prefer local reference to static 2018-04-07 22:53:34 -07:00
John Lewin
d556fbcf75 Move state from UI layer to model 2018-04-05 15:52:14 -07:00
LarsBrubaker
bf18085e89 Added new fit to bounds
This should allow use objects like card holder alignment
made aabb rendering more generic
Added editor draw to objects
2018-03-17 20:53:36 -07:00
Lars Brubaker
57c79d2434 improve VisibleMeshes thread safety
issue: MatterHackers/MCCentral#2900
Make VisibleMeshes more thread safe
2018-03-09 09:26:36 -08:00
Lars Brubaker
c2adfbc48f Cleaned up bug with union and intersection editor re-doing work
Made drawing selection optional
2018-03-06 14:53:21 -08:00
Lars Brubaker
5e28275d75 Compile and continue needed to save 2018-03-05 10:24:26 -08:00
Lars Brubaker
bf75402d8c Check for transparent textures on render 2018-03-05 10:19:28 -08:00
Lars Brubaker
c8ac16e806 Check the world persistable flag 2018-02-23 13:37:23 -08:00
John Lewin
bbcf61457b Move RenderBed state from widget to model 2018-02-18 10:59:49 -08:00
John Lewin
f312a1ae20 Handle null mesh scenarios
- Issue MatterHackers/MCCentral#2806
NullReferenceException in BackToFrontXY due to empty mesh
2018-02-09 13:55:28 -08:00
Lars Brubaker
a1b09d64da Fixed STL export
Took out MeshGroup
2018-02-08 18:39:39 -08:00
Lars Brubaker
04bd0857d6 Show selection highlight when selection changes 2018-02-06 14:40:35 -08:00
John Lewin
cd1c6c3269 Restore World* functions with default scene root and overridable param 2018-02-04 00:38:50 -08:00
John Lewin
1377651016 Add user control of model rendering in GCode view
- Add Semi-transparent option for less noisy render
- Add Wireframe option for latest render style
- Add None option for classic view
- Issue MatterHackers/MCCentral#2713
Consider adding wireframe/shaded toggle to gcode view options
2018-02-02 23:23:39 -08:00
John Lewin
330aa821e0 Simplify 2018-02-02 18:43:12 -08:00
Lars Brubaker
db3ac17c5a Made text widget have individual characters
Improved selection
2018-02-02 18:07:57 -08:00
John Lewin
5f6c37a7fd Remove DrawGlOpaqueContent listener
- Models double drawn via DrawGlOpaqueContent/DrawGlTransparentContent
- Isolate to single draw call in existing DrawGlTransparentContent code
2018-02-02 17:27:51 -08:00
Lars Brubaker
edb3edd013 Added automatic persist able render effect 2018-01-23 13:48:49 -08:00
John Lewin
f60259e9d3 Consolidate header and footer bars into SelectedObjectPanel 2018-01-08 23:34:40 -08:00
Lars Brubaker
5717bb5f19 Improving iteration of sub edit objects (stop at described root) 2018-01-03 14:17:48 -08:00
John Lewin
48a2471b83 Remove rendering workaround
- Issue MatterHackers/MCCentral#2249
Discuss options for editing IObject3D elements
2017-12-26 14:52:49 -08:00
Lars Brubaker
a2172c8718 us is rather than as 2017-12-15 16:21:28 -08:00
Lars Brubaker
d04a2d8188 Maker sure we create sorting data for any transparent object
issue: MatterHackers/MCCentral#2396
Support alpha different than off bed alpha
2017-12-14 13:04:54 -08:00
John Lewin
98b109df13 Fix loading state - SelectedObjectPanel/LayerPosition/TumbleCube 2017-11-29 17:54:16 -08:00
John Lewin
529e8dc6dc Simplify 2017-11-28 15:42:00 -08:00
John Lewin
00a5a209ee Remove per draw Object3D wrapper and instantiation
- Extract color calculation to reusable helper method
- Issue MatterHackers/MCCentral#2327
Color assigned per draw, color assignment creates new thread...
2017-11-28 15:41:59 -08:00
Lars Brubaker
2683f1dc86 Make build volume work when height set to 0 2017-11-20 17:55:42 -08:00
Lars Brubaker
2aec7e2243 Make sure we check for on bed in circular beds. 2017-11-18 07:33:04 -08:00
Lars Brubaker
ef16087f96 Made objects off bed show as transparent
Made build volume render
2017-11-16 16:13:44 -08:00
John Lewin
28baf658d5 Render root mesh if present
- Render only, no editing abilities due to selection behavior
2017-11-14 16:08:13 -08:00
Lars Brubaker
7d39c9bfeb Guard against null 2017-11-08 17:17:53 -08:00
Lars Brubaker
cfca964294 More Refactoring of RGBA_Bytes 2017-11-01 18:13:47 -07:00
Lars Brubaker
359784877f Unify Vector2 3 and 4 to have upper case field members 2017-10-31 12:53:46 -07:00