Schloss Dagstuhl, September 2014 Shape Representation Carlo H. Séquin University of California, Berkeley Slicing Less than Perfect B-Reps and the Winding-Number.

Slides:



Advertisements
Similar presentations
Thee-Dimensional Figures and their representations
Advertisements

COMP 175 | COMPUTER GRAPHICS Remco Chang1/6103b – Shapes Lecture 03b: Shapes COMP 175: Computer Graphics February 3, 2015.
CS 450: COMPUTER GRAPHICS FILLING POLYGONS SPRING 2015 DR. MICHAEL J. REALE.
Computational Topology for Computer Graphics Klein bottle.
Rüdiger Westermann Lehrstuhl für Computer Graphik und Visualisierung
CS447/ Realistic Rendering -- Solids Modeling -- Introduction to 2D and 3D Computer Graphics.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 9 3D Modeling.
Asst. Prof. Yusuf Sahillioğlu
2003 by Jim X. Chen: Introduction to Modeling Jim X. Chen George Mason University.
Polygonal Mesh – Data Structure and Smoothing
CHS UCB CS285 Designing Viae Globi (Roads on a Sphere) Carlo H. Séquin University of California, Berkeley Inspired by Brent Collins Gower, Missouri.
12/06/00 Dinesh Manocha, COMP258 Solid Modeling CSG (Constructive Solid Geometry) Representations: A set theoretic Boolean expression of primitive solid.
Representation Issues in Data Exchange for RP-LM Sara McMains U.C. Berkeley.
IE433 CAD/CAM Computer Aided Design and Computer Aided Manufacturing Part-4 Computer Graphics- CAD Software Industrial Engineering Program King Saud University.
Complex Model Construction Mortenson Chapter 11 Geometric Modeling
Visualization and graphics research group CIPIC January 21, 2003Multiresolution (ECS 289L) - Winter Surface Simplification Using Quadric Error Metrics.
3-D Modeling Concepts V part 2.
V part 2 Obtained from a Guildford County workshop- Summer, 2014.
Modeling and representation 1 – comparative review and polygon mesh models 2.1 Introduction 2.2 Polygonal representation of three-dimensional objects 2.3.
ME110- Introduction to CAD Craig R. Ronald Hylan 303.
Layered Manufacturing of Thin-Walled Parts Sara McMains, Jordan Smith, Jianlin Wang, Carlo Séquin UC Berkeley.
By: Emily Spoden. Trapezoid I’m a quadrangle that always has one pair of parallel lines.
1-7 Three Dimensional Figures
Mesh Representation, part I
Geometric Perspectives. Everything has a name… Face Corner (Vertex) Edges.
COMPUTER AIDED DESIGN -(CAD)-3
The Geometry of Solids Section 10.1.
TECH 104 – Technical Graphics Communication Week 13: 3D Modeling Basics.
Polygon Modelling. 3D Representation Wire frame NURBS surface Solid Voxel Mesh.
Disediakan oleh Suriati bte Sadimon GMM, FSKSM, UTM, 2004 SOLID MODELLING.
HomeWork 2 Solution Chen Zhanqing.
Look at page 193 in your explorations book. Ignore the letters--they are not used for this. Each figure is made up of 5 squares that may or may not be.
Geometric Modeling. Volumetric o Collection device obtains regular grid of measurement values Examples: CT, MRI, PET, Ultrasound o Values are interpreted/visualized.
Geometry Objectives Identify a three- dimensional object from two- dimensional representations of that object and vice versa Given a.
Identifying 3-D Figures Lesson 12 – 7. Vocabulary Three Dimensional (3 – D) Figure: Shapes that have a length, width, and depth/height Face – a flat surface.
Three-Dimensional Solids Polyhedron – A solid with all flat surfaces that enclose a single region of space. Face – Each flat surface of the polyhedron.
Visual Computing Geometric Modelling 1 INFO410 & INFO350 S2 2015
Surface Areas 8.7 Surface Area.
Unit 6 3D Modeling Concepts
Geometric Modeling How to design a graphical model? How to create a digital description of a real-world object? Design Digitize.
Schloss Dagstuhl, September 2014 Shape Representation Carlo H. Séquin University of California, Berkeley “LEGO Knot” and an Optimization Problem in a High-Dimensional.
Chapter Area, Pythagorean Theorem, and Volume 14 Copyright © 2013, 2010, and 2007, Pearson Education, Inc.
University of California, Berkeley
Ch 12 and 13 Definitions. 1. polyhedron A solid with all flat surfaces that enclose a single region of space.
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.
Section 12-1 Exploring Solids. Polyhedron Three dimensional closed figure formed by joining three or more polygons at their side. Plural: polyhedra.
What is an STL file To get your model printed you will need to send us an stl file. This is a file format created to take the complexity out of a CAD model.
Solid Modeling Dr. Scott Schaefer.
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).
Three-dimensional figures, or solids, can be made up of flat or curved surfaces. Faces– the polygons that make the polyhedron Edges– A line segment formed.
Slide 1Lecture Fall ‘00 Surface Modeling Types: Polygon surfaces Curved surfaces Volumes Generating models: Interactive Procedural.
Manufacturing Process II
TECH 104 – Technical Graphics Communication Week 12: 3D Modeling Basics.
CS 39R Single-Sided Surfaces EECS Computer Science Division University of California, Berkeley Carlo H. Séquin.
12.1 Exploring Solids Geometry. Defns. for 3-dimensional figures Polyhedron – a solid bounded by polygons that enclose a single region of shape. (no curved.
11.1 Notes Space Figures and Cross Sections. Identifying Nets and Space Figures A polyhedron is a 3-dimensional figure whose surfaces are polygons. -
3-D Modeling Concepts V part 2.
Computer graphics 3D solid modeling.
3-D Modeling Concepts V part 2.
Unit 11: 3-Dimensional Geometry
POLYGON MESH Advance Computer Graphics
Unit 11: 3-Dimensional Geometry
Craig Schroeder October 26, 2004
3-D Modeling Concepts V part B.
10-1 Vocabulary Face Edge Vertex Prism Cylinder Pyramid Cone Cube Net
Geometric Solids All bounded three-dimensional geometric figures. Examples: Sphere, Cylinders, Cubes, Cones, Pyramids, and Prisms.
Geometric Solids All bounded three-dimensional geometric figures. Examples: Sphere, Cylinders, Cubes, Cones, Pyramids, and Prisms.
3-D Modeling Concepts V part 2.
3-D Modeling Concepts Part 2.
Presentation transcript:

Schloss Dagstuhl, September 2014 Shape Representation Carlo H. Séquin University of California, Berkeley Slicing Less than Perfect B-Reps and the Winding-Number Paradigm

Discussion Points: Shape representation issues at the start and conclusion of designing RP models u Focus on HCI difficulties and CAD problems, at the start and end of a design / modeling project: u How to get started?  How to get your ideas into the CAD system. u How to finish?  How to get your model properly 3D printed.

Recent Designs and Models “Evolving Trefoil” Double-Boy Klein Bottle 4-dimensional 120-Cell “Inverted double-sock” Klein bottle

Discussion Topic #2: Start: Concept Input u Interactive Inverse 3D Modeling Finish: Obtaining Tangible Output u Slicing Imperfect.STL files

Making Plastic RP Models 3D model of the regular 4-dimensional 120-Cell

Acceptable Model Files u The STL file should be a proper watertight 2-manifold, with no cracks or intersecting faces. u All faces should have their normals point outwards, i.e., away from material. u In this boundary mesh every edge should be used exactly twice, once each in opposite directions.

An Actual Model of the 120-Cell u Based on the way it is constructed, such a model may look quite differently. u My model was formed by projecting all edges from 4D to 3D, and then replacing each edge with a prism of reasonable diameter, so that a robust model results. u But then we do not get a manifold B-Rep ! At every vertex there are 4 intersecting prisms, plus, perhaps, an additional sphere! u (And for the 600-Cell there would be 12 cylinders!) u How does an RP machine handle such a file ?

“Tetra-Boy Surface” A single-sided, non-orientable surface of genus 4

Klein Bottle from Mirrored Boy-Caps Polyhedron Subdvision Gridded

STL-File in QuickSlice (Stratasys 1650) Front view Top View

And Things Can Get Much Worse! u Slicing the gridded “TetraBoy” surface: The.STL file displayed by QuickSlice “Looks OK” The.SSL slices generated by QuickSlice: Lots of stuff missing!

One of Many Bad Layers many missing struts incomplete features

Model Clean-up Ideally all models should be cleaned up … u But general 3D Model Clean-up is very hard !!! u I don’t know of any program that can do this, even for only “moderately flawed” models.

QuickSlice Idiosyncrasies What happens at overlapping / intersecting contours? u Slices every facet individually, ignoring orientation. u Re-constructs contours by joining line segments. u In general, uses an XOR “in/out” definition. u Flips contour orientation “if it seems to help”... l On concentric circles the inner contour is flipped. l On overlapping circles no flip is introduced; but a void then occurs in overlap area. But: Slicing programs could do a better job, with a quite simple approach...

“Bad”.STL Files If they come from a CAD tool, errors are not random: u NOT: randomly missing triangles u NOT: randomly mis-oriented faces u More likely: overlapping “legal” parts: u Unexecuted Booleans: mostly unions, since this works fine for graphics displays. u Possibly self-intersecting sweeps, e.g. in tight knots or in Klein bottles. u Very likely, the facet orientation is trustworthy...  Let’s use this information properly!

2D Model Interpretation Intelligent 2D model clean-up is easy: Use The Winding Number Paradigm ! u Slice all triangles; u Use facet normals to produce oriented line segments (CCW contours around inside material.) u Define “inside” with positive winding numbers. u Overlapping parts produce winding numbers > 1.

Review of Winding Number u Defined only for closed curves (in the plane). u Defined with respect to a (sample) point. u Evaluation along scan-line with up-down counter.

Why Is This a Good Thing? u Implicit assumption is that designer wants Boolean union or (simple = 1 level) difference. Positive winding numbers means: inside. Negative winding numbers get ignored. u Simple overlapping parts will be union-ed together!

Works Even with Negative Inside Contours u OK to have hollow parts with clockwise contours inside; This guarantees proper subtraction by winding number.

Urgent Plea... Please use your influence to promote the Winding Number Paradigm! A lot of headaches with slicing software will then disappear!

Discussion !

½ of “Evolving Trefoil”