File tree Expand file tree Collapse file tree 3 files changed +21
-8
lines changed
Expand file tree Collapse file tree 3 files changed +21
-8
lines changed Original file line number Diff line number Diff line change 2626 "typeHintID" : " pointcloud"
2727 },
2828 {
29- "name" : " i_cloud_subtract_with " ,
30- "nickname" : " i_cloud_subtract_with " ,
29+ "name" : " i_cloud_B " ,
30+ "nickname" : " i_cloud_B " ,
3131 "description" : " The point cloud to subtract with." ,
3232 "optional" : false ,
3333 "allowTreeAccess" : true ,
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ class DFCloudIntersect(component):
99 def __init__ (self ):
1010 super (DFCloudIntersect , self ).__init__ ()
1111 def RunScript (self ,
12- i_cloud_intersect_from : Rhino .Geometry .PointCloud ,
13- i_cloud_intersect_with : Rhino .Geometry .PointCloud ,
12+ i_cloud_A : Rhino .Geometry .PointCloud ,
13+ i_cloud_B : Rhino .Geometry .PointCloud ,
1414 i_distance_threshold : float ):
15- df_cloud = df_cvt .cvt_rhcloud_2_dfcloud (i_cloud_intersect_from )
16- df_cloud_intersect = df_cvt .cvt_rhcloud_2_dfcloud (i_cloud_intersect_with )
15+ df_cloud = df_cvt .cvt_rhcloud_2_dfcloud (i_cloud_A )
16+ df_cloud_intersect = df_cvt .cvt_rhcloud_2_dfcloud (i_cloud_B )
1717 if i_distance_threshold is None :
1818 ghenv .Component .AddRuntimeMessage (RML .Warning , "Distance threshold not defined. 0.01 used as default value." )# noqa: F821
1919 i_distance_threshold = 0.01
Original file line number Diff line number Diff line change 2828 {
2929 "name" : " i_box" ,
3030 "nickname" : " i_box" ,
31- "description" : " The brep box to crop the point cloud with." ,
32- "optional" : false ,
31+ "description" : " The brep box to crop the point cloud with. Can only be a box. " ,
32+ "optional" : true ,
3333 "allowTreeAccess" : true ,
3434 "showTypeHints" : true ,
3535 "scriptParamAccess" : " item" ,
3636 "wireDisplay" : " default" ,
3737 "sourceCount" : 0 ,
3838 "typeHintID" : " brep"
39+ },
40+ {
41+ "name" : " i_brep" ,
42+ "nickname" : " i_brep" ,
43+ "description" : " The brep to crop the point cloud with. This is slower than the box, but accommodates any Brep." ,
44+ "optional" : true ,
45+ "allowTreeAccess" : true ,
46+ "showTypeHints" : true ,
47+ "scriptParamAccess" : " item" ,
48+ "wireDisplay" : " default" ,
49+ "sourceCount" : 0 ,
50+ "typeHintID" : " brep" ,
51+ "flatten" : false
3952 }
4053 ],
4154 "outputParameters" : [
You can’t perform that action at this time.
0 commit comments