geop icon indicating copy to clipboard operation
geop copied to clipboard

OBJ export/import?

Open virtualritz opened this issue 1 year ago • 1 comments

This crate looks awesome. Found it through my GH suggestions, completely under the radar. :grin:

I'm wondering about OBJ export. I mean as (trimmed) NURB curves/surfaces. OBJ format fully supports this and it is an inroad to Maya and Rhino 3D which can read such OBJ files. I.e. the data is not tessellated into polygons on import but stays higher order curves and surfaces.

See Paul Bourke's OBJ format description (I think it's a direct copy from the original wavefront spec. from the 80's/early 90's).

Scroll down to the section "Free-form curve and surface types".

Curiously this can even store stitching/adjaceny information and at the time the wavefront renderer (which would tessellate) would use this to produce watertight meshes. Unfortunately I believe neither Rhino 3D nor Maya read (or write) this but I may be wrong.

virtualritz avatar Dec 26 '24 16:12 virtualritz

Thanks for the resource, this could be a great contribution in the future.

Right now I am still working on the foundations for the algebra, numerical intersection finding, different basic geometries like planes, spheres, booleans etc.

But in the future when the core is more stable this could be on the roadmap. I'll leave the issue open.

TobiasJacob avatar Jan 27 '25 19:01 TobiasJacob