kitchen-simulator 11.30.3 → 11.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/es/assets/img/svg/accessories.svg +4 -4
  2. package/es/assets/img/svg/bottombar/elevation-back.svg +6 -6
  3. package/es/assets/img/svg/bottombar/elevation-front.svg +6 -6
  4. package/es/assets/img/svg/bottombar/elevation-left.svg +6 -6
  5. package/es/assets/img/svg/bottombar/elevation-right.svg +7 -7
  6. package/es/assets/img/svg/bottombar/elevation.svg +13 -13
  7. package/es/assets/img/svg/detail.svg +77 -77
  8. package/es/assets/img/svg/filtersActive.svg +19 -19
  9. package/es/assets/img/svg/invert.svg +12 -12
  10. package/es/assets/img/svg/menubar/login.svg +84 -84
  11. package/es/assets/img/svg/menubar/my_projects.svg +85 -85
  12. package/es/assets/img/svg/menubar/new_project.svg +110 -110
  13. package/es/assets/img/svg/menubar/save_project.svg +84 -84
  14. package/es/assets/img/svg/options.svg +3 -3
  15. package/es/assets/img/svg/positioning.svg +3 -3
  16. package/es/assets/img/svg/toggleFilters.svg +19 -19
  17. package/es/assets/img/svg/toolbar/shopping-cart.svg +13 -13
  18. package/es/assets/img/svg/wizardstep/detail_view.svg +87 -87
  19. package/es/assets/img/svg/wizardstep/tile_view.svg +95 -95
  20. package/es/catalog/utils/exporter.js +2 -0
  21. package/es/catalog/utils/item-loader.js +9 -4
  22. package/es/class/item.js +1 -0
  23. package/es/components/viewer3d/camera-controls-module/camera-controls.module.js +556 -556
  24. package/es/components/viewer3d/scene-creator.js +5 -5
  25. package/es/constants.js +1 -0
  26. package/es/engine/2d/viewer-utils.js +11 -11
  27. package/es/events/external/handleExternalEvent.util.js +80 -66
  28. package/es/events/external/handlers.changeDoorStyle.js +8 -15
  29. package/es/events/external/handlers.loadProject.js +8 -15
  30. package/es/mappings/external-events/mapExternalEventPayload.js +4 -4
  31. package/es/mappings/external-events/mappers/addItemMapper.js +9 -9
  32. package/es/mappings/external-events/mappers/ccdfMapper.js +7 -13
  33. package/es/models.js +2 -0
  34. package/es/shared/concurrency/async-pool.js +71 -0
  35. package/es/shared/domain/asset/sanitize-asset-url.js +5 -5
  36. package/es/shared/math/line-metrics.js +11 -11
  37. package/es/utils/geometry.js +6 -4
  38. package/es/utils/skinPanelEngine.js +14 -14
  39. package/lib/assets/img/svg/accessories.svg +4 -4
  40. package/lib/assets/img/svg/bottombar/elevation-back.svg +6 -6
  41. package/lib/assets/img/svg/bottombar/elevation-front.svg +6 -6
  42. package/lib/assets/img/svg/bottombar/elevation-left.svg +6 -6
  43. package/lib/assets/img/svg/bottombar/elevation-right.svg +7 -7
  44. package/lib/assets/img/svg/bottombar/elevation.svg +13 -13
  45. package/lib/assets/img/svg/detail.svg +77 -77
  46. package/lib/assets/img/svg/filtersActive.svg +19 -19
  47. package/lib/assets/img/svg/invert.svg +12 -12
  48. package/lib/assets/img/svg/menubar/login.svg +84 -84
  49. package/lib/assets/img/svg/menubar/my_projects.svg +85 -85
  50. package/lib/assets/img/svg/menubar/new_project.svg +110 -110
  51. package/lib/assets/img/svg/menubar/save_project.svg +84 -84
  52. package/lib/assets/img/svg/options.svg +3 -3
  53. package/lib/assets/img/svg/positioning.svg +3 -3
  54. package/lib/assets/img/svg/toggleFilters.svg +19 -19
  55. package/lib/assets/img/svg/toolbar/shopping-cart.svg +13 -13
  56. package/lib/assets/img/svg/wizardstep/detail_view.svg +87 -87
  57. package/lib/assets/img/svg/wizardstep/tile_view.svg +95 -95
  58. package/lib/catalog/utils/exporter.js +2 -0
  59. package/lib/catalog/utils/item-loader.js +9 -4
  60. package/lib/class/item.js +1 -0
  61. package/lib/components/viewer3d/camera-controls-module/camera-controls.module.js +556 -556
  62. package/lib/components/viewer3d/scene-creator.js +5 -5
  63. package/lib/constants.js +5 -4
  64. package/lib/engine/2d/viewer-utils.js +11 -11
  65. package/lib/events/external/handleExternalEvent.util.js +80 -66
  66. package/lib/events/external/handlers.changeDoorStyle.js +8 -15
  67. package/lib/events/external/handlers.loadProject.js +8 -15
  68. package/lib/mappings/external-events/mapExternalEventPayload.js +4 -4
  69. package/lib/mappings/external-events/mappers/addItemMapper.js +9 -9
  70. package/lib/mappings/external-events/mappers/ccdfMapper.js +7 -13
  71. package/lib/models.js +2 -0
  72. package/lib/shared/concurrency/async-pool.js +78 -0
  73. package/lib/shared/domain/asset/sanitize-asset-url.js +5 -5
  74. package/lib/shared/math/line-metrics.js +11 -11
  75. package/lib/utils/geometry.js +5 -3
  76. package/lib/utils/skinPanelEngine.js +14 -14
  77. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
