Patchy Patch

Patchy Patch

MichaelT_123
Advisor Advisor
1,333 Views
3 Replies
Message 1 of 4

Patchy Patch

MichaelT_123
Advisor
Advisor

Hi TF360,

 

I haven’t finished with edgy profiles and boooom … patchy patches have had showed out!

Please find attached file. It is the ‘excerpt’ from the real thing. It needed a lot of trimmings to be comprehensible, however, the mischievous spirit still lingers there.

You see two categories of patches in two different colors (really patches have been thickened to show colors)

  • <Green_?> denotes as I consider ‘healthy’ patches which I like a lot
  • <Red_?>     marks ‘unhealthy’ ones, not my favorites at all

The question is why they are different. Well, although they are defined by the same (or topologically similar because of symmetries) profiles/boarders their shapes are different. The latter depends upon the order of curves selection!  Just check yourself…

It is not right, is it?

So, my question is… TF360, can you patch the patch?

On the nicer note, I must add that F360 has no problems with squares and even rectangles.

Currently, I consider to switch to triangles, we see what will happen?

#####

By the way, I have forgotten to mention that all patches both healthy and unhealthy when created via API ( as in case of the real thing) do not show any illness but HealthyFeatureHealthState.

  

 

Sincerely

MichaelT

 

PS.

I have some additional patches’ problems involving ones defined by splines,… but for now, I constrain them to myself 😉

MichaelT
0 Likes
1,334 Views
3 Replies
Replies (3)
Message 2 of 4

JamieGilchrist
Autodesk
Autodesk

Hi MichaelT,

 

I'm not really clear on what you're trying to do here.  But I think for your diamond shaped sketches patch is the wrong tool, you probably want to use loft to get the results you want.  The Patch tool is much more suited for "regular" n-sided boundaries and maintaining a contiguous surface flow.  in your particular case where the adjoining curves have a sharp inflection point the Fusion is trying to hold some continuity of the patch and, technically can do it, but the surface gets tortured into a poor result.  Here I've used the loft tool gotten a much better result (which is what I think you're going for here).  I've attached my modifications here as well.

Screen Shot 2018-07-18 at 11.28.04 AM.png

hope this helps,


Jamie Gilchrist
Senior Principal Experience Designer
Message 3 of 4

MichaelT_123
Advisor
Advisor

 

Hi Mr. Gilchrist,

 

 Unfortunately, I was not able to open your file, while getting the message:

‘Fusion 360 is unable to open Untitled ….’

This is the minor issue though, as I have sensed that you have had no grasp of what I was trying to convey in my post. My bad… I should put it clearer!

So, let me improve on myself. Here is the screencast ( ), which I hope will refine the issue… well issues, as there seem to be more than one. I am using the same file I attached to my previous post. I have deselected all bodies but Body15 and Body17 and also made sketch <_shell_L> visible. Please also note that the existing patch features were created within <BaseFeature>, but it seems does not matter.

 

This is the base issue. (very serious)

As you can see the patches’ generated from the same set of curves have different shapes and some are clearly faulty. In the real scenario, it happens intermittently but consistently on a given segments set input. In this particular real thing, the frequency is ~ 5/400.

 

This is the second issue. (still considered very serious)

When I look at wrinkles of supposedly correct patches, they remind me ones on my grumpy face. I can tell you. It is not a pleasant view. Mind you, we are talking about the quad patch (4 connected straight-line segments). It can be dissected into two triangular patches… the exercise conducted many times in Japanese kindergarten origami classes with consistent results. You mentioned the creation of continuity between the two. Well without defining boundary conditions, it is not possible as there is no such information to be based on in pure 4-points topology. One can apply some external arbitrary conditions (e.g. as an external joined surface), but where they are? Regarding the lofting, … there are two main choices (and more minor ones), which pair of segments to choose from. In general, such lofts will produce different surfaces. It is also expensive computationally and serve different purposes (although this strategy could be and should be presented in patch dialog box or API). There are some other strategies as per differential geometry or manifold theories, but they also require some assumptions and choices selections. The only one semi-deterministic (and fast) way (for quad-patch) is its triangulation (two choices). I must admit, that I was lazy selecting quads as the main data structure, thinking that F360 will do the rest of the job for me. My bad …

The example file of lofting quad-patch attached.

 

This is the third issue. (cannot be more serious)

As I mentioned in my earlier post, the patch generation process was done via API. I have noticed no feedback about any fault from the patch generating internal algorithm. This is against established good practices of building any software system (unless there is an auto-switch to a recovery path).

 

This is the fourth issue. (Treat it with some sense of grumpyhumorderstanding )

I imagine that the current handling of patch feature is deeply embedded, cherished F360 core’s algorithm. If I would judge, how it was handling quad-patch process I would say “It is not total rubbish”, certainly it is not. It can be recycled by reusing:  def  &  return.

 

This is the fifth issue. (...with wishes of success)

On final note Mr. Gilchrist, … I know that such posts can be quite jittery for recipients, so please do not take it personally. This is not my aim nor the intention. Just please, get to the bottom of the issue and fix it.

 

With Regards

MichaelT

 

PS.

In the meantime, I will switch to triangles …

Discussing spline bordered patches at this stage would be …. premature.

 

 

 

 

 

 

 

 

 

MichaelT
0 Likes
Message 4 of 4

TrippyLighting
Consultant
Consultant

The patch tool creates what is known in surfacing as a draped surface. In essence it is a rectangular patch ( as all nurbs patches are) that is draped not unlike a stiff table cloth over the shape you have defined by selecting the sketch elements. I am assuming that the number of NURBS control points is determined by the modeling kernel.

It is normal that orientation and shape are determined by the sequence of selection.

 

I've take your model with healthy and unhealthy patches into another software that allows to visualize the NURBS control point distribution of such a patch created in Fusion 360. You will notice that the NURBS mesh of the  healthy patch closely resembles that of an unhealthy patch. The way NURBS surfaces are created is that the rectangular patch is trimmed in a second internal step. For the unhealthy patches that seems to be what has failed and might actually expose a bug in the modeling kernel or in the API or both.

 

 

image.png

 

Your interesting API experiments clearly enter uncharted territory in Fusion 360 and it would not be surprising to come across bugs.

 

That brings us to @JamieGilchrist comment that this might not be the right tool for what you want to accomplish, which you still have not answered. The control point density makes this a very "heavy" 3 degree NURBS surface with several hundred control points that naturally  requires a large data structure and also more computational resources to calculate and display the surface.

If, for example you would use a loft between two opposite sketch lines this would result in a very clean, very light  NURBS surface:

 

image.png

 

Given that you want to crate surfaces computationally you might want to give that some consideration.

Whether the saddle shape of the lofted surface is actually what you wan to accomplish is another question


EESignature