Skip to content

Commit

Permalink
Removed environment.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ioannaMitropoulou committed May 14, 2023
1 parent b77f7c7 commit cfc4934
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 18 deletions.
14 changes: 0 additions & 14 deletions environment.yml

This file was deleted.

6 changes: 3 additions & 3 deletions examples/2_curved_slicing/ex2_curved_slicing.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def main():
high_boundary_vs = utils.load_from_json(DATA_PATH, 'boundaryHIGH.json')
create_mesh_boundary_attributes(mesh, low_boundary_vs, high_boundary_vs)

avg_layer_height = 3.0
avg_layer_height = 2.0

parameters = {
'avg_layer_height': avg_layer_height, # controls number of curves that will be generated
Expand All @@ -50,8 +50,8 @@ def main():
slicer = InterpolationSlicer(mesh, preprocessor, parameters)
slicer.slice_model() # compute_norm_of_gradient contours

simplify_paths_rdp_igl(slicer, threshold=0.5)
seams_smooth(slicer, smooth_distance=4)
simplify_paths_rdp_igl(slicer, threshold=0.25)
seams_smooth(slicer, smooth_distance=3)
slicer.printout_info()
utils.save_to_json(slicer.to_data(), OUTPUT_PATH, 'curved_slicer.json')

Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ networkx>=2.5
numpy
progressbar2>=3.53
pyclipper>=1.2.0
rdp>=0.8
rdp>=0.8
libigl>=2.4.1

0 comments on commit cfc4934

Please sign in to comment.