Giter Site home page Giter Site logo

thomasa88 / threadkeeper Goto Github PK

View Code? Open in Web Editor NEW
40.0 4.0 2.0 90 KB

ThreadKeeper is an Autodesk® Fusion 360™ add-in that restores custom thread definitions every time they are removed.

License: MIT License

Python 100.00%
fusion-360 fusion-360-api

threadkeeper's Introduction

ThreadKeeper

ThreadKeeper is an Autodesk® Fusion 360™ add-in that restores custom thread definitions every time they are removed (i.e. when Fusion 360™ is updated).

Thread definitions to restore are put in the Threads directory of ThreadKeeper.

Every time Fusion 360™ starts, ThreadKeeper checks if thread definition files are missing. In that case, the files are restored.

Main menu

Sync dialog

Supported Platforms

  • Windows
  • Mac OS

Installation

Download the add-in from the Releases page.

Unpack it into API\AddIns (see How to install an add-in or script in Fusion 360).

Make sure the directory is named ThreadKeeper, with no suffix.

Usage

Start by storing thread definitions inside ThreadKeeper's threads directory. Open the directory by clicking TOOLS -> THREADKEEPER -> Open ThreadKeeper directory.

If you already have thread definitions added to Fusion 360™ that you want to keep, open the Fusion 360™ threads directory and copy them to ThreadKeeper's threads directory.

Note that the files in ThreadKeeper's directory can be stored in a nested fashion (i.e. inside multiple directories). Note, however, that the file structure will be flattened when copied to the Fusion 360™ threads directory.

Threads directory

ThreadKeeper will sync the files every time Fusion 360™ starts

To copy the files to Fusion 360™ directly, click Force sync.

To change which directory where threads are stored within ThreadKeeper, click Change ThreadKeeper directory....

The add-in can be temporarily disabled using the Scripts and Add-ins dialog. Press Shift+S in Fusion 360™ and go to the Add-Ins tab.

How do I get threads?

This add-in does not contain any thread definitions.

You can either create custom definitions yourself. See Creating custom threads and thread standards in Fusion 360.

You can also download definitions that others have made.

Examples:

Known Limitations

None.

Reporting Issues

Please report any issues that you find on the Issues page.

For better support, please include the steps you performed and the result. Also include copies of any error messages.

Author

This add-in is created by Thomas Axelsson.

Contributors

  • Sune Trudslev

License

This project is licensed under the terms of the MIT license. See LICENSE.

More Fusion 360™ Add-ins

My Fusion 360™ app store page

All my add-ins on Github

Changelog

  • v 1.2.1
    • Fix for start-up error due to Utilites Tab not being loaded. Contributed by Sune Trudslev.
    • Fix problem loading add-in in Fusion 360™ Insider Preview.
  • v 1.2.0
    • Option to change threads directory.
  • v 1.1.0
    • Support for Mac
  • v 1.0.0
    • Initial release

threadkeeper's People

Contributors

thomasa88 avatar trudslev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

threadkeeper's Issues

Problem running in Fusion "Insider" version.

I am running Threadkeeper and am very pleased with it. Thanks very much.
I have both the standard (basic subscription) and the "Insider Program" version.
It runs perfectly in the standard version but if I launch the "Insider" version I get the following error which I hope you can help with:-


ThreadKeeper

error: 'NoneType' object has no attribute 'group'

Copy this message using Ctrl+C (Windows) or take a screenshot (Mac). Describe what you did to get this error or record a video.


C:\Users\marti\AppData\Roaming\Autodesk\ApplicationPlugins\ThreadKeeper.bundle\Contents\ThreadKeeper.py failed:

Traceback (most recent call last):
File "C:/Users/marti/AppData/Roaming/Autodesk/ApplicationPlugins/ThreadKeeper.bundle/Contents/ThreadKeeper.py", line 104, in run
fusion_deploy_folder = pathlib.Path(thomasa88lib.utils.get_fusion_deploy_folder())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/marti/AppData/Roaming/Autodesk/ApplicationPlugins/ThreadKeeper.bundle/Contents\thomasa88lib\utils.py", line 53, in get_fusion_deploy_folder
return _DEPLOY_FOLDER_PATTERN.match(get_fusion_ui_resource_folder()).group(0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'group'


OK

====================

This extension breaks Fusion360's Thread Recognition for me

The first few time I used F360 with this, it was great.
After the October/November release though, I have been having the issue where F360 no longer detects any custom threads. But its actually worse than that. F360 stops seeing all but 5 or so threads as available.

Today, My F360 updated to the Jan 2021 update. And I was shocked to see all standard threads were there! I thought it was an issue with F360 and they fixed it. But then I realized my custom threads werent there, because I hadn't moved them over yet. So i reinstalled threadkeeper (I uninstalled it as part of a troubleshooting effort), and then I was down from about 15 thread choices to 5, with 0 custom available.

Here was my thread discussing the issue. Video and screenshots of the problem included there.
https://forums.autodesk.com/t5/fusion-360-support/fusion360-doesn-t-load-custom-threads/m-p/9963386

Basically, it DID load the files into the directory fine. But it somehow also prevented F360 from registering nearly all the files in that folder. AND if I changes one of the filenames of the files it did see, it would be removed from the list altogether, permanently. Even when I changed the filename back to the known one, that still didn't register.
Ex: Changing ACMEScrewThreads.xml to any other name would cause F360 to no longer see it as an available option, not even after giving it the original filename again.

Uninstalled threadkeeper, then performing a full clean uninstall (uncheck 'Keep Offline data') then install again resolved the issue and I have my threads back.

No TOOLS menu on MacOS 13, Fusion 360 2.0.15050 x86_64 [Rosetta 2]

Fusion 360 2.0.15050 x86_64 [Rosetta 2]
Active Plan: Personal
macOS 13.0.1 (22A400) on Mac13,1

I have installed this plugin and restarted Fusion360. Instructions say, "Start by storing thread definitions inside ThreadKeeper's threads directory. Open the directory by clicking TOOLS -> THREADKEEPER -> Open ThreadKeeper directory." (I think it's implied that this is from the Fusion360 menu. Would be nice to update the instruction to be specific, as this could be the issue.)

Unfortunately, I do not see a TOOLS menu when I've opened Fusion360 on MacOS. I see: File, Edit, View, Windows and Help... and none of those options has a Tools menu either.

What am I missing? Does this work with Personal plan?

Unable to install on MacOS 10.14.6

Hello,

Attempting to install threadkeeper on 15inch touchbar macbook pro (late 2018)

After clicking on the package and letting it do its thing, I get the loading bar, then the cofiguring the install, then I get "The installation failed"

Any help would be great,

Thanks.
Fusion version 2.0.10253

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.