Personal Units

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
drmacro
Veteran
Posts: 8865
Joined: Sun Mar 02, 2014 4:35 pm

Re: Personal Units

Post by drmacro »

Roy_043 wrote: Sat Jun 04, 2022 4:36 pm You can use such an expression:
=1.23 / m ^ 2
I don't see the unit "euro" in your example.

:?
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Personal Units

Post by Roy_043 »

I would just write the price as a float without units. You can always add €/m2 as a text in the previous/next cell.

To calculate the result you can use this:
=A2 * B2 / 1(m ^ 2)
And again place as a text in the previous/next cell.

Or:
=<<€ %.2f>> % (A2 * B2 / 1(m ^ 2))
But this converts the result to a string which is probably inconvenient.
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Personal Units

Post by adrianinsaval »

I don't see the benefit to having euro as an actual unit either.
drmacro
Veteran
Posts: 8865
Joined: Sun Mar 02, 2014 4:35 pm

Re: Personal Units

Post by drmacro »

adrianinsaval wrote: Sat Jun 04, 2022 6:11 pm I don't see the benefit to having euro as an actual unit either.
I don't know the OP intent...
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
proghettolab
Posts: 52
Joined: Sat Jun 27, 2020 3:09 pm

Re: Personal Units

Post by proghettolab »

Roy_043 wrote: Sat Jun 04, 2022 4:36 pm You can use such an expression as a workaround:
=1.23 / m ^ 2
Thanks!
berniev
Posts: 247
Joined: Wed Apr 13, 2022 10:45 pm
Location: Oz

Re: Personal Units

Post by berniev »

Roy_043 wrote: Sat Jun 04, 2022 10:51 am I have moved the proposal text to a separate page.
Unit_Management_System_Proposal

But since the proposal is quite old (ca. 2011) maybe we should just delete it?
Isn't it the way ... A page sits for 12 years unloved, gets deleted and soon someone wants it!
Any chance you (or someone) kept a copy. I'd be interested!
User avatar
onekk
Veteran
Posts: 6144
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Personal Units

Post by onekk »

Why, as it was an old proposal, with not implemented features and files?

IMHO better is to make a new proposal with some insight taking in account FreeCAD and related library evolution.

As example there are some concerns about Qt6 and XML maybe unrelated as I have not access to a computer now.

viewtopic.php?p=671682#p671682

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
berniev
Posts: 247
Joined: Wed Apr 13, 2022 10:45 pm
Location: Oz

Re: Personal Units

Post by berniev »

onekk wrote: Wed Mar 29, 2023 5:12 am Why, as it was an old proposal, with not implemented features and files?
Because it may (or may not) have some useful insights! (I've spent a lot of time on this lately).
User avatar
onekk
Veteran
Posts: 6144
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Personal Units

Post by onekk »

berniev wrote: Wed Mar 29, 2023 6:46 am
onekk wrote: Wed Mar 29, 2023 5:12 am Why, as it was an old proposal, with not implemented features and files?
Because it may (or may not) have some useful insights! (I've spent a lot of time on this lately).
I'm not saying it is not a problem, but I don't see as the OP was speaking about currency (and probably currency conversion could be interesting in a CAD).

I was saying as the page was retired, as developers have said that it was an old proposal, and you complains after some months about the deletion, that is better to open a discussion that eventually lead to a new page on the Wiki, even if probably now the procedure is changed, as it seems that most of the discussion about proposal have to be done here and on GH if there is already a PR. (even if some have some doubt that GH is the right place to discuss things not strictly related to code).

It is all a context consideration, you can't rely on proposal made based on 12 years old code in a software that is advancing like FreeCAD and that in in a phase of source revision. (perfectly visible if you follow developers subforum).

But as I'm a simple user, take it as a simple "point of view".

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Personal Units

Post by Roy_043 »

berniev wrote: Wed Mar 29, 2023 5:04 am Any chance you (or someone) kept a copy. I'd be interested!
The information is still available in the history of the Units page:
https://wiki.freecad.org/index.php?titl ... id=1147009
Post Reply