-
Notifications
You must be signed in to change notification settings - Fork 32
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
Moving decompose logic out of CadToCsg.start to its own method #189
Closed
shimwell
wants to merge
14
commits into
GEOUNED-org:dev
from
shimwell:moving_decompose_all_out_of_cad_to_csg
Closed
Changes from 11 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
73ea5ca
moved two methods out of start
shimwell 5b15352
removed unnecessary logger line
shimwell 36e41b9
calculating bb if still None
shimwell 50e9778
improved comment
shimwell 604eb9b
Merge branch 'dev' of github.com:shimwell/GEOUNED into dev
shimwell 39edcb6
Merge branch 'dev' into moving_get_universe_out_of_start
shimwell 463cea9
moved logic out of start
shimwell d035ab7
private method
shimwell bb17d1b
Merge branch 'dev' of github.com:shimwell/GEOUNED into dev
shimwell 55e989f
moved process cone
shimwell 86ca09a
format
shimwell 7383ad0
moved process cone back to correct order
shimwell 52ee072
format
shimwell dd30e8b
reduce git diff
shimwell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method must be split in 3 methods:
the 3rd method must have a flag to tell if standard or facets geometry is processed.
if standard geometry execute:
* conversion to solids bool definition
* forceNoOverlapping (lines 728 and 729)
* conversion to enclosure bool
if facet geometry execute:
* conversion to enclosure bool
In the start method the sequence of execution should be:
if facet geometry :
execute 2nd method (processing of geometry with solids made of facets and enclosures decomposition)
else
execute 1st method (decomposition of standard solids, and enclosures)
execute 3rd method (conversion of solids and enclosure). If flag is facet execute only conversion of enclosure
The geometry made of facets doesn't need decomposition and conversion process. The steps equivalent to these two processes are carried out in the function translate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not quite understanding this as there are overlaps in those line numbers so I guess there will be repetition in the 3 methods.