-
Notifications
You must be signed in to change notification settings - Fork 33
Lap bugfix #431
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
Merged
Merged
Lap bugfix #431
Changes from 6 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
2287780
add tol in extensions
papachap c51c008
return none if projection fails
papachap e674f87
fix minor bugs
papachap e204627
changelog
papachap ba92f40
Update src/compas_timber/fabrication/lap.py
papachap 30e810a
Merge https://github.com/gramaziokohler/compas_timber into lap-bugfix
papachap 049b475
replace angle_vectors_projected with core function
papachap 68fcb2e
remove function from utils module
papachap 9090b4e
Merge branch 'main' of https://github.com/gramaziokohler/compas_timbe…
papachap 5335dcc
temporary fix for angle_vectors_projected()
papachap 03f0e67
Update src/compas_timber/fabrication/lap.py
papachap 9dd732b
changelog
papachap 21c5002
Merge branch 'lap-bugfix' of https://github.com/gramaziokohler/compas…
papachap 1b62317
Update CHANGELOG.md
papachap ac25c2d
Update src/compas_timber/fabrication/lap.py
papachap 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 hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| from compas.tolerance import TOL | ||
|
|
||
| from compas_timber.errors import BeamJoiningError | ||
| from compas_timber.fabrication import JackRafterCut | ||
| from compas_timber.fabrication import Lap | ||
|
|
@@ -64,8 +66,9 @@ def add_extensions(self): | |
| raise BeamJoiningError(self.elements, self, debug_info=str(ae), debug_geometries=geometries) | ||
| except Exception as ex: | ||
| raise BeamJoiningError(self.elements, self, debug_info=str(ex)) | ||
| self.main_beam.add_blank_extension(start_main, end_main, self.main_beam_guid) | ||
| self.cross_beam.add_blank_extension(start_cross, end_cross, self.cross_beam_guid) | ||
| tol = TOL.absolute | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sure that's enough? |
||
| self.main_beam.add_blank_extension(start_main + tol, end_main + tol, self.main_beam_guid) | ||
| self.cross_beam.add_blank_extension(start_cross + tol, end_cross + tol, self.cross_beam_guid) | ||
|
|
||
| def add_features(self): | ||
| """Adds the required joint features to both beams. | ||
|
|
||
This file contains hidden or 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
This file contains hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.