5.0版本 发布 新增 cadviewer转换方法

This commit is contained in:
高雄
2026-01-22 11:28:25 +08:00
parent 7dc0469b30
commit e43f10138f
1022 changed files with 293112 additions and 3187 deletions

View File

@@ -0,0 +1,479 @@
/*!
* Generated using the Bootstrap Customizer (https://getbootstrap.com/docs/3.4/customize/)
*/
/*!
* Bootstrap v3.4.1 (https://getbootstrap.com/)
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
display: block;
}
audio,
canvas,
progress,
video {
display: inline-block;
vertical-align: baseline;
}
audio:not([controls]) {
display: none;
height: 0;
}
[hidden],
template {
display: none;
}
a {
background-color: transparent;
}
a:active,
a:hover {
outline: 0;
}
abbr[title] {
border-bottom: none;
text-decoration: underline;
text-decoration: underline dotted;
}
b,
strong {
font-weight: bold;
}
dfn {
font-style: italic;
}
h1 {
font-size: 2em;
margin: 0.67em 0;
}
mark {
background: #ff0;
color: #000;
}
small {
font-size: 80%;
}
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
img {
border: 0;
}
svg:not(:root) {
overflow: hidden;
}
figure {
margin: 1em 40px;
}
hr {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
pre {
overflow: auto;
}
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
button,
input,
optgroup,
select,
textarea {
color: inherit;
font: inherit;
margin: 0;
}
button {
overflow: visible;
}
button,
select {
text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button;
cursor: pointer;
}
button[disabled],
html input[disabled] {
cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
input {
line-height: normal;
}
input[type="checkbox"],
input[type="radio"] {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
input[type="search"] {
-webkit-appearance: textfield;
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
legend {
border: 0;
padding: 0;
}
textarea {
overflow: auto;
}
optgroup {
font-weight: bold;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
td,
th {
padding: 0;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
*:before,
*:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html {
font-size: 10px;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 1.42857143;
color: #333333;
background-color: #ffffff;
}
input,
button,
select,
textarea {
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
a {
color: #337ab7;
text-decoration: none;
}
a:hover,
a:focus {
color: #23527c;
text-decoration: underline;
}
a:focus {
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
figure {
margin: 0;
}
img {
vertical-align: middle;
}
.img-responsive {
display: block;
max-width: 100%;
height: auto;
}
.img-rounded {
border-radius: 6px;
}
.img-thumbnail {
padding: 4px;
line-height: 1.42857143;
background-color: #ffffff;
border: 1px solid #dddddd;
border-radius: 4px;
-webkit-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
display: inline-block;
max-width: 100%;
height: auto;
}
.img-circle {
border-radius: 50%;
}
hr {
margin-top: 20px;
margin-bottom: 20px;
border: 0;
border-top: 1px solid #eeeeee;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
.sr-only-focusable:active,
.sr-only-focusable:focus {
position: static;
width: auto;
height: auto;
margin: 0;
overflow: visible;
clip: auto;
}
[role="button"] {
cursor: pointer;
}
.caret {
display: inline-block;
width: 0;
height: 0;
margin-left: 2px;
vertical-align: middle;
border-top: 4px dashed;
border-top: 4px solid \9;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
}
.dropup,
.dropdown {
position: relative;
}
.dropdown-toggle:focus {
outline: 0;
}
.dropdown-menu {
position: absolute;
top: 100%;
left: 0;
z-index: 1000;
display: none;
float: left;
min-width: 160px;
padding: 5px 0;
margin: 2px 0 0;
font-size: 14px;
text-align: left;
list-style: none;
background-color: #ffffff;
-webkit-background-clip: padding-box;
background-clip: padding-box;
border: 1px solid #cccccc;
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 4px;
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}
.dropdown-menu.pull-right {
right: 0;
left: auto;
}
.dropdown-menu .divider {
height: 1px;
margin: 9px 0;
overflow: hidden;
background-color: #e5e5e5;
}
.dropdown-menu > li > a {
display: block;
padding: 3px 20px;
clear: both;
font-weight: 400;
line-height: 1.42857143;
color: #333333;
white-space: nowrap;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
color: #262626;
text-decoration: none;
background-color: #f5f5f5;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
color: #ffffff;
text-decoration: none;
background-color: #337ab7;
outline: 0;
}
.dropdown-menu > .disabled > a,
.dropdown-menu > .disabled > a:hover,
.dropdown-menu > .disabled > a:focus {
color: #777777;
}
.dropdown-menu > .disabled > a:hover,
.dropdown-menu > .disabled > a:focus {
text-decoration: none;
cursor: not-allowed;
background-color: transparent;
background-image: none;
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
.open > .dropdown-menu {
display: block;
}
.open > a {
outline: 0;
}
.dropdown-menu-right {
right: 0;
left: auto;
}
.dropdown-menu-left {
right: auto;
left: 0;
}
.dropdown-header {
display: block;
padding: 3px 20px;
font-size: 12px;
line-height: 1.42857143;
color: #777777;
white-space: nowrap;
}
.dropdown-backdrop {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 990;
}
.pull-right > .dropdown-menu {
right: 0;
left: auto;
}
.dropup .caret,
.navbar-fixed-bottom .dropdown .caret {
content: "";
border-top: 0;
border-bottom: 4px dashed;
border-bottom: 4px solid \9;
}
.dropup .dropdown-menu,
.navbar-fixed-bottom .dropdown .dropdown-menu {
top: auto;
bottom: 100%;
margin-bottom: 2px;
}
@media (min-width: 768px) {
.navbar-right .dropdown-menu {
right: 0;
left: auto;
}
.navbar-right .dropdown-menu-left {
right: auto;
left: 0;
}
}
.clearfix:before,
.clearfix:after {
display: table;
content: " ";
}
.clearfix:after {
clear: both;
}
.center-block {
display: block;
margin-right: auto;
margin-left: auto;
}
.pull-right {
float: right !important;
}
.pull-left {
float: left !important;
}
.hide {
display: none !important;
}
.show {
display: block !important;
}
.invisible {
visibility: hidden;
}
.text-hide {
font: 0/0 a;
color: transparent;
text-shadow: none;
background-color: transparent;
border: 0;
}
.hidden {
display: none !important;
}
.affix {
position: fixed;
}

View File

@@ -0,0 +1 @@
span.multiselect-native-select{position:relative}span.multiselect-native-select select{border:0!important;clip:rect(0 0 0 0)!important;height:1px!important;margin:-1px -1px -1px -3px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important;left:50%;top:30px}.multiselect-container{position:absolute;list-style-type:none;margin:0;padding:0}.multiselect-container .input-group{margin:5px}.multiselect-container .multiselect-reset .input-group{width:93%}.multiselect-container>li{padding:0}.multiselect-container>li>a.multiselect-all label{font-weight:700}.multiselect-container>li.multiselect-group label{margin:0;padding:3px 20px;height:100%;font-weight:700}.multiselect-container>li.multiselect-group-clickable label{cursor:pointer}.multiselect-container>li>a{padding:0}.multiselect-container>li>a>label{margin:0;height:100%;cursor:pointer;font-weight:400;padding:3px 20px 3px 40px}.multiselect-container>li>a>label.checkbox,.multiselect-container>li>a>label.radio{margin:0}.multiselect-container>li>a>label>input[type=checkbox]{margin-bottom:5px}.btn-group>.btn-group:nth-child(2)>.multiselect.btn{border-top-left-radius:4px;border-bottom-left-radius:4px}.form-inline .multiselect-container label.checkbox,.form-inline .multiselect-container label.radio{padding:3px 20px 3px 40px}.form-inline .multiselect-container li a label.checkbox input[type=checkbox],.form-inline .multiselect-container li a label.radio input[type=radio]{margin-left:-20px;margin-right:0}

View File

@@ -0,0 +1,444 @@
.cadviewer-bootstrap {
/*!
* Generated using the Bootstrap Customizer (https://getbootstrap.com/docs/3.4/customize/)
*/
/*!
* Bootstrap v3.4.1 (https://getbootstrap.com/)
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
}
.cadviewer-bootstrap html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
.cadviewer-bootstrap body {
margin: 0;
}
.cadviewer-bootstrap article, .cadviewer-bootstrap aside, .cadviewer-bootstrap details, .cadviewer-bootstrap figcaption, .cadviewer-bootstrap figure, .cadviewer-bootstrap footer, .cadviewer-bootstrap header, .cadviewer-bootstrap hgroup, .cadviewer-bootstrap main, .cadviewer-bootstrap menu, .cadviewer-bootstrap nav, .cadviewer-bootstrap section, .cadviewer-bootstrap summary {
display: block;
}
.cadviewer-bootstrap audio, .cadviewer-bootstrap canvas, .cadviewer-bootstrap progress, .cadviewer-bootstrap video {
display: inline-block;
vertical-align: baseline;
}
.cadviewer-bootstrap audio:not([controls]) {
display: none;
height: 0;
}
.cadviewer-bootstrap [hidden], .cadviewer-bootstrap template {
display: none;
}
.cadviewer-bootstrap a {
background-color: transparent;
}
.cadviewer-bootstrap a:active, .cadviewer-bootstrap a:hover {
outline: 0;
}
.cadviewer-bootstrap abbr[title] {
border-bottom: none;
text-decoration: underline;
text-decoration: underline dotted;
}
.cadviewer-bootstrap b, .cadviewer-bootstrap strong {
font-weight: bold;
}
.cadviewer-bootstrap dfn {
font-style: italic;
}
.cadviewer-bootstrap h1 {
font-size: 2em;
margin: 0.67em 0;
}
.cadviewer-bootstrap mark {
background: #ff0;
color: #000;
}
.cadviewer-bootstrap small {
font-size: 80%;
}
.cadviewer-bootstrap sub, .cadviewer-bootstrap sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
.cadviewer-bootstrap sup {
top: -0.5em;
}
.cadviewer-bootstrap sub {
bottom: -0.25em;
}
.cadviewer-bootstrap img {
border: 0;
}
.cadviewer-bootstrap svg:not(:root) {
overflow: hidden;
}
.cadviewer-bootstrap figure {
margin: 1em 40px;
}
.cadviewer-bootstrap hr {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
.cadviewer-bootstrap pre {
overflow: auto;
}
.cadviewer-bootstrap code, .cadviewer-bootstrap kbd, .cadviewer-bootstrap pre, .cadviewer-bootstrap samp {
font-family: monospace, monospace;
font-size: 1em;
}
.cadviewer-bootstrap button, .cadviewer-bootstrap input, .cadviewer-bootstrap optgroup, .cadviewer-bootstrap select, .cadviewer-bootstrap textarea {
color: inherit;
font: inherit;
margin: 0;
/* 8.45.2 */
/*8.45.2*/
border-radius: 0px !important;
border-width : 1px !important;
border-color: #000 !important;
}
.cadviewer-bootstrap button {
overflow: visible;
}
.cadviewer-bootstrap button, .cadviewer-bootstrap select {
text-transform: none;
}
.cadviewer-bootstrap button, .cadviewer-bootstrap html input[type="button"], .cadviewer-bootstrap input[type="reset"], .cadviewer-bootstrap input[type="submit"] {
-webkit-appearance: button;
cursor: pointer;
}
.cadviewer-bootstrap button[disabled], .cadviewer-bootstrap html input[disabled] {
cursor: default;
}
.cadviewer-bootstrap button::-moz-focus-inner, .cadviewer-bootstrap input::-moz-focus-inner {
border: 0;
padding: 0;
}
.cadviewer-bootstrap input {
line-height: 22px;
/*8.45.2*/
border-radius: 0px !important;
border-width : 1px !important;
border-color: #000 !important;
}
.cadviewer-bootstrap input[type="checkbox"], .cadviewer-bootstrap input[type="radio"] {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
border-radius: 0px;
height: 20px !important;
}
.cadviewer-bootstrap input[type="number"]::-webkit-inner-spin-button, .cadviewer-bootstrap input[type="number"]::-webkit-outer-spin-button {
height: auto;
border-radius: 3px;
}
.cadviewer-bootstrap input[type="search"] {
-webkit-appearance: textfield;
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
.cadviewer-bootstrap input[type="search"]::-webkit-search-cancel-button, .cadviewer-bootstrap input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
.cadviewer-bootstrap fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
.cadviewer-bootstrap legend {
border: 0;
padding: 0;
}
.cadviewer-bootstrap textarea {
overflow: auto;
}
.cadviewer-bootstrap optgroup {
font-weight: bold;
}
.cadviewer-bootstrap table {
border-collapse: collapse;
border-spacing: 0;
}
.cadviewer-bootstrap td, .cadviewer-bootstrap th {
padding: 0;
}
.cadviewer-bootstrap * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.cadviewer-bootstrap *:before, .cadviewer-bootstrap *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.cadviewer-bootstrap html {
font-size: 10px;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.cadviewer-bootstrap input, .cadviewer-bootstrap button, .cadviewer-bootstrap select, .cadviewer-bootstrap textarea {
font-family: inherit;
font-size: inherit;
line-height: inherit;
/*8.45.2*/
border-radius: 0px !important;
border-width : 1px !important;
border-color: #000 !important;
}
.cadviewer-bootstrap a {
color: #337ab7;
text-decoration: none;
}
.cadviewer-bootstrap #floorPlan_svg a:hover, .cadviewer-bootstrap #floorPlan_svg a:focus {
color: #23527c;
text-decoration: underline;
}
.cadviewer-bootstrap a:focus {
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
.cadviewer-bootstrap figure {
margin: 0;
}
.cadviewer-bootstrap img {
vertical-align: middle;
}
.cadviewer-bootstrap .img-responsive {
display: block;
max-width: 100%;
height: auto;
}
.cadviewer-bootstrap .img-rounded {
border-radius: 6px;
}
.cadviewer-bootstrap .img-thumbnail {
padding: 4px;
line-height: 1.42857143;
background-color: #ffffff;
border: 1px solid #dddddd;
border-radius: 4px;
-webkit-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
display: inline-block;
max-width: 100%;
height: auto;
}
.cadviewer-bootstrap .img-circle {
border-radius: 50%;
}
.cadviewer-bootstrap hr {
margin-top: 20px;
margin-bottom: 20px;
border: 0;
border-top: 1px solid #eeeeee;
}
.cadviewer-bootstrap .sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
.cadviewer-bootstrap .sr-only-focusable:active, .cadviewer-bootstrap .sr-only-focusable:focus {
position: static;
width: auto;
height: auto;
margin: 0;
overflow: visible;
clip: auto;
}
.cadviewer-bootstrap [role="button"] {
cursor: pointer;
}
.cadviewer-bootstrap .caret {
display: inline-block;
width: 0;
height: 0;
margin-left: 2px;
vertical-align: middle;
border-top: 4px dashed;
border-top: 4px solid \9;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
}
.cadviewer-bootstrap .dropup, .cadviewer-bootstrap .dropdown {
position: relative;
}
.cadviewer-bootstrap .dropdown-toggle:focus {
outline: 0;
}
.cadviewer-bootstrap .dropdown-menu {
position: absolute;
top: 100%;
left: 0;
z-index: 1000;
display: none;
float: left;
min-width: 160px;
padding: 5px 0;
margin: 2px 0 0;
font-size: 14px;
text-align: left;
list-style: none;
background-color: #ffffff;
-webkit-background-clip: padding-box;
background-clip: padding-box;
border: 1px solid #cccccc;
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 4px;
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}
.cadviewer-bootstrap .dropdown-menu.pull-right {
right: 0;
left: auto;
}
.cadviewer-bootstrap .dropdown-menu .divider {
height: 1px;
margin: 9px 0;
overflow: hidden;
background-color: #e5e5e5;
}
.cadviewer-bootstrap .dropdown-menu > li > a {
display: block;
padding: 3px 20px;
clear: both;
font-weight: 400;
line-height: 1.42857143;
color: #333333;
white-space: nowrap;
}
.cadviewer-bootstrap .dropdown-menu > li > a:hover, .cadviewer-bootstrap .dropdown-menu > li > a:focus {
color: #262626;
text-decoration: none;
background-color: #f5f5f5;
}
.cadviewer-bootstrap .dropdown-menu > .active > a, .cadviewer-bootstrap .dropdown-menu > .active > a:hover, .cadviewer-bootstrap .dropdown-menu > .active > a:focus {
color: #ffffff;
text-decoration: none;
background-color: #337ab7;
outline: 0;
}
.cadviewer-bootstrap .dropdown-menu > .disabled > a, .cadviewer-bootstrap .dropdown-menu > .disabled > a:hover, .cadviewer-bootstrap .dropdown-menu > .disabled > a:focus {
color: #777777;
}
.cadviewer-bootstrap .dropdown-menu > .disabled > a:hover, .cadviewer-bootstrap .dropdown-menu > .disabled > a:focus {
text-decoration: none;
cursor: not-allowed;
background-color: transparent;
background-image: none;
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
.cadviewer-bootstrap .open > .dropdown-menu {
display: block;
}
.cadviewer-bootstrap .open > a {
outline: 0;
}
.cadviewer-bootstrap .dropdown-menu-right {
right: 0;
left: auto;
}
.cadviewer-bootstrap .dropdown-menu-left {
right: auto;
left: 0;
}
.cadviewer-bootstrap .dropdown-header {
display: block;
padding: 3px 20px;
font-size: 12px;
line-height: 1.42857143;
color: #777777;
white-space: nowrap;
}
.cadviewer-bootstrap .dropdown-backdrop {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 990;
}
.cadviewer-bootstrap .pull-right > .dropdown-menu {
right: 0;
left: auto;
}
.cadviewer-bootstrap .dropup .caret, .cadviewer-bootstrap .navbar-fixed-bottom .dropdown .caret {
content: "";
border-top: 0;
border-bottom: 4px dashed;
border-bottom: 4px solid \9;
}
.cadviewer-bootstrap .dropup .dropdown-menu, .cadviewer-bootstrap .navbar-fixed-bottom .dropdown .dropdown-menu {
top: auto;
bottom: 100%;
margin-bottom: 2px;
}
@media (min-width: 768px) {
.cadviewer-bootstrap .navbar-right .dropdown-menu {
right: 0;
left: auto;
}
.cadviewer-bootstrap .navbar-right .dropdown-menu-left {
right: auto;
left: 0;
}
}
.cadviewer-bootstrap .clearfix:before, .cadviewer-bootstrap .clearfix:after {
display: table;
content: " ";
}
.cadviewer-bootstrap .clearfix:after {
clear: both;
}
.cadviewer-bootstrap .center-block {
display: block;
margin-right: auto;
margin-left: auto;
}
.cadviewer-bootstrap .pull-right {
float: right !important;
}
.cadviewer-bootstrap .pull-left {
float: left !important;
}
.cadviewer-bootstrap .hide {
display: none !important;
}
.cadviewer-bootstrap .show {
display: block !important;
}
.cadviewer-bootstrap .invisible {
visibility: hidden;
}
.cadviewer-bootstrap .text-hide {
font: 0/0 a;
color: transparent;
text-shadow: none;
background-color: transparent;
border: 0;
}
.cadviewer-bootstrap .hidden {
display: none !important;
}
.cadviewer-bootstrap .affix {
position: fixed;
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,391 @@
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",
"@brand-info": "#5bc0de",
"@brand-warning": "#f0ad4e",
"@brand-danger": "#d9534f",
"@body-bg": "#fff",
"@text-color": "@gray-dark",
"@link-color": "@brand-primary",
"@link-hover-color": "darken(@link-color, 15%)",
"@link-hover-decoration": "underline",
"@font-family-sans-serif": "\"Helvetica Neue\", Helvetica, Arial, sans-serif",
"@font-family-serif": "Georgia, \"Times New Roman\", Times, serif",
"@font-family-monospace": "Menlo, Monaco, Consolas, \"Courier New\", monospace",
"@font-family-base": "@font-family-sans-serif",
"@font-size-base": "14px",
"@font-size-large": "ceil((@font-size-base * 1.25))",
"@font-size-small": "ceil((@font-size-base * .85))",
"@font-size-h1": "floor((@font-size-base * 2.6))",
"@font-size-h2": "floor((@font-size-base * 2.15))",
"@font-size-h3": "ceil((@font-size-base * 1.7))",
"@font-size-h4": "ceil((@font-size-base * 1.25))",
"@font-size-h5": "@font-size-base",
"@font-size-h6": "ceil((@font-size-base * .85))",
"@line-height-base": "1.428571429",
"@line-height-computed": "floor((@font-size-base * @line-height-base))",
"@headings-font-family": "inherit",
"@headings-font-weight": "500",
"@headings-line-height": "1.1",
"@headings-color": "inherit",
"@icon-font-path": "\"../fonts/\"",
"@icon-font-name": "\"glyphicons-halflings-regular\"",
"@icon-font-svg-id": "\"glyphicons_halflingsregular\"",
"@padding-base-vertical": "6px",
"@padding-base-horizontal": "12px",
"@padding-large-vertical": "10px",
"@padding-large-horizontal": "16px",
"@padding-small-vertical": "5px",
"@padding-small-horizontal": "10px",
"@padding-xs-vertical": "1px",
"@padding-xs-horizontal": "5px",
"@line-height-large": "1.3333333",
"@line-height-small": "1.5",
"@border-radius-base": "4px",
"@border-radius-large": "6px",
"@border-radius-small": "3px",
"@component-active-color": "#fff",
"@component-active-bg": "@brand-primary",
"@caret-width-base": "4px",
"@caret-width-large": "5px",
"@table-cell-padding": "8px",
"@table-condensed-cell-padding": "5px",
"@table-bg": "transparent",
"@table-bg-accent": "#f9f9f9",
"@table-bg-hover": "#f5f5f5",
"@table-bg-active": "@table-bg-hover",
"@table-border-color": "#ddd",
"@btn-font-weight": "normal",
"@btn-default-color": "#333",
"@btn-default-bg": "#fff",
"@btn-default-border": "#ccc",
"@btn-primary-color": "#fff",
"@btn-primary-bg": "@brand-primary",
"@btn-primary-border": "darken(@btn-primary-bg, 5%)",
"@btn-success-color": "#fff",
"@btn-success-bg": "@brand-success",
"@btn-success-border": "darken(@btn-success-bg, 5%)",
"@btn-info-color": "#fff",
"@btn-info-bg": "@brand-info",
"@btn-info-border": "darken(@btn-info-bg, 5%)",
"@btn-warning-color": "#fff",
"@btn-warning-bg": "@brand-warning",
"@btn-warning-border": "darken(@btn-warning-bg, 5%)",
"@btn-danger-color": "#fff",
"@btn-danger-bg": "@brand-danger",
"@btn-danger-border": "darken(@btn-danger-bg, 5%)",
"@btn-link-disabled-color": "@gray-light",
"@btn-border-radius-base": "@border-radius-base",
"@btn-border-radius-large": "@border-radius-large",
"@btn-border-radius-small": "@border-radius-small",
"@input-bg": "#fff",
"@input-bg-disabled": "@gray-lighter",
"@input-color": "@gray",
"@input-border": "#ccc",
"@input-border-radius": "@border-radius-base",
"@input-border-radius-large": "@border-radius-large",
"@input-border-radius-small": "@border-radius-small",
"@input-border-focus": "#66afe9",
"@input-color-placeholder": "#999",
"@input-height-base": "(@line-height-computed + (@padding-base-vertical * 2) + 2)",
"@input-height-large": "(ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2)",
"@input-height-small": "(floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2)",
"@form-group-margin-bottom": "15px",
"@legend-color": "@gray-dark",
"@legend-border-color": "#e5e5e5",
"@input-group-addon-bg": "@gray-lighter",
"@input-group-addon-border-color": "@input-border",
"@cursor-disabled": "not-allowed",
"@dropdown-bg": "#fff",
"@dropdown-border": "rgba(0, 0, 0, .15)",
"@dropdown-fallback-border": "#ccc",
"@dropdown-divider-bg": "#e5e5e5",
"@dropdown-link-color": "@gray-dark",
"@dropdown-link-hover-color": "darken(@gray-dark, 5%)",
"@dropdown-link-hover-bg": "#f5f5f5",
"@dropdown-link-active-color": "@component-active-color",
"@dropdown-link-active-bg": "@component-active-bg",
"@dropdown-link-disabled-color": "@gray-light",
"@dropdown-header-color": "@gray-light",
"@dropdown-caret-color": "#000",
"@screen-xs": "480px",
"@screen-xs-min": "@screen-xs",
"@screen-phone": "@screen-xs-min",
"@screen-sm": "768px",
"@screen-sm-min": "@screen-sm",
"@screen-tablet": "@screen-sm-min",
"@screen-md": "992px",
"@screen-md-min": "@screen-md",
"@screen-desktop": "@screen-md-min",
"@screen-lg": "1200px",
"@screen-lg-min": "@screen-lg",
"@screen-lg-desktop": "@screen-lg-min",
"@screen-xs-max": "(@screen-sm-min - 1)",
"@screen-sm-max": "(@screen-md-min - 1)",
"@screen-md-max": "(@screen-lg-min - 1)",
"@grid-columns": "12",
"@grid-gutter-width": "30px",
"@grid-float-breakpoint": "@screen-sm-min",
"@grid-float-breakpoint-max": "(@grid-float-breakpoint - 1)",
"@container-tablet": "(720px + @grid-gutter-width)",
"@container-sm": "@container-tablet",
"@container-desktop": "(940px + @grid-gutter-width)",
"@container-md": "@container-desktop",
"@container-large-desktop": "(1140px + @grid-gutter-width)",
"@container-lg": "@container-large-desktop",
"@navbar-height": "50px",
"@navbar-margin-bottom": "@line-height-computed",
"@navbar-border-radius": "@border-radius-base",
"@navbar-padding-horizontal": "floor((@grid-gutter-width / 2))",
"@navbar-padding-vertical": "((@navbar-height - @line-height-computed) / 2)",
"@navbar-collapse-max-height": "340px",
"@navbar-default-color": "#777",
"@navbar-default-bg": "#f8f8f8",
"@navbar-default-border": "darken(@navbar-default-bg, 6.5%)",
"@navbar-default-link-color": "#777",
"@navbar-default-link-hover-color": "#333",
"@navbar-default-link-hover-bg": "transparent",
"@navbar-default-link-active-color": "#555",
"@navbar-default-link-active-bg": "darken(@navbar-default-bg, 6.5%)",
"@navbar-default-link-disabled-color": "#ccc",
"@navbar-default-link-disabled-bg": "transparent",
"@navbar-default-brand-color": "@navbar-default-link-color",
"@navbar-default-brand-hover-color": "darken(@navbar-default-brand-color, 10%)",
"@navbar-default-brand-hover-bg": "transparent",
"@navbar-default-toggle-hover-bg": "#ddd",
"@navbar-default-toggle-icon-bar-bg": "#888",
"@navbar-default-toggle-border-color": "#ddd",
"@navbar-inverse-color": "lighten(@gray-light, 15%)",
"@navbar-inverse-bg": "#222",
"@navbar-inverse-border": "darken(@navbar-inverse-bg, 10%)",
"@navbar-inverse-link-color": "lighten(@gray-light, 15%)",
"@navbar-inverse-link-hover-color": "#fff",
"@navbar-inverse-link-hover-bg": "transparent",
"@navbar-inverse-link-active-color": "@navbar-inverse-link-hover-color",
"@navbar-inverse-link-active-bg": "darken(@navbar-inverse-bg, 10%)",
"@navbar-inverse-link-disabled-color": "#444",
"@navbar-inverse-link-disabled-bg": "transparent",
"@navbar-inverse-brand-color": "@navbar-inverse-link-color",
"@navbar-inverse-brand-hover-color": "#fff",
"@navbar-inverse-brand-hover-bg": "transparent",
"@navbar-inverse-toggle-hover-bg": "#333",
"@navbar-inverse-toggle-icon-bar-bg": "#fff",
"@navbar-inverse-toggle-border-color": "#333",
"@nav-link-padding": "10px 15px",
"@nav-link-hover-bg": "@gray-lighter",
"@nav-disabled-link-color": "@gray-light",
"@nav-disabled-link-hover-color": "@gray-light",
"@nav-tabs-border-color": "#ddd",
"@nav-tabs-link-hover-border-color": "@gray-lighter",
"@nav-tabs-active-link-hover-bg": "@body-bg",
"@nav-tabs-active-link-hover-color": "@gray",
"@nav-tabs-active-link-hover-border-color": "#ddd",
"@nav-tabs-justified-link-border-color": "#ddd",
"@nav-tabs-justified-active-link-border-color": "@body-bg",
"@nav-pills-border-radius": "@border-radius-base",
"@nav-pills-active-link-hover-bg": "@component-active-bg",
"@nav-pills-active-link-hover-color": "@component-active-color",
"@pagination-color": "@link-color",
"@pagination-bg": "#fff",
"@pagination-border": "#ddd",
"@pagination-hover-color": "@link-hover-color",
"@pagination-hover-bg": "@gray-lighter",
"@pagination-hover-border": "#ddd",
"@pagination-active-color": "#fff",
"@pagination-active-bg": "@brand-primary",
"@pagination-active-border": "@brand-primary",
"@pagination-disabled-color": "@gray-light",
"@pagination-disabled-bg": "#fff",
"@pagination-disabled-border": "#ddd",
"@pager-bg": "@pagination-bg",
"@pager-border": "@pagination-border",
"@pager-border-radius": "15px",
"@pager-hover-bg": "@pagination-hover-bg",
"@pager-active-bg": "@pagination-active-bg",
"@pager-active-color": "@pagination-active-color",
"@pager-disabled-color": "@pagination-disabled-color",
"@jumbotron-padding": "30px",
"@jumbotron-color": "inherit",
"@jumbotron-bg": "@gray-lighter",
"@jumbotron-heading-color": "inherit",
"@jumbotron-font-size": "ceil((@font-size-base * 1.5))",
"@jumbotron-heading-font-size": "ceil((@font-size-base * 4.5))",
"@state-success-text": "#3c763d",
"@state-success-bg": "#dff0d8",
"@state-success-border": "darken(spin(@state-success-bg, -10), 5%)",
"@state-info-text": "#31708f",
"@state-info-bg": "#d9edf7",
"@state-info-border": "darken(spin(@state-info-bg, -10), 7%)",
"@state-warning-text": "#8a6d3b",
"@state-warning-bg": "#fcf8e3",
"@state-warning-border": "darken(spin(@state-warning-bg, -10), 5%)",
"@state-danger-text": "#a94442",
"@state-danger-bg": "#f2dede",
"@state-danger-border": "darken(spin(@state-danger-bg, -10), 5%)",
"@tooltip-max-width": "200px",
"@tooltip-color": "#fff",
"@tooltip-bg": "#000",
"@tooltip-opacity": ".9",
"@tooltip-arrow-width": "5px",
"@tooltip-arrow-color": "@tooltip-bg",
"@popover-bg": "#fff",
"@popover-max-width": "276px",
"@popover-border-color": "rgba(0, 0, 0, .2)",
"@popover-fallback-border-color": "#ccc",
"@popover-title-bg": "darken(@popover-bg, 3%)",
"@popover-arrow-width": "10px",
"@popover-arrow-color": "@popover-bg",
"@popover-arrow-outer-width": "(@popover-arrow-width + 1)",
"@popover-arrow-outer-color": "fadein(@popover-border-color, 5%)",
"@popover-arrow-outer-fallback-color": "darken(@popover-fallback-border-color, 20%)",
"@label-default-bg": "@gray-light",
"@label-primary-bg": "@brand-primary",
"@label-success-bg": "@brand-success",
"@label-info-bg": "@brand-info",
"@label-warning-bg": "@brand-warning",
"@label-danger-bg": "@brand-danger",
"@label-color": "#fff",
"@label-link-hover-color": "#fff",
"@modal-inner-padding": "15px",
"@modal-title-padding": "15px",
"@modal-title-line-height": "@line-height-base",
"@modal-content-bg": "#fff",
"@modal-content-border-color": "rgba(0, 0, 0, .2)",
"@modal-content-fallback-border-color": "#999",
"@modal-backdrop-bg": "#000",
"@modal-backdrop-opacity": ".5",
"@modal-header-border-color": "#e5e5e5",
"@modal-footer-border-color": "@modal-header-border-color",
"@modal-lg": "900px",
"@modal-md": "600px",
"@modal-sm": "300px",
"@alert-padding": "15px",
"@alert-border-radius": "@border-radius-base",
"@alert-link-font-weight": "bold",
"@alert-success-bg": "@state-success-bg",
"@alert-success-text": "@state-success-text",
"@alert-success-border": "@state-success-border",
"@alert-info-bg": "@state-info-bg",
"@alert-info-text": "@state-info-text",
"@alert-info-border": "@state-info-border",
"@alert-warning-bg": "@state-warning-bg",
"@alert-warning-text": "@state-warning-text",
"@alert-warning-border": "@state-warning-border",
"@alert-danger-bg": "@state-danger-bg",
"@alert-danger-text": "@state-danger-text",
"@alert-danger-border": "@state-danger-border",
"@progress-bg": "#f5f5f5",
"@progress-bar-color": "#fff",
"@progress-border-radius": "@border-radius-base",
"@progress-bar-bg": "@brand-primary",
"@progress-bar-success-bg": "@brand-success",
"@progress-bar-warning-bg": "@brand-warning",
"@progress-bar-danger-bg": "@brand-danger",
"@progress-bar-info-bg": "@brand-info",
"@list-group-bg": "#fff",
"@list-group-border": "#ddd",
"@list-group-border-radius": "@border-radius-base",
"@list-group-hover-bg": "#f5f5f5",
"@list-group-active-color": "@component-active-color",
"@list-group-active-bg": "@component-active-bg",
"@list-group-active-border": "@list-group-active-bg",
"@list-group-active-text-color": "lighten(@list-group-active-bg, 40%)",
"@list-group-disabled-color": "@gray-light",
"@list-group-disabled-bg": "@gray-lighter",
"@list-group-disabled-text-color": "@list-group-disabled-color",
"@list-group-link-color": "#555",
"@list-group-link-hover-color": "@list-group-link-color",
"@list-group-link-heading-color": "#333",
"@panel-bg": "#fff",
"@panel-body-padding": "15px",
"@panel-heading-padding": "10px 15px",
"@panel-footer-padding": "@panel-heading-padding",
"@panel-border-radius": "@border-radius-base",
"@panel-inner-border": "#ddd",
"@panel-footer-bg": "#f5f5f5",
"@panel-default-text": "@gray-dark",
"@panel-default-border": "#ddd",
"@panel-default-heading-bg": "#f5f5f5",
"@panel-primary-text": "#fff",
"@panel-primary-border": "@brand-primary",
"@panel-primary-heading-bg": "@brand-primary",
"@panel-success-text": "@state-success-text",
"@panel-success-border": "@state-success-border",
"@panel-success-heading-bg": "@state-success-bg",
"@panel-info-text": "@state-info-text",
"@panel-info-border": "@state-info-border",
"@panel-info-heading-bg": "@state-info-bg",
"@panel-warning-text": "@state-warning-text",
"@panel-warning-border": "@state-warning-border",
"@panel-warning-heading-bg": "@state-warning-bg",
"@panel-danger-text": "@state-danger-text",
"@panel-danger-border": "@state-danger-border",
"@panel-danger-heading-bg": "@state-danger-bg",
"@thumbnail-padding": "4px",
"@thumbnail-bg": "@body-bg",
"@thumbnail-border": "#ddd",
"@thumbnail-border-radius": "@border-radius-base",
"@thumbnail-caption-color": "@text-color",
"@thumbnail-caption-padding": "9px",
"@well-bg": "#f5f5f5",
"@well-border": "darken(@well-bg, 7%)",
"@badge-color": "#fff",
"@badge-link-hover-color": "#fff",
"@badge-bg": "@gray-light",
"@badge-active-color": "@link-color",
"@badge-active-bg": "#fff",
"@badge-font-weight": "bold",
"@badge-line-height": "1",
"@badge-border-radius": "10px",
"@breadcrumb-padding-vertical": "8px",
"@breadcrumb-padding-horizontal": "15px",
"@breadcrumb-bg": "#f5f5f5",
"@breadcrumb-color": "#ccc",
"@breadcrumb-active-color": "@gray-light",
"@breadcrumb-separator": "\"/\"",
"@carousel-text-shadow": "0 1px 2px rgba(0, 0, 0, .6)",
"@carousel-control-color": "#fff",
"@carousel-control-width": "15%",
"@carousel-control-opacity": ".5",
"@carousel-control-font-size": "20px",
"@carousel-indicator-active-bg": "#fff",
"@carousel-indicator-border-color": "#fff",
"@carousel-caption-color": "#fff",
"@close-font-weight": "bold",
"@close-color": "#000",
"@close-text-shadow": "0 1px 0 #fff",
"@code-color": "#c7254e",
"@code-bg": "#f9f2f4",
"@kbd-color": "#fff",
"@kbd-bg": "#333",
"@pre-bg": "#f5f5f5",
"@pre-color": "@gray-dark",
"@pre-border-color": "#ccc",
"@pre-scrollable-max-height": "340px",
"@component-offset-horizontal": "180px",
"@text-muted": "@gray-light",
"@abbr-border-color": "@gray-light",
"@headings-small-color": "@gray-light",
"@blockquote-small-color": "@gray-light",
"@blockquote-font-size": "(@font-size-base * 1.25)",
"@blockquote-border-color": "@gray-lighter",
"@page-header-border-color": "@gray-lighter",
"@dl-horizontal-offset": "@component-offset-horizontal",
"@dl-horizontal-breakpoint": "@grid-float-breakpoint",
"@hr-border": "@gray-lighter"
},
"css": [
"dropdowns.less"
],
"js": [
"button.js",
"dropdown.js"
]
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 328 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,43 @@
<cvjs>
<iconmenu>
<totalpages>1</totalpages>
<startpage>1</startpage>
<pages>
<page>
<command>cvjs_toggleBlackWhite</command>
<command>cvjs_setBackgroundColor</command>
<command>cvjs_interactiveSearchText</command>
<command>cvjs_Print</command>
<command>cvjs_LayerList</command>
<command>cvjs_Measurement</command>
<command>cvjs_calibrateMeasurement</command>
<command>cvjs_displayMagnifyingGlass</command>
<command>cvjs_activateLineThicknessModal</command>
<command>cvjs_interactiveLayerOff</command>
<command>cvjs_swapLayersInDrawing</command>
<command>cvjs_allLayersInDrawingOn</command>
<command>cvjs_Settings</command>
</page>
</pages>
<icons_per_row>0</icons_per_row>
<icon_page_left_x>0</icon_page_left_x>
<icon_page_left_y>0</icon_page_left_y>
<customcommand>
<tooltip>Commmand tooltip 1</tooltip>
<tooltip>Commmand tooltip 2</tooltip>
<tooltip>Commmand tooltip 3</tooltip>
<tooltip>Commmand tooltip 4</tooltip>
<tooltip>Commmand tooltip 5</tooltip>
<tooltip>Commmand tooltip 6</tooltip>
<tooltip>Commmand tooltip 7</tooltip>
<tooltip>Commmand tooltip 8</tooltip>
<tooltip>Commmand tooltip 9</tooltip>
<tooltip>Commmand tooltip 10</tooltip>
</customcommand>
</iconmenu>
<zoommenu>
<location_left_x>0</location_left_x>
<location_left_y>36</location_left_y>
</zoommenu>
</cvjs>

View File

@@ -0,0 +1,399 @@
/**
* Placeholder for a custom Icon command
* @param {string} floorplan_div - name of div containing CADViewer JS canvas
*/
function cvjs_customCommand_01(floorplan_div){
// In the menu configuration file app/cv/community/menu_config/*.xml or app/cv/pro/menu_config/*.xml
// change the <tooltip>Commmand tooltip X</tooltip> to the highlight text you want
// In folder app/images/singleicons/ change the icon cvjsIcon_customCommand_XX.png into your image of choice
// Use the CADViewer API to program your own interaction with the CAD canvas
window.alert("Hello world - Custom Command 01");
}
/**
* Placeholder for a custom Icon command
* @param {string} floorplan_div - name of div containing CADViewer JS canvas
*/
function cvjs_customCommand_02(floorplan_div){
// In the menu configuration file app/cv/community/menu_config/*.xml or app/cv/pro/menu_config/*.xml
// change the <tooltip>Commmand tooltip X</tooltip> to the highlight text you want
// In folder app/images/singleicons/ change the icon cvjsIcon_customCommand_XX.png into your image of choice
// Use the CADViewer API to program your own interaction with the CAD canvas
window.alert("Hello world - Custom Command 02");
}
/**
* Placeholder for a custom Icon command
* @param {string} floorplan_div - name of div containing CADViewer JS canvas
*/
function cvjs_customCommand_03(floorplan_div){
// In the menu configuration file app/cv/community/menu_config/*.xml or app/cv/pro/menu_config/*.xml
// change the <tooltip>Commmand tooltip X</tooltip> to the highlight text you want
// In folder app/images/singleicons/ change the icon cvjsIcon_customCommand_XX.png into your image of choice
// Use the CADViewer API to program your own interaction with the CAD canvas
window.alert("Hello world - Custom Command 03");
}
/**
* Placeholder for a custom Icon command
* @param {string} floorplan_div - name of div containing CADViewer JS canvas
*/
function cvjs_customCommand_04(floorplan_div){
// In the menu configuration file app/cv/community/menu_config/*.xml or app/cv/pro/menu_config/*.xml
// change the <tooltip>Commmand tooltip X</tooltip> to the highlight text you want
// In folder app/images/singleicons/ change the icon cvjsIcon_customCommand_XX.png into your image of choice
// Use the CADViewer API to program your own interaction with the CAD canvas
window.alert("Hello world - Custom Command 04");
}
/**
* Placeholder for a custom Icon command
* @param {string} floorplan_div - name of div containing CADViewer JS canvas
*/
function cvjs_customCommand_05(floorplan_div){
// In the menu configuration file app/cv/community/menu_config/*.xml or app/cv/pro/menu_config/*.xml
// change the <tooltip>Commmand tooltip X</tooltip> to the highlight text you want
// In folder app/images/singleicons/ change the icon cvjsIcon_customCommand_XX.png into your image of choice
// Use the CADViewer API to program your own interaction with the CAD canvas
window.alert("Hello world - Custom Command 05");
}
/**
* Placeholder for a custom Icon command
* @param {string} floorplan_div - name of div containing CADViewer JS canvas
*/
function cvjs_customCommand_06(floorplan_div){
// In the menu configuration file app/cv/community/menu_config/*.xml or app/cv/pro/menu_config/*.xml
// change the <tooltip>Commmand tooltip X</tooltip> to the highlight text you want
// In folder app/images/singleicons/ change the icon cvjsIcon_customCommand_XX.png into your image of choice
// Use the CADViewer API to program your own interaction with the CAD canvas
window.alert("Hello world - Custom Command 06");
}
/**
* Placeholder for a custom Icon command
* @param {string} floorplan_div - name of div containing CADViewer JS canvas
*/
function cvjs_customCommand_07(floorplan_div){
// In the menu configuration file app/cv/community/menu_config/*.xml or app/cv/pro/menu_config/*.xml
// change the <tooltip>Commmand tooltip X</tooltip> to the highlight text you want
// In folder app/images/singleicons/ change the icon cvjsIcon_customCommand_XX.png into your image of choice
// Use the CADViewer API to program your own interaction with the CAD canvas
window.alert("Hello world - Custom Command 07");
}
/**
* Placeholder for a custom Icon command
* @param {string} floorplan_div - name of div containing CADViewer JS canvas
*/
function cvjs_customCommand_08(floorplan_div){
// In the menu configuration file app/cv/community/menu_config/*.xml or app/cv/pro/menu_config/*.xml
// change the <tooltip>Commmand tooltip X</tooltip> to the highlight text you want
// In folder app/images/singleicons/ change the icon cvjsIcon_customCommand_XX.png into your image of choice
// Use the CADViewer API to program your own interaction with the CAD canvas
window.alert("Hello world - Custom Command 08");
}
/**
* Placeholder for a custom Icon command
* @param {string} floorplan_div - name of div containing CADViewer JS canvas
*/
function cvjs_customCommand_09(floorplan_div){
// In the menu configuration file app/cv/community/menu_config/*.xml or app/cv/pro/menu_config/*.xml
// change the <tooltip>Commmand tooltip X</tooltip> to the highlight text you want
// In folder app/images/singleicons/ change the icon cvjsIcon_customCommand_XX.png into your image of choice
// Use the CADViewer API to program your own interaction with the CAD canvas
window.alert("Hello world - Custom Command 09");
}
/**
* Placeholder for a custom Icon command
* @param {string} floorplan_div - name of div containing CADViewer JS canvas
*/
function cvjs_customCommand_10(floorplan_div){
// In the menu configuration file app/cv/community/menu_config/*.xml or app/cv/pro/menu_config/*.xml
// change the <tooltip>Commmand tooltip X</tooltip> to the highlight text you want
// In folder app/images/singleicons/ change the icon cvjsIcon_customCommand_XX.png into your image of choice
// Use the CADViewer API to program your own interaction with the CAD canvas
window.alert("Hello world - Custom Command 10");
}
/**
* Placeholder for a custom Icon command
* @param {string} floorplan_div - name of div containing CADViewer JS canvas
*/
function cvjs_customCommand_11(floorplan_div){
// In the menu configuration file app/cv/community/menu_config/*.xml or app/cv/pro/menu_config/*.xml
// change the <tooltip>Commmand tooltip X</tooltip> to the highlight text you want
// In folder app/images/singleicons/ change the icon cvjsIcon_customCommand_XX.png into your image of choice
// Use the CADViewer API to program your own interaction with the CAD canvas
window.alert("Hello world - Custom Command 11");
}
/**
* Placeholder for a custom Icon command
* @param {string} floorplan_div - name of div containing CADViewer JS canvas
*/
function cvjs_customCommand_12(floorplan_div){
// In the menu configuration file app/cv/community/menu_config/*.xml or app/cv/pro/menu_config/*.xml
// change the <tooltip>Commmand tooltip X</tooltip> to the highlight text you want
// In folder app/images/singleicons/ change the icon cvjsIcon_customCommand_XX.png into your image of choice
// Use the CADViewer API to program your own interaction with the CAD canvas
window.alert("Hello world - Custom Command 12");
}
/**
* Placeholder for a custom Icon command
* @param {string} floorplan_div - name of div containing CADViewer JS canvas
*/
function cvjs_customCommand_13(floorplan_div){
// In the menu configuration file app/cv/community/menu_config/*.xml or app/cv/pro/menu_config/*.xml
// change the <tooltip>Commmand tooltip X</tooltip> to the highlight text you want
// In folder app/images/singleicons/ change the icon cvjsIcon_customCommand_XX.png into your image of choice
// Use the CADViewer API to program your own interaction with the CAD canvas
window.alert("Hello world - Custom Command 13");
}
/**
* Placeholder for a custom Icon command
* @param {string} floorplan_div - name of div containing CADViewer JS canvas
*/
function cvjs_customCommand_14(floorplan_div){
// In the menu configuration file app/cv/community/menu_config/*.xml or app/cv/pro/menu_config/*.xml
// change the <tooltip>Commmand tooltip X</tooltip> to the highlight text you want
// In folder app/images/singleicons/ change the icon cvjsIcon_customCommand_XX.png into your image of choice
// Use the CADViewer API to program your own interaction with the CAD canvas
window.alert("Hello world - Custom Command 14");
}
/**
* Placeholder for a custom Icon command
* @param {string} floorplan_div - name of div containing CADViewer JS canvas
*/
function cvjs_customCommand_15(floorplan_div){
// In the menu configuration file app/cv/community/menu_config/*.xml or app/cv/pro/menu_config/*.xml
// change the <tooltip>Commmand tooltip X</tooltip> to the highlight text you want
// In folder app/images/singleicons/ change the icon cvjsIcon_customCommand_XX.png into your image of choice
// Use the CADViewer API to program your own interaction with the CAD canvas
window.alert("Hello world - Custom Command 15");
}
/**
* Placeholder for a custom Icon command
* @param {string} floorplan_div - name of div containing CADViewer JS canvas
*/
function cvjs_customCommand_16(floorplan_div){
// In the menu configuration file app/cv/community/menu_config/*.xml or app/cv/pro/menu_config/*.xml
// change the <tooltip>Commmand tooltip X</tooltip> to the highlight text you want
// In folder app/images/singleicons/ change the icon cvjsIcon_customCommand_XX.png into your image of choice
// Use the CADViewer API to program your own interaction with the CAD canvas
window.alert("Hello world - Custom Command 16");
}
/**
* Placeholder for a custom Icon command
* @param {string} floorplan_div - name of div containing CADViewer JS canvas
*/
function cvjs_customCommand_17(floorplan_div){
// In the menu configuration file app/cv/community/menu_config/*.xml or app/cv/pro/menu_config/*.xml
// change the <tooltip>Commmand tooltip X</tooltip> to the highlight text you want
// In folder app/images/singleicons/ change the icon cvjsIcon_customCommand_XX.png into your image of choice
// Use the CADViewer API to program your own interaction with the CAD canvas
window.alert("Hello world - Custom Command 17");
}
/**
* Placeholder for a custom Icon command
* @param {string} floorplan_div - name of div containing CADViewer JS canvas
*/
function cvjs_customCommand_18(floorplan_div){
// In the menu configuration file app/cv/community/menu_config/*.xml or app/cv/pro/menu_config/*.xml
// change the <tooltip>Commmand tooltip X</tooltip> to the highlight text you want
// In folder app/images/singleicons/ change the icon cvjsIcon_customCommand_XX.png into your image of choice
// Use the CADViewer API to program your own interaction with the CAD canvas
window.alert("Hello world - Custom Command 18");
}
/**
* Placeholder for a custom Icon command
* @param {string} floorplan_div - name of div containing CADViewer JS canvas
*/
function cvjs_customCommand_19(floorplan_div){
// In the menu configuration file app/cv/community/menu_config/*.xml or app/cv/pro/menu_config/*.xml
// change the <tooltip>Commmand tooltip X</tooltip> to the highlight text you want
// In folder app/images/singleicons/ change the icon cvjsIcon_customCommand_XX.png into your image of choice
// Use the CADViewer API to program your own interaction with the CAD canvas
window.alert("Hello world - Custom Command 19");
}
/**
* Placeholder for a custom Icon command
* @param {string} floorplan_div - name of div containing CADViewer JS canvas
*/
function cvjs_customCommand_20(floorplan_div){
// In the menu configuration file app/cv/community/menu_config/*.xml or app/cv/pro/menu_config/*.xml
// change the <tooltip>Commmand tooltip X</tooltip> to the highlight text you want
// In folder app/images/singleicons/ change the icon cvjsIcon_customCommand_XX.png into your image of choice
// Use the CADViewer API to program your own interaction with the CAD canvas
window.alert("Hello world - Custom Command 20");
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,490 @@
function insert_vessel_03(){
var loadSpaceImage_ID = "myid_"+iconObjectCounter;
var loadSpaceImage_Name = "Myname_"+iconObjectCounter;
var loadSpaceImage_Type = "MyType_"+iconObjectCounter;
var loadSpaceImage_Layer = "cvjs_SpaceLayer";
var loadSpaceImage_LocationOr64byteEncoded = ServerUrl+ "content/drawings/svg/" + "VESSEL_03.svg"
iconObjectCounter++;
var jsonSpaceObject = cvjs_createNewJSonSpaceObject();
jsonSpaceObject.id = loadSpaceImage_ID; // "id_001" can be repeat objects from custom part
jsonSpaceObject.name = loadSpaceImage_Name; // "Vessel A"
jsonSpaceObject.type = loadSpaceImage_Type; // "Vessel A"
jsonSpaceObject.layer = loadSpaceImage_Layer; // "Vessel Layer"
//jsonSpaceObject.customContent = {".customContent" : "all.customContentstructure"};
var baseAttributes = {
fill: '#D30000', // #FFF #ffd7f4
"fill-opacity": "0.15", // 0.1
stroke: '#CCC',
'stroke-width': 1,
'stroke-linejoin': 'round',
};
var highlightAttributes = {
fill: '#a4d7f4',
"fill-opacity": "0.5",
stroke: '#a4d7f4',
'stroke-width': 3
};
var selectAttributes = {
fill: '#5BBEF6',
"fill-opacity": "0.5",
stroke: '#5BBEF6',
'stroke-width': 3
};
jsonSpaceObject.defaultcolor = baseAttributes;
jsonSpaceObject.highlightcolor = highlightAttributes;
jsonSpaceObject.selectcolor = selectAttributes;
var scale = 1; // if scale = 1 or null, no action is taken
var width = 200; // null, autoscale, value
var height = 40; // null, autoscale, value
var unit = "m"; // svg = svg coordinates, modelspace = modelspace units, mm, cm, m, inch , feet = using transformation matrix values
jsonSpaceObject.rotate = jQuery("#rotation_vessel").val();
var d = new Date();
var strDate = d.getFullYear() + "/" + (d.getMonth()+1) + "/" + d.getDate();
var strDate2 = d.getFullYear() + "/" + (d.getMonth()+2) + "/" + 8;
var customObject = {
"insertType" : "vessel",
"generalInfo": { "id": jsonSpaceObject.id, "name": loadSpaceImage_Name , "type": loadSpaceImage_Type, "begindate" : strDate , "enddate" : strDate2 },
"dimension" : { "unit" : "m", "width": jQuery("#width_vessel").val(), "length": jQuery("#length_vessel").val(), "rotationInsert": jQuery("#rotation_vessel").val(), "bufferPort": 5, "bufferStarbord" : 5, "bufferBow" : 10 , "bufferStern" : 10},
"insertRules": { "mooredLevelsAllowed" : 1, "mooredLevel": 0 , "initialPositionVerified" : false, "positionChanged" : false, "infoAdded": false, "inserted" : false},
"logicalRules" : [
{ "rule":"overlapping_vessel", "active": true, "initValue" : loadSpaceImage_ID, "insertStatus" : none},
{ "rule":"snap_to_vessel", "active": true, "initValue" : loadSpaceImage_ID, "insertStatus" : none},
{ "rule":"rigs_landside", "active": false, "initValue" : none, "insertStatus" : none},
{ "rule":"crane_limitation", "active": false, "initValue" : none, "insertStatus" : none},
{ "rule":"block_settings", "active": false, "initValue" : none, "insertStatus" : none},
{ "rule":"dock_vessel_direction", "active": false, "initValue" : none, "insertStatus" : none},
{ "rule":"safety_margin", "active": false, "initValue" : none, "insertStatus" : none},
{ "rule":"default_preferred", "active": false, "initValue" : none, "insertStatus" : none},
{ "rule":"double_trible_banks", "active": false, "initValue" : none, "insertStatus" : none},
{ "rule":"draft validation", "active": false, "initValue" : none, "insertStatus" : none},
{ "rule":"vlcc_dock_1_3", "active": true, "initValue" : "dock_02", "insertStatus" : none},
{ "rule":"birth_gap_provided", "active": false, "initValue" : none, "insertStatus" : none},
{ "rule":"docking_rule_dock1", "active": false, "initValue" : none, "insertStatus" : none},
{ "rule":"docking_rule_dock2", "active": false, "initValue" : none, "insertStatus" : none},
{ "rule":"docking_rule_dock3", "active": false, "initValue" : none, "insertStatus" : none},
{ "rule":"dock_gate_2", "active": false, "initValue" : none, "insertStatus" : none},
{ "rule":"dock_headwall", "active": false, "initValue" : none, "insertStatus" : none},
{ "rule":"floating_dock_jetty_limitation", "active": false, "initValue" : none, "insertStatus" : none},
{ "rule":"empty_for_heavy_lift", "active": false, "initValue" : none, "insertStatus" : none},
{ "rule":"docking_vessel_limitation", "active": false, "initValue" : none, "insertStatus" : none},
{ "rule":"fd_limitation", "active": false, "initValue" : none, "insertStatus" : none},
{ "rule":"rigs_berthing_prio", "active": false, "initValue" : none, "insertStatus" : none},
{ "rule":"dock_2_beam_size", "active": false, "initValue" : none, "insertStatus" : none},
],
"userAddedInfo" : {"date1" : "date1", "date2" : "date2"}
};
/* DT rules number
1: { "rule":"overlapping_vessel", "active": false, "initValue" : none, "insertStatus" : none},
1A: { "rule":"snap_to_vessel", "active": false, "initValue" : none, "insertStatus" : none},
2: { "rule":"rigs_landside", "active": false, "initValue" : none, "insertStatus" : none},
3: { "rule":"crane_limitation", "active": false, "initValue" : none, "insertStatus" : none},
4: { "rule":"block_settings", "active": false, "initValue" : none, "insertStatus" : none},
5: { "rule":"dock_vessel_direction", "active": false, "initValue" : none, "insertStatus" : none},
6: { "rule":"safety_margin", "active": false, "initValue" : none, "insertStatus" : none},
7: { "rule":"default_preferred", "active": false, "initValue" : none, "insertStatus" : none},
8: { "rule":"double_trible_banks", "active": false, "initValue" : none, "insertStatus" : none},
9: { "rule":"draft validation", "active": false, "initValue" : none, "insertStatus" : none},
10: { "rule":"vlcc_dock_1_3", "active": false, "initValue" : none, "insertStatus" : none},
11: { "rule":"birth_gap_provided", "active": false, "initValue" : none, "insertStatus" : none},
12a: { "rule":"docking_rule_dock1", "active": false, "initValue" : none, "insertStatus" : none},
12b: { "rule":"docking_rule_dock2", "active": false, "initValue" : none, "insertStatus" : none},
12c: { "rule":"docking_rule_dock3", "active": false, "initValue" : none, "insertStatus" : none},
(8) { "rule":"dock_gate_2", "active": false, "initValue" : none, "insertStatus" : none},
(9) { "rule":"dock_headwall", "active": false, "initValue" : none, "insertStatus" : none},
(10) { "rule":"floating_dock_jetty_limitation", "active": false, "initValue" : none, "insertStatus" : none},
(11) { "rule":"empty_for_heavy_lift", "active": false, "initValue" : none, "insertStatus" : none},
12: { "rule":"docking_vessel_limitation", "active": false, "initValue" : none, "insertStatus" : none},
13: { "rule":"fd_limitation", "active": false, "initValue" : none, "insertStatus" : none},
15: { "rule":"rigs_berthing_prio", "active": false, "initValue" : none, "insertStatus" : none},
17: { "rule":"dock_2_beam_size", "active": false, "initValue" : none, "insertStatus" : none},
*/
/*
var customObject = {
"insertType" : "fabrication",
"generalInfo": { "id": jsonSpaceObject.id, "name": "objectx" , "type": "plactic mold", "begindate" : "date1" , "enddate" : "date2" },
"dimension" : { "unit" : "m", "width": jQuery("#width_vessel").val(), "length": jQuery("#length_vessel").val(), "rotationInsert": jQuery("#rotate_vessel").val(), "bufferLeft": 0, "bufferRight" : 0, "bufferTop" : 0 , "bufferBottom" : 0},
"insertRules": { "overlapAllowed" : 1, "initialPositionVerified" : false, "positionChanged" : false, "infoAdded": false, "inserted" : false},
"logicalRules" : [
{ "rule":"specific_fabrication_area", "active": false, "initValue" : none, "insertStatus" : none},
{ "rule":"overlay_allowed", "active": false, "initValue" : none, "insertStatus" : none},
],
"userAddedInfo" : {"date1" : "date1", "date2" : "date2"}
};
*/
jsonSpaceObject.customContent = customObject;
cvjs_addSpaceObject("floorPlan", loadSpaceImage_ID, loadSpaceImage_LocationOr64byteEncoded, scale, jQuery("#length_vessel").val(), jQuery("#width_vessel").val(), jQuery("#rotation_vessel").val(), unit, jsonSpaceObject);
}
var cvjsPopUpBody;
function myCustomPopUpBody(rmid){
myobject = cvjs_returnSpaceObjectID(rmid);
//console.log("myCustomPopUpBody is called: "+ rmid+" "+JSON.stringify(myobject));
try {
// get block attribute:
cvjsPopUpBody = "<div style='line-height:75%'><font size='0'>";
for (var i = 1; i <= myobject.blockAttributeCount; i++) {
var attribId = "#" + myobject.blockAttributeId + "_" + i;
cvjsPopUpBody += $(attribId).attr('cvjs:tag')+": <span id=\"mymodal_name_"+$(attribId).attr('cvjs:value')+"\" >"+$(attribId).attr('cvjs:value')+"</span><br>";
}
cvjsPopUpBody+= "<font size='+2'></div>";
return cvjsPopUpBody;
}
catch(err){
}
try{
// template pop-up modal body
cvjsPopUpBody = "<div> Id: <span id=\"mymodal_name_"+myobject.id+"\" >"+myobject.id+"</span><br>";
cvjsPopUpBody += "Name: <span id=\"mymodal_name_"+myobject.name+"\" >"+myobject.name+"</span><br>";
cvjsPopUpBody += "Type: <span id=\"mymodal_type_"+myobject.customContent.insertType+"\" >"+myobject.customContent.insertType+"</span><br>";
cvjsPopUpBody += "Model: <span id=\"mymodal_type_"+myobject.type+"\" >"+myobject.type+"</span><br>";
cvjsPopUpBody += "Begin Date: <span id=\"mymodal_startdate_"+myobject.customContent.generalInfo.begindate+"\" >"+myobject.customContent.generalInfo.begindate+"</span><br>";
cvjsPopUpBody += "End Date: <span id=\"mymodal_startdate_"+myobject.customContent.generalInfo.enddate+"\" >"+myobject.customContent.generalInfo.enddate+"</span><br>";
// cvjsPopUpBody += "Status: <div class=\"cvjs_callback_modal_1\" onclick=\"my_own_clickmenu1("+rmid+");\"><i class=\"glyphicon glyphicon-transfer\"></i>More Info </div>";
cvjsPopUpBody += "Confirm change: <a href=\"javascript:custom_rules_clickmenu1('"+myobject.id+"');\"><i class=\"glyphicon glyphicon-transfer\" \"></i></a>&nbsp;&nbsp;<span id=\"mymodal_status_01_"+myobject.id+"\"><i style=\"color:gray\" class=\"glyphicon glyphicon-ok\" \"></i></span> ";
cvjsPopUpBody += "</div>";
}catch(err){
// template pop-up modal body
cvjsPopUpBody = "<div> Id: <span id=\"mymodal_name_"+myobject.id+"\" >"+myobject.id+"</span><br>";
cvjsPopUpBody += "Name: <span id=\"mymodal_name_"+myobject.name+"\" >"+myobject.name+"</span><br>";
cvjsPopUpBody += "Type: <span id=\"mymodal_type_"+myobject.type+"\" >"+myobject.type+"</span><br>";
cvjsPopUpBody += "</div>";
}
return cvjsPopUpBody;
}
function populateMyCustomPopUpBody(rmid, node){
console.log("populateMyCustomPopUpBody is called: "+ rmid+" "+node+" - this extra custom callbac- method can be used in conjunction with myCustomPopUpBody or not at all..");
}
function cvjs_callbackForModalDisplay(rmid, node){
console.log("WE call our server, then we update the modal"+ rmid+" "+node);
//jQuery(cvjs_SpaceObjectsContent[cvjs_active_floorplan_div_nr][rmid].node).qtip('hide');
populateMyCustomPopUpBody(rmid, node);
}
function custom_rules_clickmenu1(){
var id = cvjs_idObjectClicked();
// var node = cvjs_NodeObjectClicked();
window.alert("custom_rules_clickmenu1: this is the callback to DT app with content");
// change check arrow to green!!!
jQuery("#mymodal_status_01_"+id).html("<i style=\"color:green\" class=\"glyphicon glyphicon-ok\" \"></i>");
var myobject = cvjs_returnSpaceObjectID(id);
// update my internal DB with new JSON myobject
}
/**
* Custom methods that programs rules against the CADViewer Space Management API
* @param {*} spaceID the id of the space object currently selected
* @param {*} jsonObject the space object itself currently selected
* @returns {boolean} true if rules conditions are met, false otherwise
*/
function cvjs_insertSpaceObjectCustomCodePlaceholder(spaceID, jsonObject){
try{
console.log("cvjs_insertSpaceObjectCustomCodePlaceholder(): "+spaceID);
// myobject = cvjs_returnSpaceObjectID(spaceID); - cannot use, because object not created yet
console.log(jsonObject);
// general check, inside dock or berth areay
if (true) return true;
// if there are no rules, then return true;
if (jsonObject.customContent.logicalRules.length == 0) return true;
var process = false;
// loop over rules
for (var i=0; i<jsonObject.customContent.logicalRules.length; i++){
console.log("rules loop: "+jsonObject.customContent.logicalRules[i].rule+" "+jsonObject.customContent.logicalRules[i].active);
// overlapping Spaces not allowed
if (jsonObject.customContent.logicalRules[i].rule == "overlapping_vessel" && jsonObject.customContent.logicalRules[i].active == true) {
process = false;
jsonElement = ["customContent", "insertType"];
process = cvjs_spaceObjectOverlapAnyOtherObject(jsonObject, jsonElement, "vessel");
console.log("overlap "+process);
if (process) window.alert("NOTE Rule:"+i+", "+jsonObject.customContent.logicalRules[i].rule+" not met, with init value:"+jsonObject.customContent.logicalRules[i].initValue)
console.log("process_rule_overlapping_vessels result: "+process);
if (process) return false;
}
/*
// snap to nearest vessel, if close
if (jsonObject.customContent.logicalRules[i].rule == "overlapping_vessel" && jsonObject.customContent.logicalRules[i].active == true) {
process = false;
process = process_rule_snap_to_vessel(spaceID, i, jsonObject);
if (!process) window.alert("NOTE Rule:"+i+", "+jsonObject.customContent.logicalRules[i].rule+" not met, with init value:"+jsonObject.customContent.logicalRules[i].initValue)
console.log("process_rule_snap_to_vessel result: "+process);
if (!process) return false;
}
*/
if (jsonObject.customContent.logicalRules[i].rule == "vlcc_dock_1_3" && jsonObject.customContent.logicalRules[i].active == true) {
process = false;
process = process_rule_vlcc_dock_1_3(spaceID, i, jsonObject);
if (!process) window.alert("rule:"+i+", "+jsonObject.customContent.logicalRules[i].rule+" not met, with init value:"+jsonObject.customContent.logicalRules[i].initValue)
console.log("process_rule_vlcc_dock_1_3 result: "+process);
if (!process) return false;
}
}
//
}
catch(err){
console.log("cvjs_insertSpaceObjectCustomCodePlaceholder: "+err);
}
// return process
return process;
}
// functions for rules
// rule for inside specific dock
function process_rule_vlcc_dock_1_3(spaceID, i, jsonObject){
var term = false;
// let us pull the init value from the spaceObject for the rule number i
var space_value =jsonObject.customContent.logicalRules[i].initValue;
// test the coordinates of object against base object.
var baseObject = cvjs_returnSpaceObjectID(space_value);
term = cvjs_isSpaceObjectInside(baseObject, jsonObject)
if (term)
return true;
// in any case return false
return false;
}
// snap to nearest space object, with logical
/**
*
* @param {*} spaceID
* @param {*} i
* @param {*} jsonObject
* @returns
*/
function process_rule_snap_to_vessel(spaceID, i, jsonObject){
var term = false;
var thisXY = new Array();
var closestPoint = new Array();
var point = new Array();
// we have to use the current click cursor point as our reference point
// let us pull the init value from the spaceObject for the rule number i
var space_value =jsonObject.customContent.logicalRules[i].initValue;
console.log("space_value snap"+space_value);
var all = cvjs_returnAllSpaceObjects();
for (var i=0; i<all.SpaceObjects.length; i++){
// loop over all space objects
// if the object is a vessel and different from the search object
// check if overlapping
// we only check vessels with ID different to insert object
try{
if (all.SpaceObjects[i].id !=spaceID && all.SpaceObjects[i].customContent.insertType == "vessel"){
// calculate nearest point
// if closer than previous nearest point, then change point
thisXY = cvjs_getSpaceObjectPath(oall.SpaceObjects[i], true);
cvjs_closestPoint_SpaceModule(pathNode, point)
/*
term = cvjs_spaceObjectsOverlap(all.SpaceObjects[i], jsonObject)
if (term)
i=all.SpaceObjects.length;
*/
}
}catch(err){
}
}
// set a flag to use the nearest point as insertion !!!!!
// if overlapping we must return false, as overlap is not allowed
if (term)
return false;
else
return true;
}
function cvjsspace_addRectangleSpaceObjectCore(floorplan_div){
// 3.0.15c - add "_svg" to div, if called through external API
if (floorplan_div.lastIndexOf("_svg") == floorplan_div.length-4){
// do nothing
}
else{
floorplan_div = floorplan_div + "_svg";
}
cvjs_active_floorplan_div_nr = cvjs_rPaperIndex(floorplan_div);
cvjs_hidePop();
var Node_id = cvjs_currentMaxSpaceNodeId();
//console.log("xurrent Node_id="+Node_id);
Node_id++;
var currentNode_underbar = Node_underbar+Node_id;
var mylayer = jQuery("#cvjs_spaceobjectLayerFromModal").val();
cvjs_currentNode_layer = mylayer;
var currentNode_id;
var currentNode_name;
var myid = jQuery("#cvjs_spaceobjectIdFromModal").val();
if (myid != ""){
currentNode_id = myid;
currentNode_name = myid;
}
else{
currentNode_id = Node_id;
currentNode_name = Node_id;
}
// 6.2.32
var currentNode_layer = cvjs_currentNode_layer;
var currentNode_group = "";
var currentNode_attributes = "";
var currentNode_attributeStatus = ""; // 3.2.02b
var currentNode_type = "Space";
var currentNode_occupancy = "";
var currentNode_tags = "unassigned";
// 6.4.23
var myType = jQuery("#cvjs_spaceobjectTypeFromModal").val();
if (myType != "")
currentNode_type = myType;
/***
currentNode_name = "unassigned";
currentNode_layer = "unassigned";
currentNode_group = "unassigned";
currentNode_attributes = "unassigned";
currentNode_attributeStatus = "unpopulated"; // 3.2.02b
currentNode_type = "unassigned";
currentNode_tags = "unassigned";
currentNode_tags = "unassigned";
*/
var currentNode_translate_x = 0;
var currentNode_translate_y = 0;
var currentNode_scale_x = 1;
var currentNode_scale_y = 1;
var currentNode_rotate = 0;
// , currentNode_translate_x, currentNode_translate_y, currentNode_scale, currentNode_rotate
var currentNode_transform = "";
var currentNode_area = "unassigned";
var currentNode_defaultcolor = "undefined";
var currentNode_highlightcolor = "undefined";
var currentNode_selectcolor = "undefined";
var currentNode_linked = false;
cvjs_setCurrentNodeValues(currentNode_underbar, currentNode_name, currentNode_id, currentNode_layer, currentNode_group, currentNode_attributes, currentNode_attributeStatus, currentNode_type, currentNode_tags, currentNode_occupancy, currentNode_linked, currentNode_translate_x, currentNode_translate_y, currentNode_scale_x, currentNode_scale_y, currentNode_rotate, currentNode_transform, currentNode_area, currentNode_defaultcolor, currentNode_highlightcolor, currentNode_selectcolor, multiPages[cvjs_active_floorplan_div_nr].currentPage, multiPages[cvjs_active_floorplan_div_nr].pages[multiPages[cvjs_active_floorplan_div_nr].currentPage -1].pageName);
cvjs_addHandleFunc_Rectangle();
}

View File

@@ -0,0 +1,100 @@
<cvjs>
<iconmenu>
<totalpages>4</totalpages>
<startpage>1</startpage>
<pages>
<page>
<command>cvjs_LayerList</command>
<command>cvjs_Print</command>
<command>cvjs_toggleBlackWhite</command>
<command>cvjs_setBackgroundColor</command>
<command>cvjs_openFileLoadToServer</command>
<command>cvjs_interactiveSearchText</command>
<command>cvjs_interactiveLayerOff</command>
<command>cvjs_swapLayersInDrawing</command>
<command>cvjs_allLayersInDrawingOn</command>
<command>cvjs_Measurement</command>
<command>cvjs_calibrateMeasurement</command>
<command>cvjs_displayMagnifyingGlass</command>
<command>cvjs_activateLineThicknessModal</command>
<command>cvjs_About</command>
<command>cvjs_Settings</command>
</page>
<page>
<command>cvjs_publishPDF</command>
<command>cvjs_saveAsSVGOnServer</command>
<command>cvjs_loadStickyNotesRedlinesUser</command>
<command>cvjs_saveStickyNotesRedlinesUser</command>
<command>cvjs_setRedlineColor</command>
<command>cvjs_setRedlineThickness</command>
<command>cvjs_drawStickyNote</command>
<command>cvjs_drawRedlineText</command>
<command>cvjs_drawRedline_Freehand</command>
<command>cvjs_drawRedlineEllipseCloud</command>
<command>cvjs_drawRedlineFilledPolygon</command>
<command>cvjs_drawRedlinePolyline</command>
<command>cvjs_drawRedlineFilledRectangle</command>
<command>cvjs_drawRedlineRectangle</command>
<command>cvjs_drawRedlineTriangle</command>
<command>cvjs_drawRedlineArrow</command>
<command>cvjs_deleteSingleRedline</command>
<command>cvjs_deleteLastRedline</command>
<command>cvjs_undoDeleteLastRedline</command>
<command>cvjs_clearCurrentRedline</command>
<command>cvjs_mergeDXFDWG</command>
<command>cvjs_mergeQR</command>
</page>
<page>
<command>cvjs_insertImageLink</command>
<command>cvjs_loadAllImageLinks</command>
<command>cvjs_saveAllImageLinks</command>
<command>cvjs_clearAllImageLinks</command>
<command>cvjs_quickCount</command>
<command>cvjs_showMeCounts</command>
<command>cvjs_clearQuickCounts</command>
<command>cvjs_compareDrawings_LoadSecondDrawing</command>
<command>cvjs_compareDrawings_ToggleDrawings</command>
<command>cvjs_compareDrawings_ToggleDrawingOverlay</command>
<command>cvjs_exitCompareDrawings</command>
</page>
<page>
<command>cvjs_changeSpaceObjectDisplayMode</command>
<command>cvjs_addPolygonSpaceObject</command>
<command>cvjs_addRectangleSpaceObject</command>
<command>cvjs_addCircleSpaceObject</command>
<command>cvjs_copyCircleSpaceObject</command>
<command>cvjs_resizeSpaceObject</command>
<command>cvjs_moveSpaceObject</command>
<command>cvjs_rotateSpaceObject</command>
<command>cvjs_deleteSpaceObject</command>
<command>cvjs_clearSpaceObjects</command>
<command>cvjs_SettingsSpace</command>
<command>cvjs_openFileLoadToServerSpace</command>
<command>cvjs_LayerListSpace</command>
<command>cvjs_loadSpaceObjectsUser</command>
<command>cvjs_saveSpaceObjectsUser</command>
<command>cvjs_saveAsSVGOnServer</command>
</page>
</pages>
<icons_per_row>0</icons_per_row>
<icon_page_left_x>0</icon_page_left_x>
<icon_page_left_y>0</icon_page_left_y>
<customcommand>
<tooltip>Commmand tooltip 1</tooltip>
<tooltip>Commmand tooltip 2</tooltip>
<tooltip>Commmand tooltip 3</tooltip>
<tooltip>Commmand tooltip 4</tooltip>
<tooltip>Commmand tooltip 5</tooltip>
<tooltip>Commmand tooltip 6</tooltip>
<tooltip>Commmand tooltip 7</tooltip>
<tooltip>Commmand tooltip 8</tooltip>
<tooltip>Commmand tooltip 9</tooltip>
<tooltip>Commmand tooltip 10</tooltip>
</customcommand>
</iconmenu>
<zoommenu>
<location_left_x>0</location_left_x>
<location_left_y>30</location_left_y>
</zoommenu>
</cvjs>

View File

@@ -0,0 +1,100 @@
<cvjs>
<iconmenu>
<totalpages>4</totalpages>
<startpage>1</startpage>
<pages>
<page>
<command>cvjs_LayerList</command>
<command>cvjs_Print</command>
<command>cvjs_toggleBlackWhite</command>
<command>cvjs_setBackgroundColor</command>
<command>cvjs_openFileLoadToServer</command>
<command>cvjs_interactiveSearchText</command>
<command>cvjs_interactiveLayerOff</command>
<command>cvjs_swapLayersInDrawing</command>
<command>cvjs_allLayersInDrawingOn</command>
<command>cvjs_Measurement</command>
<command>cvjs_calibrateMeasurement</command>
<command>cvjs_displayMagnifyingGlass</command>
<command>cvjs_activateLineThicknessModal</command>
<command>cvjs_About</command>
<command>cvjs_Settings</command>
</page>
<page>
<command>cvjs_mergeDXFDWG</command>
<command>cvjs_publishPDF</command>
<command>cvjs_saveAsSVGOnServer</command>
<command>cvjs_loadStickyNotesRedlinesUser</command>
<command>cvjs_saveStickyNotesRedlinesUser</command>
<command>cvjs_setRedlineColor</command>
<command>cvjs_setRedlineThickness</command>
<command>cvjs_drawStickyNote</command>
<command>cvjs_drawRedlineText</command>
<command>cvjs_drawRedline_Freehand</command>
<command>cvjs_drawRedlineEllipseCloud</command>
<command>cvjs_drawRedlineFilledPolygon</command>
<command>cvjs_drawRedlinePolyline</command>
<command>cvjs_drawRedlineFilledRectangle</command>
<command>cvjs_drawRedlineRectangle</command>
<command>cvjs_drawRedlineArrow</command>
<command>cvjs_deleteSingleRedline</command>
<command>cvjs_deleteLastRedline</command>
<command>cvjs_clearCurrentRedline</command>
</page>
<page>
<command>cvjs_insertImageLink</command>
<command>cvjs_loadAllImageLinks</command>
<command>cvjs_saveAllImageLinks</command>
<command>cvjs_clearAllImageLinks</command>
<command>cvjs_quickCount</command>
<command>cvjs_showMeCounts</command>
<command>cvjs_clearQuickCounts</command>
<command>cvjs_compareDrawings_LoadSecondDrawing</command>
<command>cvjs_compareDrawings_ToggleDrawings</command>
<command>cvjs_compareDrawings_ToggleDrawingOverlay</command>
<command>cvjs_exitCompareDrawings</command>
</page>
<page>
<command>cvjs_customCommand_01</command>
<command>cvjs_customCommand_02</command>
<command>cvjs_customCommand_03</command>
<command>cvjs_customCommand_04</command>
<command>cvjs_customCommand_05</command>
<command>cvjs_customCommand_10</command>
<command>cvjs_customCommand_14</command>
<command>cvjs_customCommand_16</command>
<command>cvjs_customCommand_20</command>
</page>
</pages>
<icons_per_row>0</icons_per_row>
<icon_page_left_x>0</icon_page_left_x>
<icon_page_left_y>0</icon_page_left_y>
<customcommand>
<tooltip>Command Tooltip 1</tooltip>
<tooltip>Command Tooltip 2</tooltip>
<tooltip>Command Tooltip 3</tooltip>
<tooltip>Command Tooltip 4</tooltip>
<tooltip>Command Tooltip 5</tooltip>
<tooltip>Command Tooltip 6</tooltip>
<tooltip>Command Tooltip 7</tooltip>
<tooltip>Command Tooltip 8</tooltip>
<tooltip>Command Tooltip 9</tooltip>
<tooltip>Command Tooltip 10</tooltip>
<tooltip>Command Tooltip 11</tooltip>
<tooltip>Command Tooltip 12</tooltip>
<tooltip>Command Tooltip 13</tooltip>
<tooltip>Command Tooltip 14</tooltip>
<tooltip>Command Tooltip 15</tooltip>
<tooltip>Command Tooltip 16</tooltip>
<tooltip>Command Tooltip 17</tooltip>
<tooltip>Command Tooltip 18</tooltip>
<tooltip>Command Tooltip 19</tooltip>
<tooltip>Command Tooltip 20</tooltip>
</customcommand>
</iconmenu>
<zoommenu>
<location_left_x>0</location_left_x>
<location_left_y>36</location_left_y>
</zoommenu>
</cvjs>

View File

@@ -0,0 +1,82 @@
<cvjs>
<iconmenu>
<totalpages>3</totalpages>
<startpage>1</startpage>
<pages>
<page>
<command>cvjs_LayerList</command>
<command>cvjs_Print</command>
<command>cvjs_toggleBlackWhite</command>
<command>cvjs_setBackgroundColor</command>
<command>cvjs_interactiveSearchText</command>
<command>cvjs_interactiveLayerOff</command>
<command>cvjs_swapLayersInDrawing</command>
<command>cvjs_allLayersInDrawingOn</command>
<command>cvjs_Measurement</command>
<command>cvjs_calibrateMeasurement</command>
<command>cvjs_displayMagnifyingGlass</command>
<command>cvjs_activateLineThicknessModal</command>
<command>cvjs_About</command>
<command>cvjs_Settings</command>
</page>
<page>
<command>cvjs_mergeDXFDWG</command>
<command>cvjs_loadStickyNotesRedlinesUser</command>
<command>cvjs_saveStickyNotesRedlinesUser</command>
<command>cvjs_setRedlineColor</command>
<command>cvjs_setRedlineThickness</command>
<command>cvjs_drawStickyNote</command>
<command>cvjs_drawRedlineText</command>
<command>cvjs_drawRedline_Freehand</command>
<command>cvjs_drawRedlineEllipseCloud</command>
<command>cvjs_drawRedlineFilledPolygon</command>
<command>cvjs_drawRedlinePolyline</command>
<command>cvjs_drawRedlineFilledRectangle</command>
<command>cvjs_drawRedlineRectangle</command>
<command>cvjs_drawRedlineArrow</command>
<command>cvjs_deleteSingleRedline</command>
<command>cvjs_deleteLastRedline</command>
<command>cvjs_clearCurrentRedline</command>
</page>
<page>
<command>cvjs_insertImageLink</command>
<command>cvjs_loadAllImageLinks</command>
<command>cvjs_saveAllImageLinks</command>
<command>cvjs_clearAllImageLinks</command>
<command>cvjs_quickCount</command>
<command>cvjs_showMeCounts</command>
<command>cvjs_clearQuickCounts</command>
<command>cvjs_compareDrawings_LoadSecondDrawing</command>
<command>cvjs_compareDrawings_ToggleDrawings</command>
<command>cvjs_compareDrawings_ToggleDrawingOverlay</command>
<command>cvjs_exitCompareDrawings</command>
</page>
<page>
<command>cvjs_customCommand_03</command>
<command>cvjs_customCommand_04</command>
<command>cvjs_customCommand_01</command>
<command>cvjs_customCommand_02</command>
</page>
</pages>
<icons_per_row>0</icons_per_row>
<icon_page_left_x>0</icon_page_left_x>
<icon_page_left_y>0</icon_page_left_y>
<customcommand>
<tooltip>Commmand tooltip 1</tooltip>
<tooltip>Commmand tooltip 2</tooltip>
<tooltip>Commmand tooltip 3</tooltip>
<tooltip>Commmand tooltip 4</tooltip>
<tooltip>Commmand tooltip 5</tooltip>
<tooltip>Commmand tooltip 6</tooltip>
<tooltip>Commmand tooltip 7</tooltip>
<tooltip>Commmand tooltip 8</tooltip>
<tooltip>Commmand tooltip 9</tooltip>
<tooltip>Commmand tooltip 10</tooltip>
</customcommand>
</iconmenu>
<zoommenu>
<location_left_x>0</location_left_x>
<location_left_y>36</location_left_y>
</zoommenu>
</cvjs>

View File

@@ -0,0 +1,63 @@
<cvjs>
<iconmenu>
<totalpages>2</totalpages>
<startpage>2</startpage>
<pages>
<page>
<command>cvjs_LayerList</command>
<command>cvjs_Print</command>
<command>cvjs_toggleBlackWhite</command>
<command>cvjs_setBackgroundColor</command>
<command>cvjs_interactiveSearchText</command>
<command>cvjs_interactiveLayerOff</command>
<command>cvjs_swapLayersInDrawing</command>
<command>cvjs_allLayersInDrawingOn</command>
<command>cvjs_Measurement</command>
<command>cvjs_calibrateMeasurement</command>
<command>cvjs_displayMagnifyingGlass</command>
<command>cvjs_activateLineThicknessModal</command>
<command>cvjs_About</command>
<command>cvjs_Settings</command>
</page>
<page>
<command>cvjs_loadStickyNotesRedlinesUser</command>
<command>cvjs_setRedlineColor</command>
<command>cvjs_setRedlineThickness</command>
<command>cvjs_drawStickyNote</command>
<command>cvjs_drawRedlineText</command>
<command>cvjs_drawRedline_Freehand</command>
<command>cvjs_drawRedlineEllipseCloud</command>
<command>cvjs_drawRedlineFilledPolygon</command>
<command>cvjs_drawRedlinePolyline</command>
<command>cvjs_drawRedlineFilledRectangle</command>
<command>cvjs_drawRedlineRectangle</command>
<command>cvjs_drawRedlineTriangle</command>
<command>cvjs_drawRedlineArrow</command>
<command>cvjs_deleteSingleRedline</command>
<command>cvjs_deleteLastRedline</command>
<command>cvjs_undoDeleteLastRedline</command>
<command>cvjs_clearCurrentRedline</command>
</page>
</pages>
<icons_per_row>0</icons_per_row>
<icon_page_left_x>0</icon_page_left_x>
<icon_page_left_y>0</icon_page_left_y>
<customcommand>
<tooltip>Commmand tooltip 1</tooltip>
<tooltip>Commmand tooltip 2</tooltip>
<tooltip>Commmand tooltip 3</tooltip>
<tooltip>Commmand tooltip 4</tooltip>
<tooltip>Commmand tooltip 5</tooltip>
<tooltip>Commmand tooltip 6</tooltip>
<tooltip>Commmand tooltip 7</tooltip>
<tooltip>Commmand tooltip 8</tooltip>
<tooltip>Commmand tooltip 9</tooltip>
<tooltip>Commmand tooltip 10</tooltip>
</customcommand>
</iconmenu>
<zoommenu>
<location_left_x>0</location_left_x>
<location_left_y>30</location_left_y>
</zoommenu>
</cvjs>

View File

@@ -0,0 +1,63 @@
<cvjs>
<iconmenu>
<totalpages>2</totalpages>
<startpage>2</startpage>
<pages>
<page>
<command>cvjs_LayerList</command>
<command>cvjs_Print</command>
<command>cvjs_toggleBlackWhite</command>
<command>cvjs_setBackgroundColor</command>
<command>cvjs_interactiveSearchText</command>
<command>cvjs_interactiveLayerOff</command>
<command>cvjs_swapLayersInDrawing</command>
<command>cvjs_allLayersInDrawingOn</command>
<command>cvjs_Measurement</command>
<command>cvjs_calibrateMeasurement</command>
<command>cvjs_displayMagnifyingGlass</command>
<command>cvjs_activateLineThicknessModal</command>
<command>cvjs_About</command>
<command>cvjs_Settings</command>
</page>
<page>
<command>cvjs_loadStickyNotesRedlinesUser</command>
<command>cvjs_setRedlineColor</command>
<command>cvjs_setRedlineThickness</command>
<command>cvjs_drawStickyNote</command>
<command>cvjs_drawRedlineText</command>
<command>cvjs_drawRedline_Freehand</command>
<command>cvjs_drawRedlineEllipseCloud</command>
<command>cvjs_drawRedlineFilledPolygon</command>
<command>cvjs_drawRedlinePolyline</command>
<command>cvjs_drawRedlineFilledRectangle</command>
<command>cvjs_drawRedlineRectangle</command>
<command>cvjs_drawRedlineTriangle</command>
<command>cvjs_drawRedlineArrow</command>
<command>cvjs_deleteSingleRedline</command>
<command>cvjs_deleteLastRedline</command>
<command>cvjs_undoDeleteLastRedline</command>
<command>cvjs_clearCurrentRedline</command>
</page>
</pages>
<icons_per_row>0</icons_per_row>
<icon_page_left_x>0</icon_page_left_x>
<icon_page_left_y>0</icon_page_left_y>
<customcommand>
<tooltip>Commmand tooltip 1</tooltip>
<tooltip>Commmand tooltip 2</tooltip>
<tooltip>Commmand tooltip 3</tooltip>
<tooltip>Commmand tooltip 4</tooltip>
<tooltip>Commmand tooltip 5</tooltip>
<tooltip>Commmand tooltip 6</tooltip>
<tooltip>Commmand tooltip 7</tooltip>
<tooltip>Commmand tooltip 8</tooltip>
<tooltip>Commmand tooltip 9</tooltip>
<tooltip>Commmand tooltip 10</tooltip>
</customcommand>
</iconmenu>
<zoommenu>
<location_left_x>0</location_left_x>
<location_left_y>30</location_left_y>
</zoommenu>
</cvjs>

View File

@@ -0,0 +1,64 @@
<cvjs>
<iconmenu>
<totalpages>2</totalpages>
<startpage>1</startpage>
<pages>
<page>
<command>cvjs_LayerList</command>
<command>cvjs_Print</command>
<command>cvjs_toggleBlackWhite</command>
<command>cvjs_setBackgroundColor</command>
<command>cvjs_interactiveSearchText</command>
<command>cvjs_interactiveLayerOff</command>
<command>cvjs_swapLayersInDrawing</command>
<command>cvjs_allLayersInDrawingOn</command>
<command>cvjs_Measurement</command>
<command>cvjs_calibrateMeasurement</command>
<command>cvjs_displayMagnifyingGlass</command>
<command>cvjs_activateLineThicknessModal</command>
<command>cvjs_About</command>
<command>cvjs_Settings</command>
</page>
<page>
<command>cvjs_saveAsSVGOnServer</command>
<command>cvjs_saveStickyNotesRedlinesUser</command>
<command>cvjs_setRedlineColor</command>
<command>cvjs_setRedlineThickness</command>
<command>cvjs_drawStickyNote</command>
<command>cvjs_drawRedlineText</command>
<command>cvjs_drawRedline_Freehand</command>
<command>cvjs_drawRedlineEllipseCloud</command>
<command>cvjs_drawRedlineFilledPolygon</command>
<command>cvjs_drawRedlinePolyline</command>
<command>cvjs_drawRedlineFilledRectangle</command>
<command>cvjs_drawRedlineRectangle</command>
<command>cvjs_drawRedlineTriangle</command>
<command>cvjs_drawRedlineArrow</command>
<command>cvjs_deleteSingleRedline</command>
<command>cvjs_deleteLastRedline</command>
<command>cvjs_undoDeleteLastRedline</command>
<command>cvjs_clearCurrentRedline</command>
</page>
</pages>
<icons_per_row>0</icons_per_row>
<icon_page_left_x>0</icon_page_left_x>
<icon_page_left_y>0</icon_page_left_y>
<customcommand>
<tooltip>Commmand tooltip 1</tooltip>
<tooltip>Commmand tooltip 2</tooltip>
<tooltip>Commmand tooltip 3</tooltip>
<tooltip>Commmand tooltip 4</tooltip>
<tooltip>Commmand tooltip 5</tooltip>
<tooltip>Commmand tooltip 6</tooltip>
<tooltip>Commmand tooltip 7</tooltip>
<tooltip>Commmand tooltip 8</tooltip>
<tooltip>Commmand tooltip 9</tooltip>
<tooltip>Commmand tooltip 10</tooltip>
</customcommand>
</iconmenu>
<zoommenu>
<location_left_x>0</location_left_x>
<location_left_y>30</location_left_y>
</zoommenu>
</cvjs>

View File

@@ -0,0 +1,95 @@
<cvjs>
<iconmenu>
<totalpages>5</totalpages>
<startpage>3</startpage>
<pages>
<page>
<command>cvjs_LayerList</command>
<command>cvjs_Print</command>
<command>cvjs_toggleBlackWhite</command>
<command>cvjs_setBackgroundColor</command>
<command>cvjs_openFileLoadToServer</command>
<command>cvjs_interactiveSearchText</command>
<command>cvjs_interactiveLayerOff</command>
<command>cvjs_swapLayersInDrawing</command>
<command>cvjs_allLayersInDrawingOn</command>
<command>cvjs_Measurement</command>
<command>cvjs_calibrateMeasurement</command>
<command>cvjs_displayMagnifyingGlass</command>
<command>cvjs_activateLineThicknessModal</command>
<command>cvjs_About</command>
<command>cvjs_Settings</command>
</page>
<page>
<command>cvjs_mergeDXFDWG</command>
<command>cvjs_publishPDF</command>
<command>cvjs_saveAsSVGOnServer</command>
<command>cvjs_loadStickyNotesRedlinesUser</command>
<command>cvjs_saveStickyNotesRedlinesUser</command>
<command>cvjs_setRedlineColor</command>
<command>cvjs_setRedlineThickness</command>
<command>cvjs_drawStickyNote</command>
<command>cvjs_drawRedlineText</command>
<command>cvjs_drawRedline_Freehand</command>
<command>cvjs_drawRedlineEllipseCloud</command>
<command>cvjs_drawRedlineFilledPolygon</command>
<command>cvjs_drawRedlinePolyline</command>
<command>cvjs_drawRedlineFilledRectangle</command>
<command>cvjs_drawRedlineRectangle</command>
<command>cvjs_drawRedlineArrow</command>
<command>cvjs_deleteSingleRedline</command>
<command>cvjs_deleteLastRedline</command>
<command>cvjs_clearCurrentRedline</command>
</page>
<page>
<command>cvjs_insertImageLink</command>
<command>cvjs_loadAllImageLinks</command>
<command>cvjs_saveAllImageLinks</command>
<command>cvjs_clearAllImageLinks</command>
<command>cvjs_quickCount</command>
<command>cvjs_showMeCounts</command>
<command>cvjs_clearQuickCounts</command>
<command>cvjs_compareDrawings_LoadSecondDrawing</command>
<command>cvjs_compareDrawings_ToggleDrawings</command>
<command>cvjs_compareDrawings_ToggleDrawingOverlay</command>
<command>cvjs_exitCompareDrawings</command>
</page>
<page>
<command>cvjs_loadSpaceObjectsUser</command>
<command>cvjs_changeSpaceObjectDisplayMode</command>
<command>cvjs_addPolygonSpaceObject</command>
<command>cvjs_addRectangleSpaceObject</command>
<command>cvjs_addCircleSpaceObject</command>
<command>cvjs_copyCircleSpaceObject</command>
<command>cvjs_deleteSpaceObject</command>
<command>cvjs_loadDrawingsWithSpaceObjects</command>
<command>cvjs_LayerListSpaceObject</command>
</page>
<page>
<command>cvjs_resizeSpaceImageObject</command>
<command>cvjs_deleteSpaceImageObject</command>
<command>cvjs_saveAsSVGOnServer</command>
</page>
</pages>
<icons_per_row>0</icons_per_row>
<icon_page_left_x>0</icon_page_left_x>
<icon_page_left_y>0</icon_page_left_y>
<customcommand>
<tooltip>Commmand tooltip 1</tooltip>
<tooltip>Commmand tooltip 2</tooltip>
<tooltip>Commmand tooltip 3</tooltip>
<tooltip>Commmand tooltip 4</tooltip>
<tooltip>Commmand tooltip 5</tooltip>
<tooltip>Commmand tooltip 6</tooltip>
<tooltip>Commmand tooltip 7</tooltip>
<tooltip>Commmand tooltip 8</tooltip>
<tooltip>Commmand tooltip 9</tooltip>
<tooltip>Commmand tooltip 10</tooltip>
</customcommand>
</iconmenu>
<zoommenu>
<location_left_x>0</location_left_x>
<location_left_y>30</location_left_y>
</zoommenu>
</cvjs>

View File

@@ -0,0 +1,103 @@
<cvjs>
<iconmenu>
<totalpages>6</totalpages>
<startpage>1</startpage>
<pages>
<page>
<command>cvjs_LayerList</command>
<command>cvjs_Print</command>
<command>cvjs_toggleBlackWhite</command>
<command>cvjs_setBackgroundColor</command>
<command>cvjs_openFileLoadToServer</command>
<command>cvjs_interactiveSearchText</command>
<command>cvjs_interactiveLayerOff</command>
<command>cvjs_swapLayersInDrawing</command>
<command>cvjs_allLayersInDrawingOn</command>
<command>cvjs_Measurement</command>
<command>cvjs_calibrateMeasurement</command>
<command>cvjs_displayMagnifyingGlass</command>
<command>cvjs_activateLineThicknessModal</command>
<command>cvjs_About</command>
<command>cvjs_Settings</command>
</page>
<page>
<command>cvjs_mergeDXFDWG</command>
<command>cvjs_publishPDF</command>
<command>cvjs_saveAsSVGOnServer</command>
<command>cvjs_loadStickyNotesRedlinesUser</command>
<command>cvjs_saveStickyNotesRedlinesUser</command>
<command>cvjs_setRedlineColor</command>
<command>cvjs_setRedlineThickness</command>
<command>cvjs_drawStickyNote</command>
<command>cvjs_drawRedlineText</command>
<command>cvjs_drawRedline_Freehand</command>
<command>cvjs_drawRedlineEllipseCloud</command>
<command>cvjs_drawRedlineFilledPolygon</command>
<command>cvjs_drawRedlinePolyline</command>
<command>cvjs_drawRedlineFilledRectangle</command>
<command>cvjs_drawRedlineRectangle</command>
<command>cvjs_drawRedlineArrow</command>
<command>cvjs_deleteSingleRedline</command>
<command>cvjs_deleteLastRedline</command>
<command>cvjs_clearCurrentRedline</command>
</page>
<page>
<command>cvjs_insertImageLink</command>
<command>cvjs_loadAllImageLinks</command>
<command>cvjs_saveAllImageLinks</command>
<command>cvjs_clearAllImageLinks</command>
<command>cvjs_quickCount</command>
<command>cvjs_showMeCounts</command>
<command>cvjs_clearQuickCounts</command>
<command>cvjs_compareDrawings_LoadSecondDrawing</command>
<command>cvjs_compareDrawings_ToggleDrawings</command>
<command>cvjs_compareDrawings_ToggleDrawingOverlay</command>
<command>cvjs_exitCompareDrawings</command>
</page>
<page>
<command>cvjs_loadSpaceObjectsUser</command>
<command>cvjs_changeSpaceObjectDisplayMode</command>
<command>cvjs_addPolygonSpaceObject</command>
<command>cvjs_addRectangleSpaceObject</command>
<command>cvjs_addCircleSpaceObject</command>
<command>cvjs_copyCircleSpaceObject</command>
<command>cvjs_deleteSpaceObject</command>
<command>cvjs_loadDrawingsWithSpaceObjects</command>
<command>cvjs_LayerListSpaceObject</command>
</page>
<page>
<command>cvjs_addFixedSizeImageSpaceObject</command>
<command>cvjs_addDragRectangleImageSpaceObject</command>
<command>cvjs_resizeSpaceImageObject</command>
<command>cvjs_deleteSpaceImageObject</command>
<command>cvjs_saveAsSVGOnServer</command>
</page>
<page>
<command>cvjs_customCommand_03</command>
<command>cvjs_customCommand_04</command>
<command>cvjs_customCommand_01</command>
<command>cvjs_customCommand_02</command>
</page>
</pages>
<icons_per_row>0</icons_per_row>
<icon_page_left_x>0</icon_page_left_x>
<icon_page_left_y>0</icon_page_left_y>
<customcommand>
<tooltip>Commmand tooltip 1</tooltip>
<tooltip>Commmand tooltip 2</tooltip>
<tooltip>Commmand tooltip 3</tooltip>
<tooltip>Commmand tooltip 4</tooltip>
<tooltip>Commmand tooltip 5</tooltip>
<tooltip>Commmand tooltip 6</tooltip>
<tooltip>Commmand tooltip 7</tooltip>
<tooltip>Commmand tooltip 8</tooltip>
<tooltip>Commmand tooltip 9</tooltip>
<tooltip>Commmand tooltip 10</tooltip>
</customcommand>
</iconmenu>
<zoommenu>
<location_left_x>0</location_left_x>
<location_left_y>30</location_left_y>
</zoommenu>
</cvjs>

View File

@@ -0,0 +1,39 @@
<cvjs>
<iconmenu>
<totalpages>1</totalpages>
<startpage>1</startpage>
<pages>
<page>
<command>cvjs_Measurement</command>
<command>cvjs_calibrateMeasurement</command>
<!-- <command>cvjs_setBackgroundColor</command> -->
<command>cvjs_openFileLoadToServer</command>
<!-- <command>cvjs_About</command> -->
<command>cvjs_ZoomExtents</command>
<command>cvjs_ZoomIn</command>
<command>cvjs_ZoomOut</command>
<command>cvjs_ZoomWindow</command>
</page>
</pages>
<icons_per_row>1</icons_per_row>
<icon_page_left_x>0</icon_page_left_x>
<icon_page_left_y>0</icon_page_left_y>
<customcommand>
<tooltip>Commmand tooltip 1</tooltip>
<tooltip>Commmand tooltip 2</tooltip>
<tooltip>Commmand tooltip 3</tooltip>
<tooltip>Commmand tooltip 4</tooltip>
<tooltip>Commmand tooltip 5</tooltip>
<tooltip>Commmand tooltip 6</tooltip>
<tooltip>Commmand tooltip 7</tooltip>
<tooltip>Commmand tooltip 8</tooltip>
<tooltip>Commmand tooltip 9</tooltip>
<tooltip>Commmand tooltip 10</tooltip>
</customcommand>
</iconmenu>
<zoommenu>
<location_left_x>200</location_left_x>
<location_left_y>300</location_left_y>
</zoommenu>
</cvjs>

View File

@@ -0,0 +1,44 @@
<cvjs>
<iconmenu>
<totalpages>1</totalpages>
<startpage>1</startpage>
<pages>
<page>
<command>cvjs_LayerList</command>
<command>cvjs_Print</command>
<command>cvjs_toggleBlackWhite</command>
<command>cvjs_setBackgroundColor</command>
<command>cvjs_interactiveSearchText</command>
<command>cvjs_interactiveLayerOff</command>
<command>cvjs_swapLayersInDrawing</command>
<command>cvjs_allLayersInDrawingOn</command>
<command>cvjs_Measurement</command>
<command>cvjs_calibrateMeasurement</command>
<command>cvjs_displayMagnifyingGlass</command>
<command>cvjs_activateLineThicknessModal</command>
<command>cvjs_About</command>
<command>cvjs_Settings</command>
</page>
</pages>
<icons_per_row>0</icons_per_row>
<icon_page_left_x>0</icon_page_left_x>
<icon_page_left_y>0</icon_page_left_y>
<customcommand>
<tooltip>Commmand tooltip 1</tooltip>
<tooltip>Commmand tooltip 2</tooltip>
<tooltip>Commmand tooltip 3</tooltip>
<tooltip>Commmand tooltip 4</tooltip>
<tooltip>Commmand tooltip 5</tooltip>
<tooltip>Commmand tooltip 6</tooltip>
<tooltip>Commmand tooltip 7</tooltip>
<tooltip>Commmand tooltip 8</tooltip>
<tooltip>Commmand tooltip 9</tooltip>
<tooltip>Commmand tooltip 10</tooltip>
</customcommand>
</iconmenu>
<zoommenu>
<location_left_x>0</location_left_x>
<location_left_y>30</location_left_y>
</zoommenu>
</cvjs>

View File

@@ -0,0 +1,74 @@
<cvjs>
<iconmenu>
<totalpages>2</totalpages>
<startpage>1</startpage>
<pages>
<page>
<command>cvjs_LayerList</command>
<command>cvjs_Print</command>
<command>cvjs_toggleBlackWhite</command>
<command>cvjs_setBackgroundColor</command>
<command>cvjs_openFileLoadToServer</command>
<command>cvjs_interactiveSearchText</command>
<command>cvjs_interactiveLayerOff</command>
<command>cvjs_swapLayersInDrawing</command>
<command>cvjs_allLayersInDrawingOn</command>
<command>cvjs_Measurement</command>
<command>cvjs_calibrateMeasurement</command>
<command>cvjs_displayMagnifyingGlass</command>
<command>cvjs_activateLineThicknessModal</command>
<command>cvjs_About</command>
<command>cvjs_Settings</command>
</page>
<page>
<command>cvjs_saveAsSVGOnServer</command>
<command>cvjs_loadStickyNotesRedlinesUser</command>
<command>cvjs_saveStickyNotesRedlinesUser</command>
<command>cvjs_setRedlineColor</command>
<command>cvjs_setRedlineThickness</command>
<command>cvjs_drawStickyNote</command>
<command>cvjs_drawRedlineText</command>
<command>cvjs_drawRedline_Freehand</command>
<command>cvjs_drawRedlineEllipseCloud</command>
<command>cvjs_drawRedlineFilledPolygon</command>
<command>cvjs_drawRedlinePolyline</command>
<command>cvjs_drawRedlineFilledRectangle</command>
<command>cvjs_drawRedlineRectangle</command>
<command>cvjs_drawRedlineArrow</command>
<command>cvjs_deleteSingleRedline</command>
<command>cvjs_deleteLastRedline</command>
<command>cvjs_clearCurrentRedline</command>
</page>
</pages>
<icons_per_row>0</icons_per_row>
<icon_page_left_x>0</icon_page_left_x>
<icon_page_left_y>0</icon_page_left_y>
<customcommand>
<tooltip>Command Tooltip 1</tooltip>
<tooltip>Command Tooltip 2</tooltip>
<tooltip>Command Tooltip 3</tooltip>
<tooltip>Command Tooltip 4</tooltip>
<tooltip>Command Tooltip 5</tooltip>
<tooltip>Command Tooltip 6</tooltip>
<tooltip>Command Tooltip 7</tooltip>
<tooltip>Command Tooltip 8</tooltip>
<tooltip>Command Tooltip 9</tooltip>
<tooltip>Command Tooltip 10</tooltip>
<tooltip>Command Tooltip 11</tooltip>
<tooltip>Command Tooltip 12</tooltip>
<tooltip>Command Tooltip 13</tooltip>
<tooltip>Command Tooltip 14</tooltip>
<tooltip>Command Tooltip 15</tooltip>
<tooltip>Command Tooltip 16</tooltip>
<tooltip>Command Tooltip 17</tooltip>
<tooltip>Command Tooltip 18</tooltip>
<tooltip>Command Tooltip 19</tooltip>
<tooltip>Command Tooltip 20</tooltip>
</customcommand>
</iconmenu>
<zoommenu>
<location_left_x>0</location_left_x>
<location_left_y>36</location_left_y>
</zoommenu>
</cvjs>

Some files were not shown because too many files have changed in this diff Show More