Skip to content

Commit

Permalink
Merge pull request #268 from papachap/step_joint_feature
Browse files Browse the repository at this point in the history
Step joint notch feature
  • Loading branch information
chenkasirer authored Oct 23, 2024
2 parents f1eb423 + a6acf25 commit e6f1565
Show file tree
Hide file tree
Showing 12 changed files with 8,955 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Added new `compas_timber._fabrication.JackRafterCutParams`.
* Added new `compas_timber._fabrication.Drilling`.
* Added new `compas_timber._fabrication.DrillingParams`.
* Added new `compas_timber._fabrication.StepJoint`.
* Added new `compas_timber._fabrication.StepJointNotch`.
* Added new `compas_timber.connections.TStepJoint`.
* Added new `utilities` module in `connections` package.

### Changed

Expand Down
17 changes: 16 additions & 1 deletion src/compas_timber/_fabrication/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@
from .jack_cut import JackRafterCutParams
from .drilling import Drilling
from .drilling import DrillingParams
from .step_joint_notch import StepJointNotch
from .step_joint_notch import StepJointNotchParams
from .step_joint import StepJoint
from .step_joint import StepJointParams


__all__ = ["JackRafterCut", "BTLxProcess", "OrientationType", "JackRafterCutParams", "Drilling", "DrillingParams"]
__all__ = [
"JackRafterCut",
"BTLxProcess",
"OrientationType",
"JackRafterCutParams",
"Drilling",
"DrillingParams",
"StepJointNotch",
"StepJointNotchParams",
"StepJoint",
"StepJointParams",
]
21 changes: 21 additions & 0 deletions src/compas_timber/_fabrication/btlx_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,24 @@ class OrientationType(object):

START = "start"
END = "end"


class StepShapeType(object):
"""Enum for the step shape of the cut.
Attributes
----------
STEP : literal("step")
A step shape.
HEEL : literal("heel")
A heel shape.
TAPERED_HEEL : literal("taperedheel")
A tapered heel shape.
DOUBLE : literal("double")
A double shape.
"""

STEP = "step"
HEEL = "heel"
TAPERED_HEEL = "taperedheel"
DOUBLE = "double"
2 changes: 1 addition & 1 deletion src/compas_timber/_fabrication/drilling.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
from compas.geometry import Vector
from compas.geometry import angle_vectors_signed
from compas.geometry import distance_point_plane
from compas.geometry import intersection_segment_plane
from compas.geometry import intersection_line_plane
from compas.geometry import intersection_segment_plane
from compas.geometry import is_point_behind_plane
from compas.geometry import is_point_in_polyhedron
from compas.geometry import project_point_plane
Expand Down
Loading

0 comments on commit e6f1565

Please sign in to comment.