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

Fully Support Exporting As CSG #209

Open
EmperorArthur opened this issue Aug 5, 2024 · 0 comments
Open

Fully Support Exporting As CSG #209

EmperorArthur opened this issue Aug 5, 2024 · 0 comments
Assignees

Comments

@EmperorArthur
Copy link
Collaborator

The CSG file format is a subset of full OpenSCAD file format. As a rough approximation, it can be considered analogous to a STEP file in that it does not contain meshes, but rather object primitives.

Advantages

  • Mesh operations are tricky, and can be complex.
  • CSG files should be reproducible, making testing the final output possible.
  • Tools like FreeCAD primarily use CSG to interact with OpenSCAD, and need to use hacks for everything which cannot be converted to a CSG

Limitations

As CSG only allows object primitives, mesh operations are not allowed.

From the FreeCAD CSG Page:

  • projection
  • surface
  • render (ignored)
  • cgal operations: minkowski, glide, path, subdiv, hull

We currently use some of those gcal operations in our code. Specifically, minkowski.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant