Add 3d print icon.

This commit is contained in:
Viktor Kovacs 2022-11-18 21:20:58 +01:00
parent 25bfc4a804
commit 3c69b36a0d
6 changed files with 130 additions and 25 deletions

95
assets/icons/print3d.svg Normal file
View File

@ -0,0 +1,95 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 18 18"
xml:space="preserve"
version="1.1"
id="svg4"
sodipodi:docname="print3d.svg"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs8" /><sodipodi:namedview
id="namedview6"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
showgrid="true"
inkscape:zoom="45.254834"
inkscape:cx="6.5075921"
inkscape:cy="8.9603687"
inkscape:window-width="1920"
inkscape:window-height="1017"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg4"><inkscape:grid
type="xygrid"
id="grid859" /></sodipodi:namedview><g
style="fill:none"
id="g857"
transform="translate(-1)"><path
d="m 2.5,16.5 h 14"
stroke="#263238"
stroke-miterlimit="10"
stroke-linecap="round"
stroke-linejoin="round"
id="path821" /><path
d="m 2.5,14.5 h 14"
stroke="#263238"
stroke-miterlimit="10"
stroke-linecap="round"
stroke-linejoin="round"
id="path823" /><path
d="m 2.5,12.5 h 14"
stroke="#263238"
stroke-miterlimit="10"
stroke-linecap="round"
stroke-linejoin="round"
id="path825" /><path
d="m 2.5,10.5 h 6"
stroke="#263238"
stroke-miterlimit="10"
stroke-linecap="round"
stroke-linejoin="round"
id="path827" /><path
d="m 9.5,9.5 c 0,0.5 -0.5,1 -1,1"
stroke="#263238"
stroke-miterlimit="10"
stroke-linecap="round"
stroke-linejoin="round"
id="path829" /><path
d="m 9.5,7.5 v 2"
stroke="#263238"
stroke-miterlimit="10"
stroke-linecap="round"
stroke-linejoin="round"
id="path831" /><path
d="m 8.5,5.5 h 2 l -1,2 z"
stroke="#263238"
stroke-miterlimit="10"
stroke-linecap="round"
stroke-linejoin="round"
id="path833" /><path
d="m 7.5,1.5 v 4"
stroke="#263238"
stroke-miterlimit="10"
stroke-linecap="round"
stroke-linejoin="round"
id="path835" /><path
d="m 11.5,1.5 v 4"
stroke="#263238"
stroke-miterlimit="10"
stroke-linecap="round"
stroke-linejoin="round"
id="path837" /><path
d="m 11.5,5.5 h -4"
stroke="#263238"
stroke-miterlimit="10"
stroke-linecap="round"
stroke-linejoin="round"
id="path839" /></g></svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -1,15 +1,19 @@
import { SetExternalLibLocation } from '../engine/io/externallibs.js';
import { Embed } from './embed.js';
import { Website } from './website.js';
import { SetEventHandler } from './eventhandler.js';
import { SetEventHandler, HandleEvent } from './eventhandler.js';
import { PluginType, RegisterPlugin } from './pluginregistry.js';
import * as Engine from '../engine/main.js';
export { Engine };
import { ButtonDialog } from './dialog.js';
import { ButtonDialog, ProgressDialog } from './dialog.js';
import { ShowMessageDialog } from './dialogs.js';
export const UI = {
ButtonDialog
ButtonDialog,
ProgressDialog,
ShowMessageDialog,
HandleEvent
};
export function SetWebsiteEventHandler (eventHandler)

Binary file not shown.

View File

@ -1,6 +1,6 @@
@font-face {
font-family: "O3DVIcons";
src: url("O3DVIcons/O3DVIcons.woff?8f67a1f0a9586b502ca919a45546917d") format("woff");
src: url("O3DVIcons/O3DVIcons.woff?0e003e02b86912dd45c396f7eaa4349e") format("woff");
}
i[class^="icon-"]:before, i[class*=" icon-"]:before {
@ -119,33 +119,36 @@ i[class^="icon-"]:before, i[class*=" icon-"]:before {
.icon-open:before {
content: "\f123";
}
.icon-settings:before {
.icon-print3d:before {
content: "\f124";
}
.icon-share:before {
.icon-settings:before {
content: "\f125";
}
.icon-snapshot:before {
.icon-share:before {
content: "\f126";
}
.icon-tree_mesh:before {
.icon-snapshot:before {
content: "\f127";
}
.icon-tree_view:before {
.icon-tree_mesh:before {
content: "\f128";
}
.icon-twitter:before {
.icon-tree_view:before {
content: "\f129";
}
.icon-up_y:before {
.icon-twitter:before {
content: "\f12a";
}
.icon-up_z:before {
.icon-up_y:before {
content: "\f12b";
}
.icon-visible:before {
.icon-up_z:before {
content: "\f12c";
}
.icon-warning:before {
.icon-visible:before {
content: "\f12d";
}
.icon-warning:before {
content: "\f12e";
}

Binary file not shown.

View File

@ -1,6 +1,6 @@
@font-face {
font-family: "O3DVIcons";
src: url("./O3DVIcons.woff?8f67a1f0a9586b502ca919a45546917d") format("woff");
src: url("./O3DVIcons.woff?0e003e02b86912dd45c396f7eaa4349e") format("woff");
}
i[class^="icon-"]:before, i[class*=" icon-"]:before {
@ -119,33 +119,36 @@ i[class^="icon-"]:before, i[class*=" icon-"]:before {
.icon-open:before {
content: "\f123";
}
.icon-settings:before {
.icon-print3d:before {
content: "\f124";
}
.icon-share:before {
.icon-settings:before {
content: "\f125";
}
.icon-snapshot:before {
.icon-share:before {
content: "\f126";
}
.icon-tree_mesh:before {
.icon-snapshot:before {
content: "\f127";
}
.icon-tree_view:before {
.icon-tree_mesh:before {
content: "\f128";
}
.icon-twitter:before {
.icon-tree_view:before {
content: "\f129";
}
.icon-up_y:before {
.icon-twitter:before {
content: "\f12a";
}
.icon-up_z:before {
.icon-up_y:before {
content: "\f12b";
}
.icon-visible:before {
.icon-up_z:before {
content: "\f12c";
}
.icon-warning:before {
.icon-visible:before {
content: "\f12d";
}
.icon-warning:before {
content: "\f12e";
}