Skip to content

fetlab/ThreadProject

Repository files navigation

ThreadProject

Before you start

ExportThread.py is developed and tested in Windows. In MacOS, the script will probably not work. It is because that a part of the script trying to install numpy. Anyone is welcomed to fix the problem.

Running on Mac OS

You need to have Numpy installed in the Fusion 360 Python interpreter. To do so:

  • In Fusion, open View → Show Text Commands
  • Make sure the radio button in the bottom-right corner is set to "Py"
  • Run the following code:
import subprocess
print(subprocess.check_output([sys.executable, '-m', 'ensurepip', '--upgrade']).decode())
print(subprocess.check_output([sys.executable, '-m', 'pip', 'install', 'numpy']).decode())
  • You may want to restart Fusion if your processer goes to 100%.

How to set up ExportThread.py

Autodesk Fuion 360

  1. Create a folder named ThreadProject in your computer. Recommended place is `C:/Users/YOUR_USERNAME/AppData/Roaming/Autodesk/Autodesk Fusion 360/API/Scripts/` (Windows). They are default folders for Fusion 360 scripts.
  2. Download and place ExportThread.py file under ThreadProject folder.
  3. Open Autodesk Fusion 360. Go to TOOLS tab then click the ADD-INS icon.
  4. Click the plus button next to My Scripts.
  5. Choose the ThreadProject folder you created.

Slic3r

  1. Download and install Slic3r. https://slic3r.org/download/ We recommend to install under `C:\Program Files\`
  2. Note the installed folder.

How to use ExportThread.py

  1. If there is no bodies called PrintBed and ThreadStartPoint, run ExportThread.py script by clicking TOOLS tab, ADD-INDS, ExportThread, and Run button.
  2. PrintBed and ThreadStartPoint bodies will be created. Click Cancel.
  3. Create main bodies, thread lines, and anchors on the PrintBed body. Main bodies will be embedding threads after print. Thread lines are paths that a thread will be placed. Anchors are to bend thread outside of main bodies. You do not need anchors for vertically bending thread. There should be an anchor wherever you want to change angle of the thread outside of main boides. Be careful to choose "New Bodies" option when you extrude from the PrintBed body. When creating threads, use sketch lines.
  4. (Important) Connect the beginning of the thread lines and the corner (-78mm, 0, 0) of the ThreadStartingPoint body by using 3D Sketch. You can create 3D Sketches by checking 3D Sketch option in SKETCH PALETTE while sketching.
  5. Run ExportThread.py script by clicking TOOLS tab, ADD-INDS, ExportThread, and Run button.
  6. Set File Path to tell where to export the result gcode files.
  7. Set Slic3r Path to tell where Slic3r-console.exe file is. The default is `C:\Program Files\Scli3r`.
  8. Choose main boides that will be embedding thread and used after print.
  9. Choose anchors and thread lines in order. First anchors and thread lines will be printed and placed first, and then second anchors and thread lines, and so on. When selecting thread lines, make sure they are chosen from the thread origin in order.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •