File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
commands/commandCreateBin Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -967,18 +967,6 @@ def generateBin(args: adsk.core.CommandEventArgs):
967967 else :
968968 shellUtils .simpleShell ([topFace ], binBodyInput .wallThickness , gridfinityBinComponent )
969969
970- chamferEdge = [edge for edge in binBody .edges if geometryUtils .isHorizontal (edge )
971- and math .isclose (edge .boundingBox .minPoint .z , topFaceMinPoint .z , abs_tol = const .DEFAULT_FILTER_TOLERANCE )
972- and math .isclose (edge .boundingBox .minPoint .x , topFaceMinPoint .x , abs_tol = const .DEFAULT_FILTER_TOLERANCE )][0 ]
973- if binBodyInput .hasLip and const .BIN_LIP_WALL_THICKNESS - binBodyInput .wallThickness > 0 :
974- chamferFeatures : adsk .fusion .ChamferFeatures = features .chamferFeatures
975- chamferInput = chamferFeatures .createInput2 ()
976- chamfer_edges = adsk .core .ObjectCollection .create ()
977- chamfer_edges .add (chamferEdge )
978- chamferInput .chamferEdgeSets .addEqualDistanceChamferEdgeSet (chamfer_edges ,
979- adsk .core .ValueInput .createByReal (const .BIN_LIP_WALL_THICKNESS - binBodyInput .wallThickness ),
980- True )
981- chamferFeatures .add (chamferInput )
982970 except :
983971 args .executeFailed = True
984972 args .executeFailedMessage = getErrorMessage ()
You can’t perform that action at this time.
0 commit comments