1 Edgar L. Coffey Applied Research Associates, Inc. November 14, 2006 Advanced Features
Dec 29, 2015
2
New SmartView Features/Tools
• Decimation
• Tessellation
• Rotate/Translate/Scale
• Whole-Object Smoothing
• Copy/Paste
• Error/Integrity Checking
• Model Editing
3
Decimation – Simplifying the Model
• 3 methods implemented– Remove common edge– Remove redundancies– Remove common point
• User directs execution– Methods are independent– Visual feedback
• Preserves original model– Always revert to original– Must commit to keep
decimation
4
Decimation by Removing Common Edge
We can safely remove an edge common to two polygons if:
• The edge’s wedge angle is less than Max. Wedge Angle.
• Removing the edge doesn’t cause new surface to deviate from the old by more than the surface tolerance.
5
Decimation by Removing Redundancies
We can safely remove a point connecting parallel lines if:
• Removing the point doesn’t cause new line to deviate from the old by more than the Edge Tolerance.
6
Decimation by Removing Common Points
We can safely remove a point common to several polygons if:
• Removing the point doesn’t cause new surface to deviate from the old by more than the Surface Tolerance.
8
Tessellation – Re-faceting the Model
• Each poly is divided into many, according to the Edge Length parameter.
• A poly’s Mesh Factor influences the fineness of the mesh.
• New mesh retains edge connectivity.
• Each poly’s mesh can be smoothed for better model integrity.
13
Rotation, Translation and Scaling
• Transform steps:– Scale model– Rotate as specified– Transform as specified
• Make multiple copies• Use selection only• Preserve original model
– Always revert to original– Must accept to keep
14
Creating a Helix Array from One Point
• Steps to create figure– Create point at (0.1,0,0).– Transform point once.
• Rotate RZ 20°• Translate Δz = 0.01 m
– Make wire between the two points.
– Transform model 100x to make first spiral
• Rotate RZ 20°• Translate Δz = 0.01 m
– Translate model once to make 2nd spiral: Δx = 0.6 m
– Translate model once to make 3rd/4th spirals. Δy = 0.6 m
– Save model (404 segments)
15
Whole-Object Model Smoothing
• Smooth mesh across entire model– Selection only option– Laplace smoothing– Select iterations– Apply fraction of force– Stop when converged
• Repeatedly apply– Visual feedback
• Too much smoothing will shrink model!!!– Use fixed points– Use selections
18
SmartView Error and Integrity Checking (1)
• SmartView can check the validity of your model via a set of integrity measures.– Mesh, patches,
segments, junctions, connections.
• Upon completion, the model will be colored green/yellow/red for ok/warning/error.
23
Editing Methods in SmartView
• Menus/Dialogs/User entry– Works in all view modes– Some actions require selections– Add, delete, modify points and polys
• Mouse commands/popup actions– Works only in edit mode– Contextual popup menus define actions– Add, delete, modify points and polys– Higher order actions depending on context
• Combine adjacent polys into one poly• Split a poly into two polys• Split an edge into two or three edges
25
Deleting Elements from the Menu
Point/poly number automatically increments for user’s convenience.
30
Mouse Actions in Edit Mode (4)
• Context-Sensitive Action List– Close– Delete Selection– Fix Points (make immovable)– Unfix Points– Remove Redundant Points– Combine Polys– Split Poly– Create Poly from Points– Split Edge X2– Split Edge X3– Flip Normals– Add Point on PolyRight click on selection
33
Advanced Feature Demonstration
• Multiple models– Read them into memory– Switch between models– Copy and paste between models
• Simple editing – File → Edit options– Build the 4-helix antenna array
• Decimation• Tessellation• Advanced Editing
– Edit mode editing– Mouse actions– Add/modify/delete– Surface crawls
• Error Checking– F-16 demonstration– Error/integrity parameter review
34
SmartView Advanced Hands-On (2)
• Editing practice – Make the four-helix array on slide #14
• Decimation practice– Decimate CrusaderTri.pnt– In SV/examples/Decimation/Crusader
• Tessellation practice– Tessellate your decimated Crusader– Use a mesh size of 0.1 m
35
SmartView Advanced Hands-On (2)
• “Fix” the F-16 model in f16.pnt– Just do one half (other is symmetric)– Copy f16.pnt to something else!– Use the Error mode to find problems
• Reversed normals• Disconnected polygons• Polygon areas too big
– Use Tools → Revisualize Model– Don’t forget to save often!