GithubHelp home page GithubHelp logo

directname's Introduction

DirectName

DirectName is an Autodesk® Fusion 360™ add-in for naming features and bodies directly after creation. After creating a feature (e.g. Extrude) a dialog prompts for names for the feature and any created bodies.

Screenshot

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 DirectName, with no suffix.

Usage

A naming dialog will be shown automatically when new features are created.

Press Tab to navigate the inputs and press Enter when done. Press Esc to skip naming.

Enable/disable the naming dialog by clicking on the DIRECTNAME button under the TOOLS tab.

The DIRECTNAME menu allows you to select what types of elements that will trigger the naming prompt.

Screenshot

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

Known Limitations

  • Direct Edit mode is not supported.
  • DirectName loses track of changes when switching documents while creating a feature.

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.

License

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

Changelog

  • v 1.3.0 (April 2023)
    • Options to only name certain types of elements.
  • v 1.2.2
    • Remove highlighting of features, to fix "InternalValidationError : selecCmd" error.
  • v 1.2.1
    • Fix "new body" heuristic to handle all Fusion 360™ languages.
  • v 1.2.0
    • Enable/Disable button. Autodesk® store conformance.
  • v 1.1.3
    • Enable Run on Startup by default.
  • v 1.1.2
    • Highlight correct entity on mouse focus (Focusing by keyboard still only happens after text change (Limitation).)
    • Name Section Analyses after creation.
    • Fix error when closing documents and exiting Fusion 360™.
  • v 1.1.1
    • Handle objects that are not selectable, due to Fusion 360™ API limitations.
  • v 1.1.0
    • Fix highlighting of bodies that are part of components.
  • v 1.0.1
    • Pen logo
    • Autodesk® store conformance.
  • v 1.0.0
    • New logo
  • v 0.2.0
    • Rename new bodies and surfaces
    • Highlight active entity when name is edited
  • v 0.1.3
    • Change to MIT license, for app store compatibility

directname's People

Contributors

thomasa88 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

pixel48

directname's Issues

[Windows 10] RuntimeError: 2 : InternalValidationError : selecCmd

Copy this message using Ctrl+C:

C:\Users\Max\AppData\Roaming\Autodesk\ApplicationPlugins\DirectName.bundle\Contents\thomasa88lib\events.py failed:

Traceback (most recent call last):
  File "C:\Users/Max/AppData/Roaming/Autodesk/ApplicationPlugins/DirectName.bundle/Contents\thomasa88lib\events.py", line 142, in catcher
    func(args)
  File "C:/Users/Max/AppData/Roaming/Autodesk/ApplicationPlugins/DirectName.bundle/Contents/DirectName.py", line 358, in rename_command_input_changed_handler
    focus_changed(args.input)
  File "C:/Users/Max/AppData/Roaming/Autodesk/ApplicationPlugins/DirectName.bundle/Contents/DirectName.py", line 369, in focus_changed
    ui_.activeSelections.clear()
  File "C:\Users/Max/AppData/Local/Autodesk/webdeploy/production/df098dc22bdb0532c3884db0a2d6182c8f8678de/Api/Python/packages\adsk\core.py", line 15655, in clear
    return _core.Selections_clear(self)
RuntimeError: 2 : InternalValidationError : selecCmd

Hi, thanks for the great plugin. I just redownloaded the plugin after a while and I'm getting this error. Do you have a suggestion how to fix this?

problem with Installer on osx

After running the installer there was no Direct name add-on in the add-on window, and there was no ad on in the ad on folder.

Error Prompt - RunTimeError: 2- Message DirectName v1.2

Getting the error message posted below when entering a name in the DirectName pop-up box name field. Additionally, when pressing the Set Name button. The error message window opens, I press OK on the error popup and the DirecrName tool works as designed, just the error message is popping up each time. I'm using the April 2023 F360 release
++++++++++++
-------------------------------------------- Error Message Text -------------

Fusion 360

Copy this message using Ctrl+C:

C:\Users\kmbra\AppData\Roaming\Autodesk\ApplicationPlugins\DirectName.bundle\Contents\thomasa88lib\events.py failed:

Traceback (most recent call last):
File "C:\Users/kmbra/AppData/Roaming/Autodesk/ApplicationPlugins/DirectName.bundle/Contents\thomasa88lib\events.py", line 142, in catcher
func(args)
File "C:/Users/kmbra/AppData/Roaming/Autodesk/ApplicationPlugins/DirectName.bundle/Contents/DirectName.py", line 358, in rename_command_input_changed_handler
focus_changed(args.input)
File "C:/Users/kmbra/AppData/Roaming/Autodesk/ApplicationPlugins/DirectName.bundle/Contents/DirectName.py", line 369, in focus_changed
ui_.activeSelections.clear()
File "C:\Users/kmbra/AppData/Local/Autodesk/webdeploy/production/22e664d43fce268ac9bf1fa1cda69e4a9585c997/Api/Python/packages\adsk\core.py", line 15655, in clear
return _core.Selections_clear(self)
RuntimeError: 2 : InternalValidationError : selecCmd


OK

Request: Inherit names between Components and Bodies

Suggestion/Request

I've been looking for an easy solution for naming bodies for OBJ exports (only body names are exported).
I would be perfectly happy if if bodies had the same name as the parent component plus an incremental number at the end for multiple bodies.

So my suggestion considering how this add on works would be to have the option for the naming box of a new body to inherit the component name.

Option/filter to only name certain features

User feedback:
"Would it be possibly to have the option to only ask for the name of sketches? I find I don't need to rename evey feature as that's usually more self explanatory based on it's position in the timeline. As I usually do about ten features for every sketch that's a lot of pressing escape to dismiss the prompt! I would be extremely grateful if you could integrate this feature. Maybe an "Enable DirectName Sketches" "Enable DirectName All" and "Disable Direct Name" in the drop down menu would be sufficient?"

Idea:
Have checkboxes to filter what is being named.

Example menu:

Enable/Disable DirectName
-------
[x] Sketches
[ ] Bodies
[ ] ....

Suggestion

It would be neat if you could implement the same feature but for components. When extruding and selecting "New component", it would be nice to rename the component right away.

Add Description Field

I could not imagine using Fusion without this plugin. What a time saver. We started making drawings and find the "description" field important but there is no name in there....Is it possible to add this to DirectName?

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.