Skip to content

Commit 067903e

Browse files
committed
FIX rename files assossiated with Pose Estimation component to have the same name, switched back truncate_assembly index logic
1 parent daff8bb commit 067903e

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

src/gh/components/DF_main_pc_axes/code.py renamed to src/gh/components/DF_pose_estimation/code.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
from Grasshopper.Kernel import GH_RuntimeMessageLevel as RML
88

99
from ghpythonlib.componentbase import executingcomponent as component
10-
1110
import System
1211

13-
class DFMainPCAxes(component):
12+
13+
class DFPoseEstimation(component):
1414
def RunScript(self,
1515
i_clouds: System.Collections.Generic.List[Rhino.Geometry.PointCloud],
1616
i_assembly,
File renamed without changes.
File renamed without changes.

src/gh/components/DF_truncate_assembly/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class DFTruncateAssembly(component):
77
def RunScript(self,
88
i_assembly,
99
i_truncate_index: int):
10-
beams = i_assembly.beams[:i_truncate_index + 1]
10+
beams = i_assembly.beams[:i_truncate_index]
1111
name = i_assembly.name
1212

1313
o_assembly = diffCheck.df_geometries.DFAssembly(name=name, beams=beams)

0 commit comments

Comments
 (0)