forge - devcon 2016: drawings! drawings! everywhere!

37
Albert Szilvasy, Autodesk Abhishek Singhal, Risersoft Ben O'Donnell, BIMobject Drawings! Drawings! Everywhere!

Upload: autodesk

Post on 23-Jan-2018

521 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

Albert Szilvasy, AutodeskAbhishek Singhal, RisersoftBen O'Donnell, BIMobject

Drawings! Drawings! Everywhere!

Page 2: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

Agenda

• Overview of Design Automation API

• Demo

• Clients• Risersoft

• Bimobjects

Page 3: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

AutoCAD.IO

Design Automation APIForge DAA

Nicely captures the simplicity of this API

As in: It is simple!

Page 4: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

The problem

• There are billions of DWG files “out there”

• Lot of people want DWG files

• You need AutoCAD to access/create DWGs• Requires HW, license, personnel to maintain

Page 5: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

Solution: Design Automation API

• A simple DWG processing service

• Simple: • Input url(s) + output urls(s) + autocad commands

• Service:• no license, no hw, no maintance

• Available since November 2014

• Daily volume of over 50,000 dwgs

Page 6: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

The API

HTTP Endpoint

/Activities

/WorkItems

/AppPackages

/Engines

Programming concept

Function definition

Function call

Shared library

Instruction set

AutoCAD concept

Script file

Script execution

Plugin (crx)

AutoCAD version

Page 7: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

DAA: output = f(input)

(r1, r2, r3) f(p1, p2, p3…pN) {

inst1 p3,p2

inst2 p1, r1

}

Activity: • sequence of commands to execute + formal parameters/return

value decl

• Engine: version of AutoCAD to use

• AppPackage: code for custom commands

Activity

Named file

Named file

AutoCAD commands

Name

Function

Input parameter

Return value (out parameter)

Instructions

Name

Page 8: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

Notes on f()

• Activities like functions are stored and reusable. Create once use many times.

• AppPackages like shared libraries are stored and reusable. Upload once use many times.

• Engines are like CPU architectures. Clients can enumerate them.

Page 9: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

DAA: output = f(input)

var v = f(https://xyz, https://qfq, https://lsf )

• WorkItem: • invoke f() with concrete input/output arguments

(URLs + headers). A function call.

• Input/outputs are NOT stored, they are downloaded/processed and THROWN AWAY

Page 10: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

Demo: Your data at the center

If it is accessible over HTTP then it works for us:

• AWS

• Azure

• Forge Data Management API

• …

Page 11: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

Abhishek Singhal

CEO, Risersoft

UnitCADAutomate your drawings

Page 12: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

About RisersoftEngineering and Manufacturing Solutions

© 2016 Autodesk

Parametric Enterprise

Jet-Set-Go With Cloud

Engineering Driven

Manufacturing

Enquiry to Cash

Page 13: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

About RisersoftMaximprise Enquiry to Cash solution

The complete flow actually consists of several sub flows:

Enquiry to Quotation

Enquiry Engineering Quotation

Order to Planning

Customer Order Engineering Planning

Procure to Pay

Planning Procurement Receipt Payment

Order to Cash

Planning Production Dispatch CashEngineering is at the center of

universe (Of Operations)!

Planning

Page 14: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

UnitCAD Architecture

Easy Automation

AutoCAD and Inventor

GUI based rule entry

Excel Formula

Language

Database Storage

1. Rules Driven Creation of CAD Models and drawing

2. Replaces Programming paradigm with

a) Familiar Excel like Formula Language

b) Database

c) Front end GUI

Page 15: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

AutoCAD IO – Enabling new UnitCAD workflows

•Browser based

•Based on Web API

• List Rules

•Generate Output

•Call UnitCAD API in your own apps

•Based on Web API

•Generate Output

•Standalone App

•Based on Web API

•Create Rules

•Generate Output

•AutoCAD Environment

•Based on AutoCAD API

•Create Rules

•Generate Output

Add-In

Win App

Web App

Web API

Page 16: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

AutoCAD IO Development and Transition Notes

1. UnitCAD architecture model-view-controller. The models are reused across variants.

2. UnitCAD engine split UI and execution. The engine remains same for all variants.

3. AutoCAD IO offline the engine needs to be provided all data as “in-memory”.

4. Test Always test in local accoreconsole before testing in the cloud.

5. Test Crash information is not available when testing in cloud.

Page 17: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

UnitCAD Basics

