Why Rhino is not accurate enough with CPlanes?

Hi @Gijs @Rhino_Bulgaria

I’ve run into this so many times that I stopped using custom cplanes at an angle for real work. The reason being is that I found it introduces many modeling errors not just the tolerance issue discussed here. I always model parts on a standard orthogonal cplane and then use remap to the angled cplane or orient 3 points. I found that once the part is made on the standard cplane the transform is ok. But constructing and modeling are error prone on angled cplanes. So many modeling commands report errors or wont work I gave up using it. For me it went beyond extrusions like surface from planar curves, surf from edge curves, loft all the standard tools I’ve run into problems using slanted cplanes.

RM

1 Like

Wha…???

I noticed that, too, but the bug is still there, even if I set file tolerance of 0,0000001 mm. It gets much bigger when tens or hundreds of objects are involved, because both, the bounding box and the distribute gap grow a tiny bit over the expected numbers.

As far as I understood, this bug will be resolved no earlier than Rhino 10. I can wait for it. :slight_smile: I will be in my 50s by then.

Me too.I haven’t used custom cplanes for more than 20 years. RemapToCPlane is extremely accurate.

I don’t know if errors working with custom cplanes are Rhino’s fault since I don’t use them.
I have done models of aerospace parts from 2d drawings that have dozens of angled views and it would be a nightmare to work with all those as custom cplanes. Much easier and less error prone to model on the xy plane and move a copy of the result into position.

1 Like

Perhaps there are a few exceptions and various calculations in Rhino are based on less precise numbers, because there are a few tools and Gumball itself that are less accurate than the expectation.

Hi Bobi -

Thanks. I’ve put that on the list as RH-92183 ExtrudeCrv: Refuses to Extrude - Sample

Not attempting to change your ways, just fwiw…
I never used custom CPlanes in the past. I use the current AutoCPlane feature all the time, though.
-wim

1 Like

Thank you for adding this bug to the pile! As a heavy user of custom CPlane’s in Rhino 7 set by the '_CPlane _Object command I experience that particular bug quite often. I figured out that the '_CPlane _3Point command is more reliable for some reason.

Is there a chance that the '_CPlane _Object command uses an invisible rendering mesh bounding box with a course precision for the flat face selected as the target object to create a CPlane?

Just to remind everybody:

19,999999873 really is 20.
Remember that these are floating point numbers and what kind of tolerance do you work with if this does not measure as 20???

If you are working in Meters this translates to 19 meters 99 centimers, 9 millimeters and 999 micrometers… Do you REALLY need that last micrometer to be satisfied? Or is that just OCD :wink:

Happy friday.

Oh, and I made you into a meme Bobi :slight_smile:

1 Like

no its few millimeters when working far from origin which is not negligible and these errors buildup when each time gumball position is calculated wrong.

Tools > Options > Advanced Settings search for RhinoCycles.AdaptiveThreshold. In code it is set to 0.01, now see what it is shown as in the GUI.

Here is what the default value is set to:

Some numbers are just unrepresentable regardless of the chosen (finite) precision, the closest possible representation is used. See Floating-point arithmetic - Wikipedia for more info on representable numbers. Check for instance how 0.1 is represented (read: cannot be).

While real-World parts are not impacted by such a tiny deviation, the design process in Rhino is heavily impacted! :slight_smile: Note that the whole numbers are used primarily for detecting unwanted deviation or unwanted scale or rotation during the design of the parts. For example, when I work with NURBS tubes or other parts that should be a whole number big, seeing something like 19,99957493 is alarming and I’m forced to carefully check everything for accidental moving, scaling or rotation, which ultimately leads to extra time spent for things other than an actual work. :smiley:

4 Likes

Welcome to the defense industry especially fighter jets

It’s really satisfying tho so totally worth it….:joy:

1 Like

I know the feeling, and have spent countless hours cleaning stuff like that up my self, but in real life it really doesn’t matter because whole numbers are also just approximations but pretty numbers are as you say clear indications that everything is pristine and fine.

I just had to make some fun about it, also because it is so very relatable :wink:

2 Likes