BREPS solids construction by surfaces of extrusion & revolution

Slides:



Advertisements
Similar presentations
Visible-Surface Detection(identification)
Advertisements

By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
1GR2-00 GR2 Advanced Computer Graphics AGR Lecture 9 Adding Realism Through Texture.
9.1si31_2001 SI31 Advanced Computer Graphics AGR Lecture 9 Adding Realism Through Texture.
Calypso Construction Features
7 Applications of Integration
1 Motion and Manipulation Configuration Space. Outline Motion Planning Configuration Space and Free Space Free Space Structure and Complexity.
Splines I – Curves and Properties
Computer Graphics- SCC 342
STATIKA STRUKTUR Genap 2012 / 2013 I Made Gatot Karohika ST. MT.
Advanced Manufacturing Laboratory Department of Industrial Engineering Sharif University of Technology Session # 5.
Copyright © Cengage Learning. All rights reserved.
COMP 175 | COMPUTER GRAPHICS Remco Chang1/6103b – Shapes Lecture 03b: Shapes COMP 175: Computer Graphics February 3, 2015.
Developable Surface Fitting to Point Clouds Martin Peternell Computer Aided Geometric Design 21(2004) Reporter: Xingwang Zhang June 19, 2005.
Extended Gaussian Images
© University of Wisconsin, CS559 Spring 2004
1 Curves and Surfaces. 2 Representation of Curves & Surfaces Polygon Meshes Parametric Cubic Curves Parametric Bi-Cubic Surfaces Quadric Surfaces Specialized.
CS447/ Realistic Rendering -- Solids Modeling -- Introduction to 2D and 3D Computer Graphics.
Constructive Methods in Modelling Lecture 7 (Modelling)
Operators in CAD Systems
Graphics Graphics Korea University cgvr.korea.ac.kr 3D Object Representation 고려대학교 컴퓨터 그래픽스 연구실.
Offset of curves. Alina Shaikhet (CS, Technion)
Disediakan oleh Suriati bte Sadimon GMM, FSKSM, UTM 2004 SURFACE.
Modelling. Outline  Modelling methods  Editing models – adding detail  Polygonal models  Representing curves  Patched surfaces.
2003 by Jim X. Chen: Introduction to Modeling Jim X. Chen George Mason University.
Implicit Surfaces Tom Ouyang January 29, Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.
Curves Locus of a point moving with one degree of freedom
Geometric Modeling Surfaces Mortenson Chapter 6 and Angel Chapter 9.
Some Material on Swept Solids and Surfaces of Revolution From Chapter 10 of Mortenson Sections 10.5 – 10.6 Geometric Modeling
IE433 CAD/CAM Computer Aided Design and Computer Aided Manufacturing Part-4 Computer Graphics- CAD Software Dr. Abdulrahman M. Al-Ahmari Industrial Engineering.
Objects in 3D – Parametric Surfaces Computer Graphics Seminar MUM, summer 2005.
ENDS 375 Foundations of Visualization Geometric Representation 10/5/04.
IE433 CAD/CAM Computer Aided Design and Computer Aided Manufacturing Part-4 Computer Graphics- CAD Software Industrial Engineering Program King Saud University.
3-D Modeling Concepts V part 2.
Modeling and representation 1 – comparative review and polygon mesh models 2.1 Introduction 2.2 Polygonal representation of three-dimensional objects 2.3.
Curve Modeling Bézier Curves
Computer Integrated Manufacturing CIM
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
Graphics Graphics Korea University cgvr.korea.ac.kr Creating Virtual World I 김 창 헌 Department of Computer Science Korea University
Mechanical Engineering Dept., SJSU
University of Texas at Austin CS384G - Computer Graphics Fall 2008 Don Fussell Parametric surfaces.
Volumes of Revolution Day 4 Volumes in Bases. The title is deceiving This section isn’t actually rotations – instead, there will be a shape whose base.
Copyright © Curt Hill Visualization of 3D Worlds How are these images described?
Representation and modeling of 3D objects (basic concepts) FMFI UK Katedra počítačovej grafiky a spracovania obrazu Marek.
BREPS & STEP what's up and coming... Gabriele Cosmo CERN - IT/ASD GEANT4 Workshop September, 20th 1999 ESTEC, Noordwijk, The Netherlands.
Conic Sections An Introduction. Conic Sections - Introduction Similar images are located on page 604 of your book. You do not need to try and recreate.
In the name of God Computer Graphics Bastanfard. Curve Function(2) Other method is approximate it using a poly-line. Just locate a set of points along.
Geometrically Bounded Wireframe AIC (Part 510) Grouping of curves relevant for 3-dimensional wireframe modeling without topological constructs Elementary.
3D Object Representations 2011, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
Finding Volumes Chapter 6.2 February 22, In General: Vertical Cut:Horizontal Cut:
Ship Computer Aided Design
1 대상물체의 형상화를 위해 사용되는 기술  인공물체 : 기하학적 Primitive ( 선, 면, 구, 육면체 ) 등을 이 용하여 형상화. 입력물 : 형상화 물체의 3 차원 좌표값 출력물 : 선구조형상 (Wire framed objects) Technique:Geometric.
Chapter Area between Two Curves 7.2 Volumes by Slicing; Disks and Washers 7.3 Volumes by Cylindrical Shells 7.4 Length of a Plane Curve 7.5 Area.
Introduction to virtual engineering Óbuda University John von Neumann Faculty of Informatics Institute of Intelligent Engineering Systems Lecture 2. Description.
Introduction to 3D Solids and Solids of Revolution Some 3D shapes can be formed by revolving a 2D shape around a line (called the axis of revolution).
Computer – Aided Design Terminology You must have a generic understanding of commands and techniques which are used in a number of packages (YOU CANNOT.
3D Object Representations 2009, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
Engineering Geometry Engineering geometry is the basic geometric elements and forms used in engineering design. Engineering and technical graphics are.
3D Object Representations
3D Object Representation
Computer Aided Engineering Design
Lecture 27: Solid Modeling
ATCM 6317 Procedural Animation
Procedural Animation Lecture 4: Basic modeling methods
Three-Dimensional Object Representation
Work Features Work features are tools that help create and position features by providing points, lines, and planes when current geometry is not sufficient.
3D Object Representation
Work Features Work features are tools that help create and position features by providing points, lines, and planes when current geometry is not sufficient.
Three-Dimensional Figures
Find the following limit. {image}
Presentation transcript:

BREPS solids construction by surfaces of extrusion & revolution Gabriele Camellini CERN – PH-SFT – Geant4 team 20 October 2009 14th Geant4 Users and Collaboration Workshop, Catania, Italy, 15-22 October, 2009

OUTLINE Introduction B-Rep solids in Geant4 Surface of revolution Swept surfaces BREP Geant4 Linear extrusion Revolution Conclusion 2 OUTLINE Introduction B-Rep solids in Geant4 Surface of revolution Surface of linear extrusion Example Conclusions and extensions

B-Rep solids Boundary REPresentation Constructive model (CSG) Introduction Swept surfaces BREP Geant4 Linear extrusion Revolution Conclusion 3 B-Rep solids Constructive model (CSG) Boundary model (B-Rep) Boundary REPresentation Geometric entities: point, curve, surface Topological entities: vertex, edge, face (boundaried surface), edge_loop Elementary surfaces (plane, cylindrical s., …) Advanced surfaces (swept s., …)

(Generalized Cylinder) Introduction Swept surfaces BREP Geant4 Linear extrusion Revolution Conclusion 4 Swept Surfaces (Generalized Cylinder) Swept surfaces are generated by moving a 2D curve along a trajectory in 3D space. Curve can also change its shape and orentation during sweeping. Generalized cylinder is the shape generated when a 2D contour is swept along a 3D trajectory. Contour define the cross-section of the object. Trajectory is the axis of the object.

Surfaces of revolution & linear extrusion Introduction Swept surfaces BREP Geant4 Linear extrusion Revolution Conclusion 5 Surfaces of revolution & linear extrusion In the geometrical modelling, like Computer-Aided Desing, are commonly used only two kinds of generalised cylinders. These solids are obtained by extrusion or revolution of 2D contour. For define these solids it’s necessary use the corresponding surfaces. Definition of swpet surface by generic curves can generate a surfaces with inifinite extension. In this case, for generate a solids, is necessary trimming the surface along the swept direction and also should be limited the 2D curve by definition of the bounds.

G4BREPSolid is defined by a collections of boundaried surfaces Introduction Swept surfaces BREP Geant4 Linear extrusion Revolution Conclusion 6 BREP in Geant4 G4BREPSolid is defined by a collections of boundaried surfaces G4Surface G4Curve Boundaries Bounding box Intersection with a ray Point to surface distance Normal vector to surface 3D point & parameter value Bounds Bounding box Intersection 2D curve with a ray Tangent (curve-curve intersection) Plane , cylindrical, conical, toroidal, bspline, bezier Conics, line, Bspline, composite

Surface of linear extrusion Introduction Swept surfaces BREP Geant4 Linear extrusion Revolution Conclusion 7 Surface of linear extrusion It’s generated by a 2D contour swept along a segment of line. parametrization of the swept curve extrusion direction parametrization range In current implementation 2D swept curve is defined on a ortogonal plane to extrusion axis and need be closed z axis rapresents extrusion direction G4SurfaceOfLinearExtrusion (const &G4Curve curve, G4double length)

Surface of linear extrusion Introduction Swept surfaces BREP Geant4 Linear extrusion Revolution Conclusion 8 Surface of linear extrusion Bounding box the BB of the boundaried swept curve must be included the bounding box of the surface is extendend by including also the BB translated along the extrusion axis

Surface of linear extrusion Introduction Swept surfaces BREP Geant4 Linear extrusion Revolution Conclusion 9 Surface of linear extrusion Ray intersection 3D ray in local coordinate t > 0, |d| = 1 the ray is projected on the plane where is definend the base curve 2D ray – curve intersection is determined the 2D intersection distance is mapped easly to a 3D intersection distance, given the direction and the source point of the ray

Introduction Swept surfaces BREP Geant4 Linear extrusion Revolution Conclusion 10 Surface of revolution It’s generated by a 2D contour swept along a circular trajectory Equivalently the solid can be generated by rotation of the 2D contour around an axis. If the base curve isn’t closed (usual case), it’s alway possibile generate a solid by adding two circular planar surface for the bottom and the top of the solid.

Solid of revolution Bounding box is computed by extend the bounding box of the base curve with its replications on each semi-axis (x pos/neg, y pos/neg)

Surface of revolution Ray intersection Boundary Cylindrical Shell This allow to limit z interval The ray is “cylindrical proiected” on the plane that is swepted (cylindrical coordinate system x2+y2=r2) The image of the ray is not a ray but is a hyperbola The first intersection of the two curves is computed: (r0,z0) With z0 and ray equation we can obtain the 3D intersection point and the distance

G4BREP solids G4BREPSolidOfLinearExtrusion G4BREPSolidOfRevolution Inside operation generates a ray from the point and check if it intersects one of the surfaces

Example

Conclusions Actual implementation Linear extrusion for base curves Surfaces of revolution (not complete for bspline curves) Incoming Tangent computation for BSpline Alternative technique for compute ray - revolution surfaces intersection by binary subdivision of bo Future work Diagonal extrusion Conical extrusion Extrusion along an arbitrary curve Revolution suface limitated by phy section

BREPS solids construction by surfaces of extrusion & revolution END Thanks