Giter Site home page Giter Site logo

Comments (6)

shaise avatar shaise commented on July 4, 2024

Basically its not just a fastener issue. The request here is to be able to edit the shown names of the properties in the property editor. So the internal name can stay the same but the shown name can be different. This also makes it possible to translate property names (again view only)

from freecad.

leoheck avatar leoheck commented on July 4, 2024

Fasteners Workbench was updated already, it looks like it is working. There is also the SheetMetal workbench that could receive the same treatment, and maybe others too.

from freecad.

shaise avatar shaise commented on July 4, 2024

Right now the way freecad display the properties is by taking the programmatic name and split it based on hyphens, underscore and case-ness. so 'my-parameter' becomes my parameter and 'myParameter' becomes my Parameter.
So, a simple solution, if not letting the programmer use a custom name, is to automatically Title Case all versions for the sake of uniformity.
In this case both 'my-parameter' and 'myParameter' will be shown as My Parameter

from freecad.

leoheck avatar leoheck commented on July 4, 2024

What if Freecad could add an optional parameter to have a Name for the property to be displayed as it is, when this is not set, then it uses the programmatic name as it is doing right now but converting what has to be converted and also using Title Case?

from freecad.

shaise avatar shaise commented on July 4, 2024

This is best, but I don't think it will be done very soon as there are much more urgent things. Converting to Title Case however, is rather an easy fix.

from freecad.

leoheck avatar leoheck commented on July 4, 2024

Totally. Freecad is just getting polished and attracting a lot of attention especially on this pre-1.0 release. These small things make the tool look better and more trustfull.

from freecad.

Related Issues (20)

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.