[SOLVED] Weird .stl export problem with joined control point curves

We have come across a weird problem when exporting a extrusion made from two joint control point curves. It is probably best articulated with the attached images.

If a simple shape is extruded from two control point curves joined together, the resulting stl export is all distorted on the edge where the curve would be. The mesh from the object is valid/a good mesh and appears fine in rhino. Its just seems to be the export process that makes shapes using an extrusion from a control point curve go bad. Other shapes export fine.

Any assistance would be greatly appreciated as I don’t know how to make the shapes I’m after not using this method.

Capture01

Hello - are the curves far from the world origin?

-Pascal

Hi Pascal,

They sure were. I didn’t realize. I moved them to the origin and it fixed it right up.

Absolute legend. Thanks!

Hi @pascal , Figured I’d add to this post instead of creating a new thread, Just curious why this happens? what if I don’t want to change the position or scale my objects is there no way to generate a proper mesh without this weird distortion?

Hi Ryan - the problem is the precision in the stl file suffers the farther from the origin it is’

vertex 37.406957012923627, 10000017.408864329, 0

I moved my mesh a million units in Y before exporting.

The second coordinate has less precision - to the right iof the decimal - than the first because so many of the available digits are used up on the left.

The farther away, the greater the effect.

-Pascal

Thanks for the explanation, and just to clarify there isn’t a solution to this other than moving geometry?

I did try obj and has the same issue so not just a specific file type issue other than its mesh.