# Surface continuity analysis

**URL:** <https://discourse.mcneel.com/t/surface-continuity-analysis/49621>\
**Category:** Serengeti (Rhino BETA)\
**Created:** [November 18, 2017, 12:13pm UTC](https://discourse.mcneel.com/t/surface-continuity-analysis/49621 "2017-11-18T12:13:41Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Toshiaki\_Takano](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/toshiaki_takano/32/483707_2.png) [@Toshiaki\_Takano](https://discourse.mcneel.com/u/Toshiaki_Takano)\
**Post date:** [November 18, 2017, 12:13pm UTC](https://discourse.mcneel.com/t/surface-continuity-analysis/49621/1 "2017-11-18T12:13:41Z")

</div>

Other than visual analysis using emap and zebra, is there way to check the continuity of two surfaces?  
gcon for curves, is there similar way for surface?

It’d be nice at least to know all the places where continuity is G0,G1, up to at G2 with edges highlighted similar to how naked edges are shown with show edges command.

---

<div class="post-metadata">

**Author:** ![jim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/jim/32/570126_2.png) [@jim](https://discourse.mcneel.com/u/jim)\
**Post date:** [November 18, 2017, 1:52pm UTC](https://discourse.mcneel.com/t/surface-continuity-analysis/49621/2 "2017-11-18T13:52:53Z")

</div>

> [@Toshiaki\_Takano](#):
>
> Other than visual analysis using emap and zebra, is there way to check the continuity of two surfaces?

Zebra is pretty effective way to analyze quality

> [@Toshiaki\_Takano](#):
>
> It’d be nice at least to know all the places where continuity is G0,G1, up to at G2

Join will tell you if two surfaces edges are G0. CrvDeviation will tell you where the max and min deviation are.

OffserSrf is a a good way to analyze G1 continuity. IF you offset 2 unjoined surfaces by 50 times the absolute tolerance and the resulting offset surfaces join then you know the surfaces are at least within 1 degree of G1. If you can offset by 500 times tolerance and join then the surfaces are tangent to at least 0.1 degree So if your tolerance is .01 mm and you can offset two unjoined surfaces by 5mm and join the result then the they are tangent to .1 degree

G2 continuity is mostly marketing bullshit. The idea is to make surfaces that look good. Surfaces can look good with or without G2 continuity and they can look bad with or without G2 continuity. In the enclosed file are these surfaces G2??  
[IsThisG2.3dm](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/f/2/f20ea2eb19b693bde7eef17b0f90c30e84fd7c83.3dm) (714.8 KB)

---

<div class="post-metadata">

**Author:** ![Lagom](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/lagom/32/767418_2.png) [@Lagom](https://discourse.mcneel.com/u/Lagom)\
**Post date:** [November 18, 2017, 9:50pm UTC](https://discourse.mcneel.com/t/surface-continuity-analysis/49621/3 "2017-11-18T21:50:03Z")

</div>

> [@Toshiaki\_Takano](#):
>
> Other than visual analysis using emap and zebra, is there way to check the continuity of two surfaces?

Hej Toshiaki,

there is no tool in Rhino that lets you click on common boundaries between surfaces to then see whether they are G0, G1 or G2 continuous and, if they are not, where the deviation is and how large it is. While matching surfaces or moving CPs to adjust them manually, all you unfortunately have at your disposal is the zebra and emap display.

The surfaces from the file are… well… G1,43702 ; )

 ![2017-11-18_2304](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/6/d/6d3629ae08e586266f447f2a9d52ebff4ce986f7.png)

---

<div class="post-metadata">

**Author:** ![jim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/jim/32/570126_2.png) [@jim](https://discourse.mcneel.com/u/jim)\
**Post date:** [November 18, 2017, 10:38pm UTC](https://discourse.mcneel.com/t/surface-continuity-analysis/49621/4 "2017-11-18T22:38:04Z")

</div>

> [@Lagom](#):
>
> The surfaces from the file are… well… G1

Yes, they are G1, but if those surfaces were on a manufactured part nobody would be able to find where the surface boundaries are even with the most sophisticated CMM equipment

---

<div class="post-metadata">

**Author:** ![Lagom](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/lagom/32/767418_2.png) [@Lagom](https://discourse.mcneel.com/u/Lagom)\
**Post date:** [November 19, 2017, 1:20am UTC](https://discourse.mcneel.com/t/surface-continuity-analysis/49621/5 "2017-11-19T01:20:06Z")

</div>

It’s not about finding. It’s about seeing.

---

<div class="post-metadata">

**Author:** ![Toshiaki\_Takano](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/toshiaki_takano/32/483707_2.png) [@Toshiaki\_Takano](https://discourse.mcneel.com/u/Toshiaki_Takano)\
**Post date:** [November 19, 2017, 1:58am UTC](https://discourse.mcneel.com/t/surface-continuity-analysis/49621/6 "2017-11-19T01:58:23Z")

</div>

Thank you for your tip in using different tools.

I guess this would be go to wish for V7.  
Faster numerical analysis in addition to zebra would  
help.

It’d be like a naked edge finding is useful, as there is no need to check whether surfaces joins, or other way to find out.

Extracting isocurve the doing gcon would give continuity of a curve, was wondering if similar can  
be done to check surface continuity.

of course, along with zebra.

---

<div class="post-metadata">

**Author:** ![Toshiaki\_Takano](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/toshiaki_takano/32/483707_2.png) [@Toshiaki\_Takano](https://discourse.mcneel.com/u/Toshiaki_Takano)\
**Post date:** [November 19, 2017, 2:02am UTC](https://discourse.mcneel.com/t/surface-continuity-analysis/49621/7 "2017-11-19T02:02:26Z")

</div>

すThank you lagom.

I wonder if anyone else wants this kind of feature…  
I’m not making automotive parts but if I make some tooling I really need to look into it more.  
Currently I’m doing lost wax things and parts will get sanded down and polished so continuity is not critical  
as long as it looks fine in the renders. Definitely something I need to pursue.

Totally for depending on plugins for surfaces like Xnurbs or others, but need to learn the fundamentals…

---

<div class="post-metadata">

**Author:** ![Toshiaki\_Takano](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/toshiaki_takano/32/483707_2.png) [@Toshiaki\_Takano](https://discourse.mcneel.com/u/Toshiaki_Takano)\
**Post date:** [November 19, 2017, 10:04am UTC](https://discourse.mcneel.com/t/surface-continuity-analysis/49621/8 "2017-11-19T10:04:25Z")

</div>

@jim and @Lagom

I guess it’s these kinks in the zebra stripes that makes it not as flowing as one might need?

 ![image](https://global.discourse-cdn.com/mcneel/original/3X/1/f/1fbf69a8860a51d64b1507a220c52077f691d551.jpg)  
Tho yes, I get your point, jim, that G1 would be adequite in most cases. I think I can probably live with G1s in most cases,  
probably more importantly may be how the surfaces are made and not just the how edges are connected.

At least for me I feel I need to “investigate” the surface and not just turn on stripes and look a bit to see  
how the surface transition goes… just a quick tool would be nice. Maybe after few more months I can get a better sense of using it…

Was also thinking if the curvature analysis tool would help…though I guess with G1 connected surfaces it seems you can’t really see the transition well…

---

<div class="post-metadata">

**Author:** ![Lagom](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/lagom/32/767418_2.png) [@Lagom](https://discourse.mcneel.com/u/Lagom)\
**Post date:** [November 19, 2017, 11:16am UTC](https://discourse.mcneel.com/t/surface-continuity-analysis/49621/9 "2017-11-19T11:16:13Z")

</div>

> [@Toshiaki\_Takano](#):
>
> I wonder if anyone else wants this kind of feature

It depends on the business sector you’re in, on the type of clients you work for.

Rhino is a NURBS surface modeller, so it should contain tools that offer **interactive control features** that help the user manipulating the **shape** and **continuity** of surfaces accurately.

 ![Skärmbild_2017-11-19_1214](https://global.discourse-cdn.com/mcneel/original/3X/8/6/867e2a72ea735146ed9f5ba161fe15a944464e4f.png)

---

<div class="post-metadata">

**Author:** ![jim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/jim/32/570126_2.png) [@jim](https://discourse.mcneel.com/u/jim)\
**Post date:** [November 19, 2017, 12:54pm UTC](https://discourse.mcneel.com/t/surface-continuity-analysis/49621/10 "2017-11-19T12:54:24Z")

</div>

> [@Lagom](#):
>
> It’s not about finding. It’s about seeing.

If the curvature discontinuity in this file [IsThisG2.3dm](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/0/f/0f6a96cc8d29213e3365e786de73590be340792a.3dm) (843.2 KB) is so easy to see then why do you ask for better tools to help you find such curvature discontinuity??

BTW, In Rhino the tool that will interactively show you where the curvature jumps are is called CurvatureGraph

> [@Toshiaki\_Takano](#):
>
> yes, I get your point, jim, that G1 would be adequite in most cases.

That wasn’t the point. Using G2 continuity can make a better looking model but can also make things uglier. The same could be said for G1 continuity.

---

<div class="post-metadata">

**Author:** ![Toshiaki\_Takano](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/toshiaki_takano/32/483707_2.png) [@Toshiaki\_Takano](https://discourse.mcneel.com/u/Toshiaki_Takano)\
**Post date:** [November 19, 2017, 1:14pm UTC](https://discourse.mcneel.com/t/surface-continuity-analysis/49621/11 "2017-11-19T13:14:31Z")

</div>

> [@jim](#):
>
> That wasn’t the point. Using G2 continuity can make a better looking model but can also make things uglier. The same could be said for G1 continuity.

Sorry for the wrong interpretation…  
Also I’ll use curvaturegraph more often with zebra to check any bumps.

---

<div class="post-metadata">

**Author:** ![Lagom](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/lagom/32/767418_2.png) [@Lagom](https://discourse.mcneel.com/u/Lagom)\
**Post date:** [November 19, 2017, 2:31pm UTC](https://discourse.mcneel.com/t/surface-continuity-analysis/49621/12 "2017-11-19T14:31:52Z")

</div>

> [@jim](#):
>
> In Rhino the tool that will interactively show you where the curvature jumps are is called CurvatureGraph

Please show me two surfaces, G0 along the common boundary (with CPs shown, ready for interactive matching to G1) and now bring CurvatureGraph into the game - how does it help making one surface G1 to the other? I’m all for learning things I have missed so far. Please find attached an STP file of a typical situation: a corner with three unequal setbacks, later to be executed in ABS to SPI A-2 (Grade #6).

[Corner with unequal setbacks.3dm](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/8/5/858274d75c118faa819bd094290e3aeae04e7241.3dm) (314.3 KB)

Thanks in advance!

PS: Result

 ![Skärmbild_2017-11-19_1556](https://global.discourse-cdn.com/mcneel/original/3X/5/5/55d7b622b93acb0539942d45ab84b815ce8399d2.png)

---

<div class="post-metadata">

**Author:** ![anon55473861](https://avatars.discourse-cdn.com/v4/letter/a/34f0e0/32.png) [@anon55473861](https://discourse.mcneel.com/u/anon55473861)\
**Post date:** [November 19, 2017, 2:37pm UTC](https://discourse.mcneel.com/t/surface-continuity-analysis/49621/13 "2017-11-19T14:37:51Z")

</div>

[here](https://discourse.mcneel.com/t/curvature-graph-improvements-for-surfaces/1576) a thread where this was mildly discussed i believe there are a few more.

curvaturegraph is only visually and a mess of course. but history with curvaturegraphs set on input curves to control the surface works at least visually. probably a mild comfort for a real matching situation, since a dynamic isocurve CurvatureGraph would be more likely what is needed.

 ![55](https://global.discourse-cdn.com/mcneel/original/3X/b/7/b73d478d991db98231c5a03ef1956e02fbf04da2.png)

there is no numeric solution as far as i believe, but maybe PointDeviation could be enhanced, if it would have the ability to analyse the continuity as an option. it would work numerically at least and would not be very far from what is needed.

---

<div class="post-metadata">

**Author:** ![davidcockey](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/davidcockey/32/771921_2.png) [@davidcockey](https://discourse.mcneel.com/u/davidcockey)\
**Post date:** [November 19, 2017, 3:26pm UTC](https://discourse.mcneel.com/t/surface-continuity-analysis/49621/14 "2017-11-19T15:26:30Z")

</div>

[quote=“RichardZ, post:13, topic:49621”]  
here is no numeric solution as far as i believe  
[/quote]Numeric solution for ???

---

<div class="post-metadata">

**Author:** ![anon55473861](https://avatars.discourse-cdn.com/v4/letter/a/34f0e0/32.png) [@anon55473861](https://discourse.mcneel.com/u/anon55473861)\
**Post date:** [November 19, 2017, 3:33pm UTC](https://discourse.mcneel.com/t/surface-continuity-analysis/49621/15 "2017-11-19T15:33:10Z")

</div>

> [@davidcockey](#):
>
> Numeric solution for ???

for a surface equivalent to this **??? !!!**

**Command: GCon**  
Curve end difference = 0.00 millimeters  
Radius of curvature difference = 459.10 millimeters  
Curvature direction difference in degrees = 64.05  
Tangent difference in degrees = 0.00  
Curves are G1.

🤨

---

<div class="post-metadata">

**Author:** ![jim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/jim/32/570126_2.png) [@jim](https://discourse.mcneel.com/u/jim)\
**Post date:** [November 19, 2017, 3:45pm UTC](https://discourse.mcneel.com/t/surface-continuity-analysis/49621/16 "2017-11-19T15:45:45Z")

</div>

> [@Lagom](#):
>
> Please show me two surfaces, G0 along the common boundary (with CPs shown, ready for interactive matching to G1) and now bring CurvatureGraph into the game - how does it help making one surface G1 to the other?

My comment about curvaturegraph revealing where the curvature jumps are was in regard to the model I posted.

I assume you are talking about manually editing surface control points to modify the surfaces so that they are tangent. There isn’t anything designed for that purpose. Personally, I would welcome something that does that, but I think there are very few Rhino users interested in manually matching surfaces for continuity.

---

<div class="post-metadata">

**Author:** ![Lagom](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/lagom/32/767418_2.png) [@Lagom](https://discourse.mcneel.com/u/Lagom)\
**Post date:** [November 19, 2017, 4:01pm UTC](https://discourse.mcneel.com/t/surface-continuity-analysis/49621/17 "2017-11-19T16:01:18Z")

</div>

> [@jim](#):
>
> there are very few Rhino users interested in manually matching surfaces for continuity

That’s too bad, really, because the information is surely there somewhere in the bowels; it would just need an interactive display of it, while matching or manually manipulating CPs. Then one could use Rhino for many top-tier clients and reduce SolidWorks or Alias billing hours.

---

<div class="post-metadata">

**Author:** ![davidcockey](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/davidcockey/32/771921_2.png) [@davidcockey](https://discourse.mcneel.com/u/davidcockey)\
**Post date:** [November 19, 2017, 4:29pm UTC](https://discourse.mcneel.com/t/surface-continuity-analysis/49621/18 "2017-11-19T16:29:25Z")

</div>

> [@RichardZ](#):
>
> Command: GCon
> 
> Curve end difference = 0.00 millimeters
> 
> Radius of curvature difference = 459.10 millimeters
> 
> Curvature direction difference in degrees = 64.05
> 
> Tangent difference in degrees = 0.00
> 
> Curves are G1.

A report on surface continuity along a pair of surface edges could report:

```
Surface edge difference

Radius of curvature (or curvature) difference in direction normal to the edge

Radius of curvature (or curvature) difference in direction tangent to the edge

Edge tangent difference normal to the edge in degrees

Edge direction normal to the surfaces in degrees

```

The math to calculate these quantities is straight forward.

---

<div class="post-metadata">

**Author:** ![anon55473861](https://avatars.discourse-cdn.com/v4/letter/a/34f0e0/32.png) [@anon55473861](https://discourse.mcneel.com/u/anon55473861)\
**Post date:** [November 19, 2017, 6:48pm UTC](https://discourse.mcneel.com/t/surface-continuity-analysis/49621/19 "2017-11-19T18:48:47Z")

</div>

> [@davidcockey](#):
>
> The math to calculate these quantities is straight forward.

how would you calculate it? without having some computational maths studied i am not sure if i can say the same for myself.. if you want to explain that in a tiny nutshell as a starter that would be interesting. i still remember that there are explicit and parametric forms, explicit on simple linear calculations i think like circles spheres or flat surfaces, parametric for more complex geometry which probably would be needed i this case.

i tried some nurbs books a year ago but i havent touched them since they are a bit intense without education in this field. so if you want to explain that be sure its in a crystal clear nutshell with a refractive index of vacuum 🙃

> [@davidcockey](#):
>
> Surface edge difference
> 
> Radius of curvature (or curvature) difference in direction normal to the edge
> 
> Radius of curvature (or curvature) difference in direction tangent to the edge
> 
> Edge tangent difference normal to the edge in degrees
> 
> Edge direction normal to the surfaces in degrees

yes for example, i would add the conclusion if its continuous according to the classification.

---

<div class="post-metadata">

**Author:** ![digiformer](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/digiformer/32/71917_2.png) [@digiformer](https://discourse.mcneel.com/u/digiformer)\
**Post date:** [November 24, 2017, 2:53pm UTC](https://discourse.mcneel.com/t/surface-continuity-analysis/49621/20 "2017-11-24T14:53:26Z")

</div>

Hi, everybody,

every time someone asks how to improve the quality of his model by means of G2 / G3 transitions, people quickly appear who want to talk the interested parties out of curvature continuous modelling because of the too much effort. It is claimed that G2 is exaggerated. For me, however, the statement that G2 is “marketing bullshit” actually marks the hitherto best of the false statements on this subject.

From the design point of view, a G2 transition never has disadvantages compared to a G1 transition. G1 will always leave a visible light edge in the model.  
In the production process, however, there may be reasons to build only G1.  
For example, if you use a tool that absurdly increases the time required for G2.  
Or if your own skills are not sufficient to create the model in the required time.  
Or if the design model is rebuilt by engineers who lack tools or skills.

Everyone using normal tools in Rhino should be able to tell the insufficient quality of the model surface provided in “IsThisG2.3dm”. Even the simple matte white shader shows the problems. This model actually shows pretty good, what G1 actually gives you.These “features” would appear in the end product for sure. It does not matter whether the surface will be high-gloss or matt.

I know I used hard words here. But I think I’ve stayed objective. Please do not regard my words as an attack, but as a request to look at the subject again from the points of view outlined here.

But pictures are known to say more than a thousand words, therefore the analysis of surfaces in “IsThisG2.3dm” as images.

First of all: a real-life example of the painful, widespread result of ignored curvature continuous edge processing.

 ![07_G1_realLife](https://global.discourse-cdn.com/mcneel/original/3X/6/e/6ef1abd1174ee29a2ed86168659e73cbcc2b1b38.jpg)

Now the model. Check how the faults appear exactly at the G1 surface transitions…

 ![01_Zebra](https://global.discourse-cdn.com/mcneel/original/3X/d/9/d941b90ef8fc9d3072a01e905f4c26806615a4bd.png)  
 ![02_Zebra Arrows](https://global.discourse-cdn.com/mcneel/original/3X/6/3/6312a11e4443b6a958a4974bc465f7567d8f6d7e.png)  
 ![03_Zebra Arrows Wire](https://global.discourse-cdn.com/mcneel/original/3X/7/7/77cc39c5f3e8fd2b983f3be3ed0bfe6b97d74c67.png)  
 ![04_Punk](https://global.discourse-cdn.com/mcneel/original/3X/7/8/7828881cf01ba833ac5b65f3142250058cb59288.png)  
 ![05_rendered_matt_white](https://global.discourse-cdn.com/mcneel/original/3X/5/c/5cf5421032894f4581637f6d945467609181fb91.png)  
 ![06_rendered_matt_white_wired](https://global.discourse-cdn.com/mcneel/original/3X/0/a/0ae3505ddc4b2e9bc8e79493cc9a95740c08b914.png)

[Next page](https://discourse.mcneel.com/t/surface-continuity-analysis/49621.md?page=2)
