Update models more

This commit is contained in:
John Lyon-Smith
2018-03-22 10:18:34 -07:00
parent e15c38c0bc
commit 82fbd88dab
16 changed files with 7856 additions and 3925 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -1,13 +1,12 @@
# Blender MTL File: 'hardhat.blend' # Blender MTL File: 'hardhat.blend'
# Material Count: 1 # Material Count: 1
newmtl mask newmtl Material
Ns 94.117647 Ns 96.078431
Ka 1.000000 1.000000 1.000000 Ka 1.000000 1.000000 1.000000
Kd 0.800000 0.538025 0.000000 Kd 0.640000 0.628157 0.012959
Ks 0.588235 0.588235 0.588235 Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000 Ke 0.000000 0.000000 0.000000
Ni 1.000000 Ni 1.000000
d 1.000000 d 1.000000
illum 2 illum 2
map_Kd /Users/john/Map #3

File diff suppressed because it is too large Load Diff

View File

@@ -1,13 +1,12 @@
# Blender MTL File: 'question.blend' # Blender MTL File: 'question.blend'
# Material Count: 1 # Material Count: 1
newmtl Blue newmtl Yellow
Ns 237.254902 Ns 237.254902
Ka 1.000000 1.000000 1.000000 Ka 1.000000 1.000000 1.000000
Kd 0.649412 0.611712 0.000000 Kd 0.649412 0.563220 0.009454
Ks 0.196078 0.184390 0.009218 Ks 0.196078 0.184390 0.009218
Ke 0.000000 0.000000 0.000000 Ke 0.000000 0.000000 0.000000
Ni 1.000000 Ni 1.000000
d 1.000000 d 1.000000
illum 2 illum 2
map_Kd /Users/john/Map #147

View File

@@ -1333,7 +1333,7 @@ vn 0.0000 -1.0000 0.0000
vn -0.9999 -0.0155 0.0000 vn -0.9999 -0.0155 0.0000
vn -0.1230 -0.9924 0.0000 vn -0.1230 -0.9924 0.0000
vn -0.9671 0.2544 0.0000 vn -0.9671 0.2544 0.0000
usemtl Blue usemtl Yellow
s 1 s 1
f 102/1/1 55/2/1 128/3/1 f 102/1/1 55/2/1 128/3/1
f 128/3/1 127/4/1 102/1/1 f 128/3/1 127/4/1 102/1/1

View File

@@ -11,11 +11,11 @@
uploadTimout: 3600, uploadTimout: 3600,
}, },
email: { email: {
senderEmail: 'support@kingstonsoftware.solutions', senderEmail: 'support@kss.us.com',
maxEmailTokenAgeInHours: 36, maxEmailTokenAgeInHours: 36,
maxPasswordTokenAgeInHours: 3, maxPasswordTokenAgeInHours: 3,
sendEmailDelayInSeconds: 3, sendEmailDelayInSeconds: 3,
supportEmail: 'support@kingstonsoftware.solutions', supportEmail: 'support@kss.us.com',
sendEmail: true sendEmail: true
} }
} }

View File

@@ -1,6 +1,6 @@
Hello {{recipientFullName}}, Hello {{recipientFullName}},
Thank you for joining the Deighton AR system! Welcome to the Deighton AR training system!
Please paste this link into your browser to go to the Deighton AR system and set your login password: Please paste this link into your browser to go to the Deighton AR system and set your login password:
@@ -8,7 +8,7 @@ Please paste this link into your browser to go to the Deighton AR system and set
This invitation expires in {{confirmEmailLinkExpirationHours}} hours. If it has expired or you have any problems creating a password or logging into our system, please contact {{supportEmail}}. This invitation expires in {{confirmEmailLinkExpirationHours}} hours. If it has expired or you have any problems creating a password or logging into our system, please contact {{supportEmail}}.
Thank you and we look forward to working with you! Look forward to seeing you in the training scenario!
Sincerely, Sincerely,

View File

@@ -51,7 +51,9 @@ export class EmailHandlers {
} }
// configure AWS SDK // configure AWS SDK
aws.config = new aws.Config(config.get('awsConfig')); const awsConfig = config.get('awsConfig')
aws.config = new aws.Config(awsConfig)
// create Nodemailer SES transporter // create Nodemailer SES transporter
let transporter = nodemailer.createTransport({ let transporter = nodemailer.createTransport({
@@ -60,7 +62,7 @@ export class EmailHandlers {
}) })
}); });
const senderEmail = config.get('senderEmail') const senderEmail = config.get('email.senderEmail')
const template = this.templates[templateName] const template = this.templates[templateName]
if (!template) { if (!template) {

View File

@@ -13,8 +13,8 @@ export class MS {
async connect(amqpUri) { async connect(amqpUri) {
this.connection = await amqp.connect(amqpUri) this.connection = await amqp.connect(amqpUri)
this.connection.on('error', () => { this.connection.on('error', (err) => {
this.log.error(`RabbitMQ has gone, shutting down service`) this.log.error(`${err}. Shutting down service.`)
process.exit(-1) process.exit(-1)
}) })

3931
website/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -6,6 +6,7 @@
"animejs": "^2.2.0", "animejs": "^2.2.0",
"auto-bind2": "^1.0.2", "auto-bind2": "^1.0.2",
"eventemitter3": "^2.0.3", "eventemitter3": "^2.0.3",
"npm": "^5.7.1",
"prop-types": "^15.5.10", "prop-types": "^15.5.10",
"radium": "^0.22.0", "radium": "^0.22.0",
"react": "^16.2.0", "react": "^16.2.0",

View File

@@ -80,7 +80,9 @@ export class App extends Component {
<Router basename='/'> <Router basename='/'>
<Column minHeight='100vh'> <Column minHeight='100vh'>
<Column.Item height={sizeInfo.headerHeight - sizeInfo.headerBorderWidth}> <Column.Item height={sizeInfo.headerHeight - sizeInfo.headerBorderWidth}>
<Box background={colorInfo.headerButtonBackground} borderBottom={{ width: sizeInfo.headerBorderWidth, color: colorInfo.headerBorder }}> <Box background={colorInfo.headerButtonBackground}
borderBottom={{ width: sizeInfo.headerBorderWidth, color: colorInfo.headerBorder }}
style={{ boxSizing: 'content' }}>
<Row minWidth='100vw'> <Row minWidth='100vw'>
<Row.Item>{headerButtonsLeft}</Row.Item> <Row.Item>{headerButtonsLeft}</Row.Item>
<Row.Item grow /> <Row.Item grow />

View File

@@ -26,12 +26,12 @@ class HeaderButton extends Component {
} }
render() { render() {
const size = sizeInfo.headerHeight - 2 * sizeInfo.headerBorderWidth const size = sizeInfo.headerHeight - 2 * sizeInfo.headerBorderWidth // Times two to account for zooming
const { onClick, icon, image } = this.props const { onClick, icon, image } = this.props
let content = null let content = null
if (image) { if (image) {
content = (<Image source={image} width={size} height={size} margin={sizeInfo.headerButtonMargin} />) content = (<Image source={image} width={size} height='100%' margin={sizeInfo.headerButtonMargin} />)
} else if (icon) { } else if (icon) {
content = (<Icon name={icon} size={size} margin={sizeInfo.headerButtonMargin} />) content = (<Icon name={icon} size={size} margin={sizeInfo.headerButtonMargin} />)
} }