Zero to 3D in 60 Minutes Fenton Webb Senior Developer Evangelist.
-
Upload
isabel-price -
Category
Documents
-
view
269 -
download
8
Transcript of Zero to 3D in 60 Minutes Fenton Webb Senior Developer Evangelist.
3D
Zero to 3D in 60 Minutes
Fenton WebbSenior Developer Evangelist
About the Presenter
Fenton WebbDeveloper Technical ServicesAmericasAutodesk, Inchttp://twitter.com/fentonwebb
Fenton has been a member of the Autodesk DevTech team since 2000. Originally a member of our EMEA team, he has recently relocated to California to work for DevTech Americas. Fenton is an expert in all the AutoCAD APIs, AutoCAD OEM, RealDWG and Revit. He particularly enjoys travelling to evangelise the APIs he support at our annual Developer Days conferences.
Before joining Autodesk, Fenton worked for an ADN partner developing ObjectARX applications in the Civil and Structural Engineering domain.
3DAutodesk Developer Network
Access to almost all Autodesk software and SDK’s Including early access to Beta software
Members-only website with 1000s of technical articles Unlimited technical support Product direction through conferences Marketing benefits
Exposure on autodesk.com Promotional opportunities
1 to 3 free API training classes Based on user level
www.autodesk.com/joinadn
3DDevLab
San Francisco, USA Feb 1-5, 2010 Farnborough, UK Feb 8-12, 2010 Munich, Germany June 7-11, 2010 Other countries TBD
www.autodesk.com/apitraining > Schedule
3DAgenda
History of 3D in AutoCADCreating 3D GeometryCreating Advanced 3D Geometry
Logical - Unions, Subtracts and IntersectGeometrical - Extrusions, Lofts, Revolves and Sweeps
Freeform ModelingExtract the 3D DataQuestions
3DHistory of 3D in AutoCADTechnology Information
Version 2.1 • Z Coordinate
R11 AutoCAD Modeling Extension (AME) • ADS API
R13 ACIS - Licensed Technology from Spatial Industry Standard SAT Output
2004 ASM – Autodesk Solid Modeler Derived from ACIS Autodesk Standard
Amodeler – Autodesk Modeler Focused Surface Modeler used by ADT/AutoCAD Architecture
3DCreating 3D Geometry
Easy to Create Basic 3D Geometry – Solid Types Known as Primitive Solids Commands
Box, Wedge, Cone, Cylinder, Sphere, Pyramid, Torus See AutoCAD Help Create 3D Solid Primitives
Using AutoCAD
3DCreating 3D Geometry
You can easily modify Primitive Solids Via the Properties Window Via Grips Basic Properties
Keeps Shape
Using AutoCAD
3DCreating 3D Geometry
Advanced modification is possible Sub-Object Selection (CTRL+Left Click)
Faces Edges Vertices
Using AutoCAD
3DCreating 3D Geometry
.NETSolid3d.Create*
CreateBox, CreateSphere, CreateTorus, etc
ObjectARXAcDb3dSolid::create*
createBox, CreateSphere, CreateTorus , etc
VBA or Visual LISP Active XAcad3dSolid.Add*
AddBox, AddSphere, AddTorus, etcLISP
Command Line methodActiveX LISP (using the same API as VBA)
Using APIs
3DCreating 3D Geometry
Demo “Basic 3D”
DemonstratingVisual Studio 2008
Using Solid3d class
Using C# .NET
Show how...
3DCreating Advanced 3D Geometry
Synthesizing Solids Union Subtract Intersect
Using Logical Operations
3DCreating Advanced 3D Geometry
Synthesizing Solids Union
Combine
Using Logical Operations
3DCreating Advanced 3D Geometry
Synthesizing Solids Subtract
Using Logical Operations
3DCreating Advanced 3D Geometry
Synthesizing Solids Intersect
Common
Using Logical Operations
3DCreating 3D Geometry
Demo “Logical 3D”
DemonstratingLogical Solid3D Operations
Union
Subtract
Intersect
Using C# .NET
Show how...
3DCreating Advanced 3D Geometry
Extrude, Loft, Revolve and Sweep - Surface (and Solid) Types
Using AutoCAD
3DCreating Advanced 3D Geometry
You can modify these types Via the Properties Window Via Grips Construction Geometry Only
Using AutoCAD
3DCreating Advanced 3D Geometry
Advanced modification not possible
Sub-Object Selection (CTRL+Left Click)Faces EdgesVertices
Using AutoCAD
3DCreating Advanced 3D Geometry
.NETExtrude
SweepOptions / SweepOptionsBuilder
ExtrudedSurface.CreateExtrudedSurface
SweepSweepOptions / SweepOptionsBuilder
SweptSurface.CreateSweptSurface
Loft LoftOptions / LoftOptionsBuilder
Solid3d.CreateLoftedSolid
RevolveRevolveOptions / RevolveOptionsBuilder
Solid3d.CreateRevolvedSolid
Using APIs
Surface Type
Surface Type
Solid Type
Solid Type
3DCreating Advanced 3D Geometry
ObjectARXExtrude
AcDbSweepOptions
AcDbExtrudedSurface::createExtrudedSurface
SweepAcDbSweepOptions
AcDbSweptSurface::createSweptSurface
Loft AcDbLoftOptions
AcDb3dSolid::createLoftedSolid
RevolveAcDbRevolveOptions
AcDb3dSolid::createRevolvedSolid
Using APIs
Surface Type
Surface Type
Solid Type
Solid Type
3DCreating Advanced 3D Geometry
VBA or Visual LISP ActiveXExtrude
AddExtrudedSolid
SweepSweptSurface – Read Only
Loft LoftedSurface – Read Only
RevolveAddRevolvedSolid
Using APIs
Surface Type
Surface Type
Solid Type
Solid Type
3DCreating Advanced 3D Geometry
Demo “Advanced 3D”
DemonstratingExtrudes
Lofts
Sweeps
Revolves
Using C# .NET
Show how...
3DFreeform Modeling
New features RequiredUnique Style of Modeling
Takes 3D Modeling to the next level!
Quicker and easierSpecial Gadgets
ASM Solids Are Very PowerfulGreat at EverythingWhat about DWG compatibility?
Face limitation (32k)
Realisations
3DFreeform Modeling
New SubDMesh entityUses Catmull-Clark algorithmEdge and surface creasingNo 32k face limit
New API
API Available in ObjectARX – AcDbSubDMesh.NET - SubDMesh
3DFreeform Modeling
A subdivision surface is a smooth surface created from a coarse mesh.
The smooth surface is calculated by iteratively subdividing each polygonal face into smaller faces that better approximate the smooth surface.
See http://en.wikipedia.org/wiki/Subdivision_surface
What is SubD
3DFreeform Modeling
Demo “Freeform Modeling”
DemonstratingFreeform Modeling SDK Sample
Create from primitive Create from ASM solid
Applying creasesTransform mesh elements
Convert to ASM solidUsing VB.NET
Show how...
3DExtract the 3D Data
Boundary Representation BrepObjectARX and .NET Solids Regions Bodies Surfaces*
Represents shapes using Limits Limits defined using hierarchically connected objects
Otherwise known as Topology
Introducing Brep
3D
Boundaries gives Faces, Faces gives Edges
Geometric information are associated with three basic entities ( Surfacesfaces, Curvesedges, PointsVertices )
Extract the 3D DataHow Brep works
3DExtract the 3D Data
Demo “Brep”
DemonstratingVisual Studio 2008
Extracting 3D Data from a Solid
Using C# .NET
Show how...
3DZero to 3D
SDK and Sampleswww.objectarx.com
Developer Centerwww.autodesk.com/developautocad
Discussion Groupshttp://discussion.autodesk.com
API Training Classeswww.autodesk.com/apitraining
Kean’s Through the Interface Blog http://blogs.autodesk.com/through-the-interface
Autodesk Developer Networkwww.autodesk.com/joinadn
Further reading...
Zero to 3D in 60 Minutes
Fenton WebbSenior Developer Evangelist
Thank you – Any questions?
3D