- <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g clip-path="url(#clip0_2780_182858)">
3
- <path d="M4 19.8638C4 20.3942 4.21071 20.9029 4.58579 21.278C4.96086 21.6531 5.46957 21.8638 6 21.8638C6.53043 21.8638 7.03914 21.6531 7.41421 21.278C7.78929 20.9029 8 20.3942 8 19.8638C8 19.3333 7.78929 18.8246 7.41421 18.4496C7.03914 18.0745 6.53043 17.8638 6 17.8638C5.46957 17.8638 4.96086 18.0745 4.58579 18.4496C4.21071 18.8246 4 19.3333 4 19.8638Z" stroke="#4C12A1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
- <path d="M15 19.8638C15 20.3942 15.2107 20.9029 15.5858 21.278C15.9609 21.6531 16.4696 21.8638 17 21.8638C17.5304 21.8638 18.0391 21.6531 18.4142 21.278C18.7893 20.9029 19 20.3942 19 19.8638C19 19.3333 18.7893 18.8246 18.4142 18.4496C18.0391 18.0745 17.5304 17.8638 17 17.8638C16.4696 17.8638 15.9609 18.0745 15.5858 18.4496C15.2107 18.8246 15 19.3333 15 19.8638Z" stroke="#4C12A1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
- <path d="M17 17.8638H6V3.86377H4" stroke="#4C12A1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
6
- <path d="M6 5.86377L20 6.86377L19 13.8638H6" stroke="#4C12A1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
7
- </g>
8
- <defs>
9
- <clipPath id="clip0_2780_182858">
10
- <rect width="24" height="24" fill="white" transform="translate(0 0.86377)"/>
11
- </clipPath>
12
- </defs>
13
- </svg>
1
+ <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_2780_182858)">
3
+ <path d="M4 19.8638C4 20.3942 4.21071 20.9029 4.58579 21.278C4.96086 21.6531 5.46957 21.8638 6 21.8638C6.53043 21.8638 7.03914 21.6531 7.41421 21.278C7.78929 20.9029 8 20.3942 8 19.8638C8 19.3333 7.78929 18.8246 7.41421 18.4496C7.03914 18.0745 6.53043 17.8638 6 17.8638C5.46957 17.8638 4.96086 18.0745 4.58579 18.4496C4.21071 18.8246 4 19.3333 4 19.8638Z" stroke="#4C12A1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path d="M15 19.8638C15 20.3942 15.2107 20.9029 15.5858 21.278C15.9609 21.6531 16.4696 21.8638 17 21.8638C17.5304 21.8638 18.0391 21.6531 18.4142 21.278C18.7893 20.9029 19 20.3942 19 19.8638C19 19.3333 18.7893 18.8246 18.4142 18.4496C18.0391 18.0745 17.5304 17.8638 17 17.8638C16.4696 17.8638 15.9609 18.0745 15.5858 18.4496C15.2107 18.8246 15 19.3333 15 19.8638Z" stroke="#4C12A1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M17 17.8638H6V3.86377H4" stroke="#4C12A1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
6
+ <path d="M6 5.86377L20 6.86377L19 13.8638H6" stroke="#4C12A1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
7
+ </g>
8
+ <defs>
9
+ <clipPath id="clip0_2780_182858">
10
+ <rect width="24" height="24" fill="white" transform="translate(0 0.86377)"/>
11
+ </clipPath>
12
+ </defs>
13
+ </svg>
@@ -1,87 +1,87 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
-
4
- <svg
5
- xmlns:dc="http://purl.org/dc/elements/1.1/"
6
- xmlns:cc="http://creativecommons.org/ns#"
7
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
- xmlns:svg="http://www.w3.org/2000/svg"
9
- xmlns="http://www.w3.org/2000/svg"
10
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
- width="17"
13
- height="14"
14
- id="svg91951"
15
- version="1.1"
16
- inkscape:version="0.48.4 r9939"
17
- sodipodi:docname="New document 3">
18
- <defs
19
- id="defs91953" />
20
- <sodipodi:namedview
21
- id="base"
22
- pagecolor="#ffffff"
23
- bordercolor="#666666"
24
- borderopacity="1.0"
25
- inkscape:pageopacity="0.0"
26
- inkscape:pageshadow="2"
27
- inkscape:zoom="22.197802"
28
- inkscape:cx="8"
29
- inkscape:cy="8"
30
- inkscape:current-layer="layer1"
31
- showgrid="true"
32
- inkscape:grid-bbox="true"
33
- inkscape:document-units="px"
34
- inkscape:window-width="1920"
35
- inkscape:window-height="1017"
36
- inkscape:window-x="-8"
37
- inkscape:window-y="-8"
38
- inkscape:window-maximized="1" />
39
- <metadata
40
- id="metadata91956">
41
- <rdf:RDF>
42
- <cc:Work
43
- rdf:about="">
44
- <dc:format>image/svg+xml</dc:format>
45
- <dc:type
46
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
47
- <dc:title></dc:title>
48
- </cc:Work>
49
- </rdf:RDF>
50
- </metadata>
51
- <g
52
- id="layer1"
53
- inkscape:label="Layer 1"
54
- inkscape:groupmode="layer"
55
- transform="translate(0,-2)">
56
- <path
57
- style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
58
- inkscape:connector-curvature="0"
59
- d="M 4.999831,2.9996402 H 16.000362"
60
- id="path28763" />
61
- <path
62
- style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
63
- inkscape:connector-curvature="0"
64
- d="M 4.999831,8.9950062 H 16.000362"
65
- id="path28765" />
66
- <path
67
- style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
68
- inkscape:connector-curvature="0"
69
- d="M 4.999831,14.990372 H 16.000362"
70
- id="path28767" />
71
- <path
72
- style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
73
- inkscape:connector-curvature="0"
74
- d="m 0.9996379,2.9996402 v 0.00999"
75
- id="path28769" />
76
- <path
77
- style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
78
- inkscape:connector-curvature="0"
79
- d="m 0.9996379,8.9950062 v 0.00999"
80
- id="path28771" />
81
- <path
82
- style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
83
- inkscape:connector-curvature="0"
84
- d="m 0.9996379,14.990372 v 0.01"
85
- id="path28773" />
86
- </g>
87
- </svg>
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
6
+ xmlns:cc="http://creativecommons.org/ns#"
7
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
+ xmlns:svg="http://www.w3.org/2000/svg"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
+ width="17"
13
+ height="14"
14
+ id="svg91951"
15
+ version="1.1"
16
+ inkscape:version="0.48.4 r9939"
17
+ sodipodi:docname="New document 3">
18
+ <defs
19
+ id="defs91953" />
20
+ <sodipodi:namedview
21
+ id="base"
22
+ pagecolor="#ffffff"
23
+ bordercolor="#666666"
24
+ borderopacity="1.0"
25
+ inkscape:pageopacity="0.0"
26
+ inkscape:pageshadow="2"
27
+ inkscape:zoom="22.197802"
28
+ inkscape:cx="8"
29
+ inkscape:cy="8"
30
+ inkscape:current-layer="layer1"
31
+ showgrid="true"
32
+ inkscape:grid-bbox="true"
33
+ inkscape:document-units="px"
34
+ inkscape:window-width="1920"
35
+ inkscape:window-height="1017"
36
+ inkscape:window-x="-8"
37
+ inkscape:window-y="-8"
38
+ inkscape:window-maximized="1" />
39
+ <metadata
40
+ id="metadata91956">
41
+ <rdf:RDF>
42
+ <cc:Work
43
+ rdf:about="">
44
+ <dc:format>image/svg+xml</dc:format>
45
+ <dc:type
46
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
47
+ <dc:title></dc:title>
48
+ </cc:Work>
49
+ </rdf:RDF>
50
+ </metadata>
51
+ <g
52
+ id="layer1"
53
+ inkscape:label="Layer 1"
54
+ inkscape:groupmode="layer"
55
+ transform="translate(0,-2)">
56
+ <path
57
+ style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
58
+ inkscape:connector-curvature="0"
59
+ d="M 4.999831,2.9996402 H 16.000362"
60
+ id="path28763" />
61
+ <path
62
+ style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
63
+ inkscape:connector-curvature="0"
64
+ d="M 4.999831,8.9950062 H 16.000362"
65
+ id="path28765" />
66
+ <path
67
+ style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
68
+ inkscape:connector-curvature="0"
69
+ d="M 4.999831,14.990372 H 16.000362"
70
+ id="path28767" />
71
+ <path
72
+ style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
73
+ inkscape:connector-curvature="0"
74
+ d="m 0.9996379,2.9996402 v 0.00999"
75
+ id="path28769" />
76
+ <path
77
+ style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
78
+ inkscape:connector-curvature="0"
79
+ d="m 0.9996379,8.9950062 v 0.00999"
80
+ id="path28771" />
81
+ <path
82
+ style="fill:none;stroke:#4c12a1;stroke-width:1.9992758;stroke-linecap:round;stroke-linejoin:round"
83
+ inkscape:connector-curvature="0"
84
+ d="m 0.9996379,14.990372 v 0.01"
85
+ id="path28773" />
86
+ </g>
87
+ </svg>
@@ -1,95 +1,95 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
-
4
- <svg
5
- xmlns:dc="http://purl.org/dc/elements/1.1/"
6
- xmlns:cc="http://creativecommons.org/ns#"
7
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
- xmlns:svg="http://www.w3.org/2000/svg"
9
- xmlns="http://www.w3.org/2000/svg"
10
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
- width="18"
13
- height="18"
14
- id="svg91993"
15
- version="1.1"
16
- inkscape:version="0.48.4 r9939"
17
- sodipodi:docname="New document 5">
18
- <defs
19
- id="defs91995">
20
- <clipPath
21
- id="clip69_0_1">
22
- <rect
23
- style="fill:#ffffff"
24
- y="0"
25
- x="0"
26
- id="rect47253"
27
- transform="translate(352,835.725)"
28
- height="24"
29
- width="24" />
30
- </clipPath>
31
- </defs>
32
- <sodipodi:namedview
33
- id="base"
34
- pagecolor="#ffffff"
35
- bordercolor="#666666"
36
- borderopacity="1.0"
37
- inkscape:pageopacity="0.0"
38
- inkscape:pageshadow="2"
39
- inkscape:zoom="16"
40
- inkscape:cx="15.73047"
41
- inkscape:cy="11.433004"
42
- inkscape:current-layer="layer1"
43
- showgrid="true"
44
- inkscape:grid-bbox="true"
45
- inkscape:document-units="px"
46
- inkscape:window-width="1920"
47
- inkscape:window-height="1017"
48
- inkscape:window-x="-8"
49
- inkscape:window-y="-8"
50
- inkscape:window-maximized="1" />
51
- <metadata
52
- id="metadata91998">
53
- <rdf:RDF>
54
- <cc:Work
55
- rdf:about="">
56
- <dc:format>image/svg+xml</dc:format>
57
- <dc:type
58
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
59
- <dc:title></dc:title>
60
- </cc:Work>
61
- </rdf:RDF>
62
- </metadata>
63
- <g
64
- id="layer1"
65
- inkscape:label="Layer 1"
66
- inkscape:groupmode="layer"
67
- transform="translate(0,-14)">
68
- <g
69
- transform="translate(-355,-824.725)"
70
- style="fill:none"
71
- id="g3633"
72
- clip-path="url(#clip69_0_1)">
73
- <path
74
- id="path3635"
75
- d="m 356,840.725 c 0,-0.265 0.105,-0.519 0.293,-0.707 0.187,-0.188 0.442,-0.293 0.707,-0.293 h 4 c 0.265,0 0.52,0.105 0.707,0.293 0.188,0.188 0.293,0.442 0.293,0.707 v 4 c 0,0.265 -0.105,0.52 -0.293,0.707 -0.187,0.188 -0.442,0.293 -0.707,0.293 h -4 c -0.265,0 -0.52,-0.105 -0.707,-0.293 C 356.105,845.245 356,844.99 356,844.725 v -4 z"
76
- inkscape:connector-curvature="0"
77
- style="stroke:#4c12a1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round" />
78
- <path
79
- id="path3637"
80
- d="m 366,840.725 c 0,-0.265 0.105,-0.519 0.293,-0.707 0.187,-0.188 0.442,-0.293 0.707,-0.293 h 4 c 0.265,0 0.52,0.105 0.707,0.293 0.188,0.188 0.293,0.442 0.293,0.707 v 4 c 0,0.265 -0.105,0.52 -0.293,0.707 -0.187,0.188 -0.442,0.293 -0.707,0.293 h -4 c -0.265,0 -0.52,-0.105 -0.707,-0.293 C 366.105,845.245 366,844.99 366,844.725 v -4 z"
81
- inkscape:connector-curvature="0"
82
- style="stroke:#4c12a1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round" />
83
- <path
84
- id="path3639"
85
- d="m 356,850.725 c 0,-0.265 0.105,-0.519 0.293,-0.707 0.187,-0.188 0.442,-0.293 0.707,-0.293 h 4 c 0.265,0 0.52,0.105 0.707,0.293 0.188,0.188 0.293,0.442 0.293,0.707 v 4 c 0,0.265 -0.105,0.52 -0.293,0.707 -0.187,0.188 -0.442,0.293 -0.707,0.293 h -4 c -0.265,0 -0.52,-0.105 -0.707,-0.293 C 356.105,855.245 356,854.99 356,854.725 v -4 z"
86
- inkscape:connector-curvature="0"
87
- style="stroke:#4c12a1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round" />
88
- <path
89
- id="path3641"
90
- d="m 366,850.725 c 0,-0.265 0.105,-0.519 0.293,-0.707 0.187,-0.188 0.442,-0.293 0.707,-0.293 h 4 c 0.265,0 0.52,0.105 0.707,0.293 0.188,0.188 0.293,0.442 0.293,0.707 v 4 c 0,0.265 -0.105,0.52 -0.293,0.707 -0.187,0.188 -0.442,0.293 -0.707,0.293 h -4 c -0.265,0 -0.52,-0.105 -0.707,-0.293 C 366.105,855.245 366,854.99 366,854.725 v -4 z"
91
- inkscape:connector-curvature="0"
92
- style="stroke:#4c12a1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round" />
93
- </g>
94
- </g>
95
- </svg>
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
6
+ xmlns:cc="http://creativecommons.org/ns#"
7
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
+ xmlns:svg="http://www.w3.org/2000/svg"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
+ width="18"
13
+ height="18"
14
+ id="svg91993"
15
+ version="1.1"
16
+ inkscape:version="0.48.4 r9939"
17
+ sodipodi:docname="New document 5">
18
+ <defs
19
+ id="defs91995">
20
+ <clipPath
21
+ id="clip69_0_1">
22
+ <rect
23
+ style="fill:#ffffff"
24
+ y="0"
25
+ x="0"
26
+ id="rect47253"
27
+ transform="translate(352,835.725)"
28
+ height="24"
29
+ width="24" />
30
+ </clipPath>
31
+ </defs>
32
+ <sodipodi:namedview
33
+ id="base"
34
+ pagecolor="#ffffff"
35
+ bordercolor="#666666"
36
+ borderopacity="1.0"
37
+ inkscape:pageopacity="0.0"
38
+ inkscape:pageshadow="2"
39
+ inkscape:zoom="16"
40
+ inkscape:cx="15.73047"
41
+ inkscape:cy="11.433004"
42
+ inkscape:current-layer="layer1"
43
+ showgrid="true"
44
+ inkscape:grid-bbox="true"
45
+ inkscape:document-units="px"
46
+ inkscape:window-width="1920"
47
+ inkscape:window-height="1017"
48
+ inkscape:window-x="-8"
49
+ inkscape:window-y="-8"
50
+ inkscape:window-maximized="1" />
51
+ <metadata
52
+ id="metadata91998">
53
+ <rdf:RDF>
54
+ <cc:Work
55
+ rdf:about="">
56
+ <dc:format>image/svg+xml</dc:format>
57
+ <dc:type
58
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
59
+ <dc:title></dc:title>
60
+ </cc:Work>
61
+ </rdf:RDF>
62
+ </metadata>
63
+ <g
64
+ id="layer1"
65
+ inkscape:label="Layer 1"
66
+ inkscape:groupmode="layer"
67
+ transform="translate(0,-14)">
68
+ <g
69
+ transform="translate(-355,-824.725)"
70
+ style="fill:none"
71
+ id="g3633"
72
+ clip-path="url(#clip69_0_1)">
73
+ <path
74
+ id="path3635"
75
+ d="m 356,840.725 c 0,-0.265 0.105,-0.519 0.293,-0.707 0.187,-0.188 0.442,-0.293 0.707,-0.293 h 4 c 0.265,0 0.52,0.105 0.707,0.293 0.188,0.188 0.293,0.442 0.293,0.707 v 4 c 0,0.265 -0.105,0.52 -0.293,0.707 -0.187,0.188 -0.442,0.293 -0.707,0.293 h -4 c -0.265,0 -0.52,-0.105 -0.707,-0.293 C 356.105,845.245 356,844.99 356,844.725 v -4 z"
76
+ inkscape:connector-curvature="0"
77
+ style="stroke:#4c12a1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round" />
78
+ <path
79
+ id="path3637"
80
+ d="m 366,840.725 c 0,-0.265 0.105,-0.519 0.293,-0.707 0.187,-0.188 0.442,-0.293 0.707,-0.293 h 4 c 0.265,0 0.52,0.105 0.707,0.293 0.188,0.188 0.293,0.442 0.293,0.707 v 4 c 0,0.265 -0.105,0.52 -0.293,0.707 -0.187,0.188 -0.442,0.293 -0.707,0.293 h -4 c -0.265,0 -0.52,-0.105 -0.707,-0.293 C 366.105,845.245 366,844.99 366,844.725 v -4 z"
81
+ inkscape:connector-curvature="0"
82
+ style="stroke:#4c12a1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round" />
83
+ <path
84
+ id="path3639"
85
+ d="m 356,850.725 c 0,-0.265 0.105,-0.519 0.293,-0.707 0.187,-0.188 0.442,-0.293 0.707,-0.293 h 4 c 0.265,0 0.52,0.105 0.707,0.293 0.188,0.188 0.293,0.442 0.293,0.707 v 4 c 0,0.265 -0.105,0.52 -0.293,0.707 -0.187,0.188 -0.442,0.293 -0.707,0.293 h -4 c -0.265,0 -0.52,-0.105 -0.707,-0.293 C 356.105,855.245 356,854.99 356,854.725 v -4 z"
86
+ inkscape:connector-curvature="0"
87
+ style="stroke:#4c12a1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round" />
88
+ <path
89
+ id="path3641"
90
+ d="m 366,850.725 c 0,-0.265 0.105,-0.519 0.293,-0.707 0.187,-0.188 0.442,-0.293 0.707,-0.293 h 4 c 0.265,0 0.52,0.105 0.707,0.293 0.188,0.188 0.293,0.442 0.293,0.707 v 4 c 0,0.265 -0.105,0.52 -0.293,0.707 -0.187,0.188 -0.442,0.293 -0.707,0.293 h -4 c -0.265,0 -0.52,-0.105 -0.707,-0.293 C 366.105,855.245 366,854.99 366,854.725 v -4 z"
91
+ inkscape:connector-curvature="0"
92
+ style="stroke:#4c12a1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round" />
93
+ </g>
94
+ </g>
95
+ </svg>
@@ -24,6 +24,7 @@ export default function (_ref) {
24
24
  obj_property = _ref.obj_property,
25
25
  outlineSVGData = _ref.outlineSVGData,
26
26
  cds = _ref.cds,
27
+ do_not_overwrite_textures = _ref.do_not_overwrite_textures,
27
28
  can_be_mirrored = _ref.can_be_mirrored,
28
29
  mirrored = _ref.mirrored,
29
30
  _ref$width_unit = _ref.width_unit,
@@ -152,6 +153,7 @@ export default function (_ref) {
152
153
  img: base,
153
154
  obj: obj_property,
154
155
  cds: cds,
156
+ do_not_overwrite_textures: do_not_overwrite_textures,
155
157
  can_be_mirrored: can_be_mirrored,
156
158
  mirrored: mirrored,
157
159
  structure_json: structure_json,
@@ -1158,7 +1158,9 @@ export function render3DApplianceItem(element, layer, scene, sizeinfo, structure
1158
1158
  roughness: 0.9,
1159
1159
  map: texture
1160
1160
  });
1161
- obj.material = mat;
1161
+ if (!element.do_not_overwrite_textures) {
1162
+ obj.material = mat;
1163
+ }
1162
1164
  }
