Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
obucklin committed Apr 22, 2024
1 parent 2295453 commit 9aa9469
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/compas_timber/connections/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from .joint import Joint
from .lap_joint import LapJoint
from .butt_joint import ButtJoint
from .t_butt import TButtJoint
from .l_butt import LButtJoint
from .l_miter import LMiterJoint
from .x_halflap import XHalfLapJoint
Expand All @@ -11,7 +12,6 @@
from .solver import ConnectionSolver
from .solver import JointTopology
from .solver import find_neighboring_beams
from .t_butt import TButtJoint
from .null_joint import NullJoint

__all__ = [
Expand All @@ -21,6 +21,7 @@
"BeamJoinningError",
"TButtJoint",
"LButtJoint",
"TButtJoint",
"LMiterJoint",
"XHalfLapJoint",
"THalfLapJoint",
Expand Down
3 changes: 1 addition & 2 deletions src/compas_timber/connections/butt_joint.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ def subtraction_volume(self):
top_front = Line(vertices[0], vertices[4])
top_back = Line(vertices[1], vertices[5])
_len = distance_line_line(top_front, top_back)
print(_len)

front_line = Line(*intersection_plane_plane(Plane.from_frame(front_frame), Plane.from_frame(top_frame)))

Expand Down Expand Up @@ -176,5 +175,5 @@ def subtraction_volume(self):
ph = Polyhedron(
vertices, [[3, 2, 1, 0], [5, 4, 0, 1], [6, 5, 1, 2], [7, 6, 2, 3], [4, 7, 3, 0], [4, 5, 6, 7]]
)
# self.test = vertices

return ph
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ def apply_processings(cls, joint, parts):
BTLxJackCut.create_process(cross_part, joint.get_cross_cutting_plane(), "L-Butt Joint")
)
if joint.mill_depth > 0:
cross_part.processings.append(BTLxLap.create_process(joint.btlx_params_cross, "T-Butt Joint"))
if joint.ends[1] == "start":
joint.btlx_params_cross["machining_limits"] = {"FaceLimitedStart": "no", "FaceLimitedFront": "no", "FaceLimitedBack": "no"}
else:
joint.btlx_params_cross["machining_limits"] = {"FaceLimitedEnd": "no", "FaceLimitedFront": "no", "FaceLimitedBack": "no"}
cross_part.processings.append(BTLxLap.create_process(joint.btlx_params_cross, "L-Butt Joint"))


BTLx.register_joint(LButtJoint, LButtFactory)
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def apply_processings(cls, joint, parts):

if joint.mill_depth > 0:
cross_part = parts[str(joint.cross_beam.key)]
joint.btlx_params_cross["machining_limits"] = {"FaceLimitedFront": "no", "FaceLimitedBack": "no"}
cross_part.processings.append(BTLxLap.create_process(joint.btlx_params_cross, "T-Butt Joint"))


Expand Down

0 comments on commit 9aa9469

Please sign in to comment.