Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for 3DM file format? #1489

Open
zohozer opened this issue Jun 26, 2024 · 6 comments
Open

Add support for 3DM file format? #1489

zohozer opened this issue Jun 26, 2024 · 6 comments
Labels
type:enhancement New feature or request

Comments

@zohozer
Copy link

zohozer commented Jun 26, 2024

Hi all.

I do need to visualize a lot of 3DM files created in Rhino and I think that maybe this format (3DM) can be added to the f3d library?

The 3DM format it is described here

From the description: "There are no restrictions. Neither copyright nor copyleft restrictions apply."

Best regards.

@mwestphal
Copy link
Contributor

This one may be hard as Nurbs are not natively supported by VTK, so we would need to do some kind discretization.

@mwestphal mwestphal added the type:enhancement New feature or request label Jun 26, 2024
@Meakk
Copy link
Contributor

Meakk commented Jun 26, 2024

This one may be hard as Nurbs are not natively supported by VTK, so we would need to do some kind discretization.

We do have parametric surface triangulation with opencascade.

@snoyer
Copy link
Contributor

snoyer commented Jun 26, 2024

This one may be hard as Nurbs are not natively supported by VTK, so we would need to do some kind discretization.

It is likely that Rhino's API provide that already (eg. ON_Surface::CreateMesh() "Description: Computes a polygon mesh approximation of the surface" maybe?)

@mwestphal
Copy link
Contributor

Here is the OpenNURBS github: https://github.com/mcneel/opennurbs

It is maintained but the build system may reveal to be challenging.

@snoyer
Copy link
Contributor

snoyer commented Jun 26, 2024

Here is the OpenNURBS github: mcneel/opennurbs

There is a GL example which must output triangles somehow... having a quick look it looks like there is various levels of built-in magic for the conversion, for example Brep face to mesh, or Brep face to Nurbs to triangles

@zohozer
Copy link
Author

zohozer commented Jun 28, 2024

This one may be hard as Nurbs are not natively supported by VTK, so we would need to do some kind discretization.

When I do use Rhino a lot of times I do need to wait because the software it is calculating meshes even if I do work only with NURBS surfaces. I do think that even Rhino it is using meshes to display the geometry on screen and for the render engine (it is using Cycles as render engine).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement New feature or request
Projects
Status: Investigate
Development

No branches or pull requests

4 participants