1163
1165
  });
1164
1166
  if (element.selected) {
@@ -1337,11 +1339,14 @@ export function render3DApplianceItem(element, layer, scene, sizeinfo, structure
1337
1339
  metalness: applianceMaterial.metalness,
1338
1340
  roughness: applianceMaterial.roughness
1339
1341
  });
1340
- // mat2.envMap = textureCube;
1341
- object.material = mat2;
1342
+ if (!element.do_not_overwrite_textures) {
1343
+ object.material = mat2;
1344
+ }
1342
1345
  for (var j = 0; j < object.children.length; j++) {
1343
1346
  if (object.children[j].type === OBJTYPE_MESH) {
1344
- object.children[j].material = mat2;
1347
+ if (!element.do_not_overwrite_textures) {
1348
+ object.children[j].material = mat2;
1349
+ }
1345
1350
  object.children[j].receiveShadow = true;
1346
1351
  object.children[j].castShadow = true; // change
1347
1352
  }
package/es/class/item.js CHANGED
@@ -81,6 +81,7 @@ var Item = /*#__PURE__*/function () {
81
81
  category: state.catalog.getIn(['elements', type, 'type']),
82
82
  layoutpos: state.catalog.getIn(['elements', type, 'info', 'layoutpos']),
83
83
  cabinet_category: state.catalog.getIn(['elements', type, 'obj']).toJS().cabinet_category,
84
+ do_not_overwrite_textures: state.catalog.getIn(['elements', type, 'do_not_overwrite_textures']),
84
85
  can_be_mirrored: state.catalog.getIn(['elements', type, 'can_be_mirrored']),
85
86
  mirrored: state.catalog.getIn(['elements', type, 'mirrored']),
86
87
  type: type,