• Hierarchy of rules produces hierarchy of AutoCAD Blocks

• Rule Types – Parameter, Child, Action, Snapshot

• Create geometry such as line, circle, ellipse etc through child rules

• Use existing AutoCAD Blocks

• Create parametric 3D Solids

• Formula Language:

• Familiar Excel functions like Engineering, information, logical

• Special functions for CAD model query

• All variants use same data and backend service

Page 18: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

1. Add-In

2. Win App

3. Web App

Demo

Page 19: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

Welcome to Office Mix

WATCH

CREATE

SHARE

Delete this slide (Delete key) and open a new slide (Ctrl + M) when you are ready to create your first Mix

1

2

3

Page 20: Forge - DevCon 2016: Drawings! Drawings! Everywhere!
Page 21: Forge - DevCon 2016: Drawings! Drawings! Everywhere!
Page 22: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

UnitCAD API

1. Synopsis• Use UnitCAD in your own apps

• Create rules in one of the other variants

• Call API and get the CAD model back

• Request Data: Startup component and parameter values

• Response: URL where result is stored

• Pattern: Fire – Acknowledge – Poll • Call pattern similar to AutoCAD IO

2. Demo

Page 23: Forge - DevCon 2016: Drawings! Drawings! Everywhere!
Page 24: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

Risersoft Parametric Enterprise

Typically, Engineering organization has their own domain specific tools, which are spreadsheet based or custom designed.

Typically, all of that output can ultimately be given as a collection of parameters, ranging from dozens to thousands.

Rules are defined in the familiar easy-to-use Excel like formula language.

Use rules and parameters to create enterprise data in addition to CAD automation.

© 2016 Autodesk

Page 25: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

Status

• App suite under testing

• Release within 4-5 weeks

• Per user per month pricing

• Registration portal with e-commerce:• Buy App suites with auto provisioning on cloud

• Manage tiers

• Manage multiple users within single account

• Manage API Apps

Page 26: Forge - DevCon 2016: Drawings! Drawings! Everywhere!
Page 27: Forge - DevCon 2016: Drawings! Drawings! Everywhere!
Page 28: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

Cloud solutions branded BIM contentHigh prof iled brands

Parametric and conf igurable

+ 4 million articles (sku)

Properties and inf ormation , classifications like COBie

LOD 100-400 and dy namic LOI

Support the entire process

Multiple f ormats and 22 languages supported

Page 29: Forge - DevCon 2016: Drawings! Drawings! Everywhere!
Page 30: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

Mass production of BIM content

Industrialise the creation

processes

Create an unbroken , information

chain

Page 31: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

BIMobject.com

BIMscript®

An open developer script

that enables smart objects in

a cloud environment and

single source of truth

Page 32: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

The process from Mech CAD to BIM objectsBOPC™ Properties

Downloadable parametricobjects for:

ArchiCADRevitSketchup

Viewable and configurable in:Web GL, (on fly creation)

Mechanical CAD formatsimported into Rhino:IGESSolidworksSTEPSTLCATIAUG NXParasolidAliasInventorPRO E Delete geometry not needed

Optimize the geometryAdd geometry for LOD 100Drag drop into script editorBuild intelligencetest, analyze and upload BIMscript™to bimobject.com cloud

IFC3DSDWG

BIMscript™

Page 33: Forge - DevCon 2016: Drawings! Drawings! Everywhere!
Page 34: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

User

BIMscript to DWG

BIMobject.comDesign

Automation API

Start

Lookup BIMscript for Product page

Setup Parameters of the Product

Request DWG File of the Product

Convert BIMscript to AutoCAD script using Parameters selected

Amazon S3

Upload AutoCAD script into S3 with a unique name

Save AutoCAD script for later use

Return result

Create Work Item for Design Automation APIreferring the AutoCAD script in S3

Upload Work Item & Start Polling for the Result

Start Work Item

Page 35: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

User

BIMscript to DWG

BIMobject.comDesign

Automation API

Finish polling & Request Result

Extract DWG file & Return Result

Amazon S3

Save DWG file

Lookup AutoCAD script

Return Result

Request AutoCAD script

Execute AutoCAD scriptresulting DWG file

Return result

Lookup Work Item Result

End

Page 36: Forge - DevCon 2016: Drawings! Drawings! Everywhere!

Forge.Autodesk.com

@AutodeskForge

Get Started

Page 37: Forge - DevCon 2016: Drawings! Drawings! Everywhere!