File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 BasePartObject ,
1212 BuildPart ,
1313 BuildSketch ,
14- Location ,
1514 Locations ,
1615 Mode ,
1716 Rectangle ,
1817 RotationLike ,
1918 add ,
2019 extrude ,
21- fillet ,
22- offset ,
2320)
2421
2522from .constants import gridfinity_standard
Original file line number Diff line number Diff line change @@ -77,16 +77,24 @@ def create(
7777 bbox = part .part .bounding_box ()
7878
7979 # Select only vertical edges
80- fillet_edges = part .edges ().filter_by (Axis .Z ).filter_by_position (
81- Axis .Z , minimum = bbox .min .Z , maximum = bbox .max .Z - 1.1
80+ fillet_edges = (
81+ part .edges ()
82+ .filter_by (Axis .Z )
83+ .filter_by_position (
84+ Axis .Z ,
85+ minimum = bbox .min .Z ,
86+ maximum = bbox .max .Z - 1.1 ,
87+ )
8288 )
8389
8490 # Select the rest of the edges (excluding the top face and lower
8591 # edge of the label)
8692 fillet (fillet_edges , gf_bin .inner_radius_v )
8793
8894 fillet_edges = part .edges ().filter_by_position (
89- Axis .Z , minimum = bbox .min .Z , maximum = bbox .max .Z - 1.1
95+ Axis .Z ,
96+ minimum = bbox .min .Z ,
97+ maximum = bbox .max .Z - 1.1 ,
9098 )
9199
92100 fillet (fillet_edges , gf_bin .inner_radius )
You can’t perform that action at this time.
0 commit comments