Commit graph

630 commits

Author SHA1 Message Date
jlewin
025702da2b Fix whitespace 2019-04-24 11:51:11 -07:00
Lars Brubaker
4ad63ac725 add option to set phase of rotation in Render Cylinder 2019-04-22 09:43:42 -07:00
LarsBrubaker
73ebdde9e5 Changing nozzle1_inset to t0_inset
refactoring some surrounding code to talk about tool rather than nozzle
or hotend

figure it's better to do this change before we have any profiles with this set into them

issue: MatterHackers/MCCentral#5333
Consider if Tool nomenclature should be used instead of Nozzle
2019-04-20 21:03:05 -07:00
jlewin
61980d5613 Remove Add Printer restriction while printing
- Issue MatterHackers/MCCentral#5364
Add printers while printing
2019-04-19 13:57:44 -07:00
jlewin
675571a026 Render Curve Diameter with different precision than MinSides 2019-04-19 13:03:20 -07:00
jlewin
c3ad880c94 Compute and use custom color for Add Content panel background
- Issue MatterHackers/MCCentral#5357
Library pop up starting with wrong colors
2019-04-18 16:42:12 -07:00
jlewin
2e806892a7 Kick off texture creation in constructor
- Issue MatterHackers/MCCentral#5354
Long delay before bed texture appears
2019-04-17 13:24:12 -07:00
John Lewin
a0bda73449 Fix improperly initialized state
- Issue MatterHackers/MCCentral#5345
Switching bed shape causes the bed to have no texture
- Force invalidate on texture change
2019-04-15 21:20:12 -07:00
Lars Brubaker
1161ada17f Make sure we get the bad set early on dual extrusion 2019-04-15 17:53:06 -07:00
jlewin
accae2bdaf Fix incorrect texture after ReloadAll 2019-04-15 16:25:39 -07:00
jlewin
db1680b87d Invalidate bed textures on extruder_count change 2019-04-15 16:07:01 -07:00
jlewin
b0fc918edf Fix missing bed texture on single hotend printer
- Issue MatterHackers/MCCentral#5337
Bed grid does not render for single extrusion printer
2019-04-15 16:07:01 -07:00
jlewin
c327fce29b Fix AABB for items not in scene root
MatterHackers/MCCentral#5335
Some operations causing objects to render transparent
2019-04-15 16:07:01 -07:00
jlewin
161ef1062c Fix hotend limits texture for items with descendants 2019-04-15 16:05:52 -07:00
John Lewin
46c55f004b Add label override for unioned nozzle case 2019-04-13 15:55:02 -07:00
John Lewin
0a9e943efe Add basic support for multi-material limits rendering
- Issue MatterHackers/MCCentral#5323
Add hotend limits support for multi-material items
2019-04-13 15:41:44 -07:00
John Lewin
a290cd672e Handle wipe tower case
- Issue MatterHackers/MCCentral#5323
Add hotend limits support for multi-material items
2019-04-13 15:35:54 -07:00
John Lewin
e355dbc338 Disable CullFace before rendering design space background
- Issue MatterHackers/MCCentral#5329
Bed background color lost when scene has children
2019-04-13 15:04:47 -07:00
John Lewin
0435209770 Add workaround for MatterHackers/MCCentral#5330
Same color used in different context results in different intensities
2019-04-13 14:49:47 -07:00
John Lewin
d9e8f6cdde Fix invalid TriangleStrip definition
- Issue MatterHackers/MCCentral#5328
bed in design view has different colors on the two triangles of the
upper face
2019-04-13 10:29:47 -07:00
LarsBrubaker
d0c7b7ebee account for beds that have a lower left position at something other than (0, 0)
issue: MatterHackers/MCCentral#5319
no nozzle inset set but bed showing a clipping region (I think)
2019-04-13 07:45:22 -07:00
John Lewin
7159b48a13 Guard for non-supported hotends
- Issue MatterHackers/MCCentral#5326
Put in guards for materials other than 1 & 2
2019-04-13 02:32:09 -07:00
John Lewin
89e5aba86e Invalidate on related settings change
- Issue MatterHackers/MCCentral#5321
Invalidate per hotend bed textures on related settings change
2019-04-13 02:25:27 -07:00
John Lewin
60a1238f54 Migrate nozzle limits texture construction to drawable
- Construct and cache textures after use
- Create placeholder textures for use before constructed
- Remove bed texture construction from CreatePrintBedAndVolume
- Issue MatterHackers/MCCentral#5325
Migrate to themed bed colors
- Issue MatterHackers/MCCentral#5320
Cache per hotend bed textures
2019-04-13 02:13:20 -07:00
John Lewin
17eca3b36c Use theme colors 2019-04-13 02:05:27 -07:00
John Lewin
2d00baff69 Draw grid background for Design workspace in BedColor
- Sync colors across printer/workspace views
2019-04-13 02:04:48 -07:00
John Lewin
eeb3410bc4 Update one theme for custom bed colors
- Issue MatterHackers/MCCentral#5325
Migrate to themed bed colors
2019-04-13 01:55:14 -07:00
John Lewin
92a3693772 Move bed colors into theme
- Issue MatterHackers/MCCentral#5325
Migrate to themed bed colors
2019-04-13 01:54:01 -07:00
John Lewin
3a3e5f9155 Remove scene selection constraint
- Always rebuild bed textures on related settings change
2019-04-13 00:19:25 -07:00
John Lewin
6800cdc4bc Ensure MeshViewerWidget invalidates on bed texture settings change
- Issue MatterHackers/MCCentral#5322
2019-04-12 22:32:14 -07:00
John Lewin
ddf9a8784f Invalidate per hotend bed textures on related settings change
- Issue MatterHackers/MCCentral#5321
2019-04-12 22:18:17 -07:00
jlewin
bf50de40e6 Draw hotend label, add RoundeRectShape with per corner radius 2019-04-12 16:44:07 -07:00
jlewin
f11fe7e29f Conditionally disable bed texture blending
MatterHackers/MCCentral#5310
Texture is darkened when rendered onscreen
2019-04-12 16:44:06 -07:00
jlewin
c12e053493 Revise hotend bounds rendering 2019-04-12 16:44:06 -07:00
jlewin
1d1a06a966 Use new Vector4/Bounds field for nozzle insets 2019-04-12 16:44:06 -07:00
jlewin
8a0115f4d5 Refresh bed texture with nozzle limits 2019-04-12 16:44:06 -07:00
jlewin
db94e08e1c Move HotendBounds to PrinterSettings 2019-04-12 16:44:06 -07:00
jlewin
1a0e0dfcb8 Move bed bounds to PrinterSettings 2019-04-12 16:44:06 -07:00
jlewin
a5eebbb0ae Render hotend bounds on bed, color items to highlight out of bounds 2019-04-12 16:41:22 -07:00
jlewin
b6a2b39b04 Extract WorldView extension methods from unrelated type 2019-04-12 16:41:22 -07:00
Lars Brubaker
440b49cfc9 fixing formatting warnings 2019-04-12 15:03:03 -07:00
LarsBrubaker
c93bb370bc Playing with a new web cache class 2019-04-07 11:10:28 -07:00
jlewin
6024a85133 Extract widget connect behavior to reusable public method
- Rewrite event handlers as privately scoped delegates
- Clear event handlers on ConnectSucceeded/ConnectFailed
2019-04-05 12:04:28 -07:00
jlewin
af374e0abf Remove redundant EnableChanged event
- Issue MatterHackers/MCCentral#5265
Consider removing PrinterConnection.EnableChanged event
2019-04-05 11:44:55 -07:00
jlewin
f62ebfb064 Close popup on FixAction click
- Issie MatterHackers/MCCentral#5247
Print button -> Connect should close Print panel popup
2019-04-04 12:06:47 -07:00
Lars Brubaker
03d16e2dad Don't translate objects when flattening or removing operation
issue: MatterHackers/MCCentral#5224
Deleting subtract operation shifts objects
2019-03-29 16:22:45 -07:00
Lars Brubaker
0ba8e47014 Support tests are currently passing
support handles selections better for create and remove
2019-03-29 10:10:39 -07:00
Lars Brubaker
ab52cd3199 Subtract and replace using new named children getter
Improved subtract selection rendering
2019-03-22 12:06:49 -07:00
Lars Brubaker
3f19e8d11c Making subtract select logical names from children rather than visible meshes 2019-03-22 10:29:05 -07:00
LarsBrubaker
863e183c88 changing undo replace command to transform command
issue: MatterHackers/MCCentral#5168
Arrange All Parts does not work with a single item on the bed
2019-03-20 08:07:25 -07:00