ParametricText

ParametricText

Thomas A
Gratuit

Système d'exploitation:
Langue:

Description

NOTE: The automatic Compute All feature makes Fusion 360 crash when trying to save non-parametric designs. Fixes are being developed in both ParametricText and Fusion 360.

Workaround: Disable Run Compute All automatically in the Text Parameters dialog.

ParametricText 2.1.0 beta contains a fix. This will be turned into the 2.1.0 release, as soon as it has had enough testing. If you want to help out by trying the beta, uninstall the app store version, download the 2.1.0-beta.2 and follow the installation instructions here .

 

OLD NOTE: Fusion 360 v. 2.0.9440 breaks text edit functionality for all add-ins. All texts created with the new style dialog get extreme letter-spacing. This is fixed in Fusion 360 January 2020 release.

https://forums.autodesk.com/t5/fusion-360-api-and-scripts/cannot-select-shx-fonts-on-sketchtext-object/m-p/9923259/highlight/true#M12082

 

ParametricText is an Autodesk® Fusion 360™ add-in for creating Text Parameters in sketches.

 

Note: Version 2.x is not compatible with version 1.x. Documents created using version 1.x will be upgraded when using version 2.x.

 

Text parameters can be pure text or use parameter values by using a special syntax. There is also a special parameter, that contains information about the document’s version and save date.

 

All parameters are stored within the document upon save. The texts are always “rendered” in the sketches, so they can be viewed without having the add-in. However, to correctly update the values, the add-in is needed.

 

⭐ This add-in is free, but if you like it, please drop a review and tell us about your use case! Drop a review even if you don't like it. (The reviews will also provide feedback for future development)

You can also support me by buying me a coffee (Ko-fi link).

 

The add-in is licensed under the MIT license.

Lire le document d'aide

A propos de cette version

Version 2.0.0, 08/02/2021
* v 2.0.0 * Rewritten selection engine. * Handle selection of texts in multi-occurrence components better. * "Inherit" sketch parameters when pasting using "Paste New". * New parameter values: "_.component", "_.file" * Storage format version 2, to handle the new selection engine. * Only one Undo item for text updates (not applicable to document save). * Show count of texts selected in each sketch. * Option to run "Compute All" automatically, to force features to update. * Detect missing "thomasa88lib" helper library. * Quick buttons for prepending braces and appending common parameters. * v 1.1.0 * "_.date" for retrieving document save date. * Workaround for Fusion 360™ bug when using Autodesk® SHX fonts. * Informative error when a text has a negative angle. * Don't re-evaluate texts when the Change Parameters dialog is closed without any changes. * Handle unit-less parameter values. * v 1.0.1 * Fix error when using "_.version" in documents that have never been saved. * Redesign logo to comply with app store. * v 1.0.0 * Out of beta! * v 0.2.1 * Set table height to 10 rows. * Fix #1. Handle unsaved documents. * v 0.2.0 * Basic support for Python format specifiers. * "Insert braces" button. * Selection tooltip, to show all selections when the text is truncated. * Hide "select control". Integrate clear button into table. * Use correct unit/scaling when showing parameter value. * Quick reference in dialog. * v 0.1.1 * Enable "Run on Startup" by default. * v 0.1.0 * First beta release

Politique de confidentialité de l'éditeur

Captures d'écran et vidéos


Avis des clients

(2 avis)

|

Obtenir une aide technique
  • Fills a void in Fusion 360
    Zobel Junk | octobre 15, 2020

    Glad to finally have this basic functionality to version my parts and embed paramentric details.


  • Excellent !
    Silopolis Silopolis | octobre 01, 2020 Téléchargement vérifié (Qu'est-ce que c'est?)

    Hi thanjs for this nice and handy app !
    Used for engraved text on part and makes text update much more easy and fast.
    Only issue I've met is it seems to choke on parameters without units:

    ---------------------------
    Fusion 360
    ---------------------------
    Copy this message using Ctrl+C:

    C:\Users\tarax\AppData\Roaming\Autodesk\ApplicationPlugins\ParametricText.bundle\Contents\thomasa88lib\events.py failed:

    Traceback (most recent call last):
      File "C:/Users/tarax/AppData/Roaming/Autodesk/ApplicationPlugins/ParametricText.bundle/Contents\thomasa88lib\events.py", line 141, in catcher
        func(args)
      File "C:/Users/tarax/AppData/Roaming/Autodesk/ApplicationPlugins/ParametricText.bundle/Contents/ParametricText.py", line 356, in map_cmd_execute_handler
        save(cmd)
      File "C:/Users/tarax/AppData/Roaming/Autodesk/ApplicationPlugins/ParametricText.bundle/Contents/ParametricText.py", line 377, in save
        sketch_text.text = evaluate_text(text)
      File "C:/Users/tarax/AppData/Roaming/Autodesk/ApplicationPlugins/ParametricText.bundle/Contents/ParametricText.py", line 458, in evaluate_text
        shown_text = SUBST_PATTERN.sub(sub_func, text)
      File "C:/Users/tarax/AppData/Roaming/Autodesk/ApplicationPlugins/ParametricText.bundle/Contents/ParametricText.py", line 442, in sub_func
        value = design.fusionUnitsManager.convert(param.value, "internalUnits", param.unit)
      File "C:/Users/tarax/AppData/Local/Autodesk/webdeploy/production/81fe16c330656df1a293195f4c169d3f2a29c315/Api/Python/packages\adsk\fusion.py", line 15775, in convert
        return _fusion.FusionUnitsManager_convert(self, *args)
    RuntimeError: 3 : Bad units parameter

    ---------------------------
    OK   
    ---------------------------

    Thanks for sharing. Keep the good code coming :-)


    Thomas A (Editeur) | octobre 03, 2020

    Hi, thank you for reporting this. Believe it or not, I actually hit the exact same problem today. I'm planning to submit the next version in the coming days, but it might take 1-2 weeks due to the review process. However, if you want to, you can try the beta here: https://github.com/thomasa88/ParametricText/releases/tag/v1.1.0-beta.4 You will need to uninstall the version downloaded from here and then follow the instructions in the readme: https://github.com/thomasa88/ParametricText/blob/v1.1.0-beta.4/README.md If you don't uninstall the store version first, you will get errors when the beta and the released version tries to run at the same time.


    Thomas A (Editeur) | octobre 13, 2020

    v1.1.0 with the unit fix is now published!

Haut