Skip to content

Commit

Permalink
WIP GH
Browse files Browse the repository at this point in the history
  • Loading branch information
petrasvestartas committed Apr 28, 2024
1 parent 18e5498 commit d6acca1
Show file tree
Hide file tree
Showing 19 changed files with 60 additions and 702 deletions.
17 changes: 0 additions & 17 deletions src/rhino/gh/ToDo.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,4 @@
C:/Users/petras/.rhinocode/py39-rh8/python.exe -m pip install .

# Bugs

Solve the joint orientation planarity problem.
7_assign_directions_and_joint_types.gh
38 joint crashes on 15_beams_simple_volume_a.gh example




# Components

connection_zones
custom_joints

xml_read
xml_write
xml_write_with_properties

add # r: compas_wood, compas in every component
22 changes: 14 additions & 8 deletions src/rhino/gh/cpy/beam_volume/code.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@


class MyComponent(component):
def RunScript(self,
_circles: Grasshopper.DataTree[Rhino.Geometry.Circle],
_length_of_box: float,
_distance_tolerance: float,
_parallel_tolerance: float,
_cross_or_toptoside: bool,
_create_pipes: bool):
def RunScript(
self,
_circles: Grasshopper.DataTree[Rhino.Geometry.Circle],
_length_of_box: float,
_distance_tolerance: float,
_parallel_tolerance: float,
_cross_or_toptoside: bool,
_create_pipes: bool,
):
class Cut:
pass

Expand Down Expand Up @@ -526,7 +528,11 @@ def CreateOffsetCurve(
)

curve = Rhino.Geometry.Curve.CreateInterpolatedCurve(
point3ds, 3, Rhino.Geometry.CurveKnotStyle.Uniform, centreCurve.TangentAtStart, centreCurve.TangentAtEnd
point3ds,
3,
Rhino.Geometry.CurveKnotStyle.Uniform,
centreCurve.TangentAtStart,
centreCurve.TangentAtEnd,
)
if curve is None:
raise Exception("FreeformGlulam::CreateOffsetCurve:: Failed to create interpolated curve!")
Expand Down
179 changes: 0 additions & 179 deletions src/rhino/gh/cpy/connection_zones/code.py

This file was deleted.

Binary file removed src/rhino/gh/cpy/connection_zones/icon.png
Binary file not shown.
Loading

0 comments on commit d6acca1

Please sign in to comment.