compas-dev / compas_slicer

Slicing package for FDM 3D Printing with COMPAS.
https://compas.dev/compas_slicer/
MIT License
30 stars 16 forks source link

Curved slicer guide and troubleshooting #87

Open ioannaMitropoulou opened 3 years ago

ioannaMitropoulou commented 3 years ago

Write a guide with all the steps that one needs to take to use the curved slicer and all the caveats that one can run into. In particular; -Mesh sanitizing + welding -Targets generation -Generation of different segments

This could be part of the curved slicer tutorial

Mostafarhmi commented 2 months ago

Hello, hello I have a problem with Targets generation or Boundary LOW and HIGH generation, I don't know where and how I have to generate this Json file. can you please help me?

Mostafa Rahimi

ioannaMitropoulou commented 2 months ago

These json files contain each a list of the indices of the vertices that are in your desired boundary. Each file looks like this:

[ 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 ]

An easy way to generate them, is by using the component that you can find in the examples/2_curved_slicing/curved_slicing_master.gh

If you look at the top part, you find the following components. There you should make sure to select the correct curves on each target (see screenshot below)

image

Then you can press the "Save" button, and the two files are automatically saved on your specified data folder.

image image

Let me know if this works for you.

Mostafarhmi commented 2 months ago

Thank you very much for your detailed answer. it works for me, but for determining new boundary for my own model I have problem . short question! In the curved_slicing area, how can I define max and min layer height?

ioannaMitropoulou commented 2 months ago

Would you like to share the model you are using and what targets you want so I can see the problem?

In the curved_slicer you cannot set a min and max layer height, you can only set an average layer height, which determines how many layers will be produced. The min and max layer height then derives from the number of layers and the distances between the provided targets.

Mostafarhmi commented 2 months ago

Unbenannt

OjasMahajan commented 6 days ago

Hello @ioannaMitropoulou I am having problems generating "out_printpoints.json" for this. I have your code from the repository. Can you help me out?

image

ioannaMitropoulou commented 6 days ago

Hello Ojas, The result seems to reasonable for the inputs that you display in the image. Could you explain in more detail what is the challenging you are facing? Perhaps consider also attaching the files that you are using. Best, Ioanna

OjasMahajan commented 5 days ago

Hello @ioannaMitropoulou, 1- My requirement comes from the printing process. We want to print this piece with WAAM. And want to avoid such corners (circled in red). A gradual fillet or flat line at these corners will help a lot. If I try to change the values in your code, it does not export the "out_printpoints.json" file. Is there another way to have this control? image

2- I see that your script joints all the paths into spiral toolpaths, but is there a way to have them layer by layer? Sometimes we need to wait for the metal to cool down before we start the next layer. image TO image