Skip to content

Refactor existing code to prepare for fast-csg#3961

Merged
t-paul merged 12 commits intoopenscad:masterfrom
ochafik:fast_csg_prerequisite1
Feb 3, 2022
Merged

Refactor existing code to prepare for fast-csg#3961
t-paul merged 12 commits intoopenscad:masterfrom
ochafik:fast_csg_prerequisite1

Conversation

@ochafik
Copy link
Contributor

@ochafik ochafik commented Oct 28, 2021

These changes prepare the ground for #3641 and mostly don't add new helpers that are specific to fast-csg

Note: didn't realize force-pushing in the branch would close #3960, removed the invert_orientation and use_grid params (ochafik@c1b60f5) as they're no longer needed in the upcoming fast-csg codebase)

Olivier Chafik added 11 commits October 28, 2021 05:51
…(Copy_polyhedron_to uses a new CGALUtils::getConverter helper)
…pplyMinkowski, applyOperator3D, applyUnion3D}

Added CGALUtils::{getGeometryAsPolySet, convertNefToPolyhedron, getGeometryAsNefPolyhedron} helpers in the process, which simplifies code in GeometryEvaluator.
Adding Geometry::{transform, resize} (already part of PolySet & CGAL_Nef_polyhedron) and ResultObject::asMutableGeometry helps simplify GeometryEvaluator.
@ochafik
Copy link
Contributor Author

ochafik commented Feb 2, 2022

@t-paul @thehans could you guys take a look at this one? It looks hopefully less daunting if you look at the individual commits, which I've tried to summarize in commit messages.

Happy to split it in more PRs but hoped I could bundle the (hopefully) least contentious changes to prepare for the new stuff :-D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants