Gross numeric deviation Rotating with code or Gh Components [Solved]

I’m replacing some GH components … with VS/C# code, but the results differ > 0.01 mm.

< big snip >

I found out why the deviation. My bad, never mind.

// Rolf

Maybe type out what the problem was and how you solved this. That is much more useful than a strikethrough :slight_smile:

/Nathan

Yes, I would have done that if the reason had been of common interest. I had used a reference point (for distance calculation and defining an axis for a Plane) deeper down in my code which was slightly off, using the right reference point solved my problem. Very code specific, none of it makes sense to anyone else. :slight_smile:

But yes, I also think one should present solutions if someone else can benefit from them. In this case, nah. Just a sloppy or sleepy coder. :dizzy_face:

// Rolf

This gives enough info for future devs to check when something similar happens. Code-specific or not :slight_smile:

/Nathan