Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
YuXHe15 committed Jan 17, 2024
1 parent 0560483 commit c3a172e
Show file tree
Hide file tree
Showing 17 changed files with 11,744 additions and 21 deletions.
10 changes: 10 additions & 0 deletions amworkflow/gcode/test_flowrate.gcode
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
G90
M82
M106 S0
T0
G1 Z3
G92 E0
G1 X400.0 Y0.0 E233 F1500
G1 X400.0 Y200.0 E116.5 F2000
G1 X0.0 Y200.0 E233 F2500
G1 X0.0 Y0.0 E116.5 F3000
4 changes: 2 additions & 2 deletions amworkflow/src/geometries/composite_geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def __init__(self, coords: list, th: float, height: float, is_close: bool = True
self.G = nx.from_dict_of_lists(self.pnts.pts_digraph, create_using=nx.DiGraph)
# self.all_loops = list(nx.simple_cycles(self.H)) # Dangerous! Ran out of memory.
self.loop_generator = nx.simple_cycles(self.G)
self.check_pnt_in_wall()
# self.check_pnt_in_wall()
self.postprocessing()

def create_sides(self):
Expand Down Expand Up @@ -546,7 +546,7 @@ def postprocessing(self):
if (
(in_wall_pt_count > 0)
or (virtual_vector_count > 1)
or ((in_wall_pt_count == 0) and (virtual_vector_count > 0))
# or ((in_wall_pt_count == 0) and (virtual_vector_count > 0))
):
# if (in_wall_pt_count > 0):
visible_loop = False
Expand Down
Binary file removed honeycomb_700x150x10x150.stl
Binary file not shown.
Loading

0 comments on commit c3a172e

Please sign in to comment.