Hello,
I'm trying to apply a coincident constraint between two surfaces with an 31.5mm offset.
The constraint properties box doesn't let me fill a point number. That is, I can't type a "." on the offset box. If I try a ",", I can't specify additionnal number and if I validate and reopen the box there is no "," anymore.
I can use point numbers without problem in the sketcher workbench
What do I miss? Is there a solution?
I'm using :
debian 11
Gnome Desktop
freecad 0.19 (edit : now 0.20.2 from an Appimage)
A2plus is freshly installed (13 january 2023)
Thanks, Pierre
A2plus - constraint with point number offset [Solved]
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
A2plus - constraint with point number offset [Solved]
Last edited by pmx on Wed Jan 25, 2023 9:44 am, edited 3 times in total.
Re: A2plus - constraint with point number offset
Moved from Help forum.
Hi and welcome to the forum!
Please update to a more recent version, 0.20 or 0.21. If it still doesn't work, attach your full FreeCAD info as described in the IMPORTANT forum rules linked in the Help forum.
Hi and welcome to the forum!
Please update to a more recent version, 0.20 or 0.21. If it still doesn't work, attach your full FreeCAD info as described in the IMPORTANT forum rules linked in the Help forum.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: A2plus - constraint with point number offset
Sorry, indeed I post my comment without consutlting the forum rules.
I unistalled my version of freecad, downloaded the Appimagefile from freecadweb.org and installed it.
Still the issue remains, slightly changed. I can type "." on the constraint properties box but can't type any further number.
My version is now 0.20.2.
My working environement (freecad and the rest of my os) is in french format. I'll try the last freecad release from github and change the format and language of my environnement for english.. If ever you have an idea I take it!
I keep you update.
I unistalled my version of freecad, downloaded the Appimagefile from freecadweb.org and installed it.
Still the issue remains, slightly changed. I can type "." on the constraint properties box but can't type any further number.
My version is now 0.20.2.
My working environement (freecad and the rest of my os) is in french format. I'll try the last freecad release from github and change the format and language of my environnement for english.. If ever you have an idea I take it!
I keep you update.
- Attachments
-
- test-a2plus.FCStd
- (7.93 KiB) Downloaded 63 times
-
- Bibli.H2.FCStd
- (9.4 KiB) Downloaded 61 times
-
- Bibli.H1.FCStd
- (10.38 KiB) Downloaded 62 times
-
- point-number-issue.png (73.73 KiB) Viewed 1712 times
Re: A2plus - constraint with point number offset
No sucess in my attempts :
I selected english (US) locales but the problem remains after a reboot. I failed to install a newer version of FreeCAD.
I tried the process described on https://wiki.freecad.org/Installing_on_ ... 28Daily.29, section « development PPA (daily) »
I selected english (US) locales but the problem remains after a reboot. I failed to install a newer version of FreeCAD.
I tried the process described on https://wiki.freecad.org/Installing_on_ ... 28Daily.29, section « development PPA (daily) »
Code: Select all
# sudo add-apt-repository ppa:freecad-maintainers/freecad-daily
Ubuntu daily builds of FreeCAD. These packages are generated by Launchpad's automatic system, and are untested.
Note: the ccx package brings CalculiX support to the FEM workbench, and needs to be installed separately.
More info: https://launchpad.net/~freecad-maintainers/+archive/ubuntu/freecad-daily
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: le trousseau local « /tmp/tmpxkqhugx5/pubring.gpg » a été créé
gpg: /tmp/tmpxkqhugx5/trustdb.gpg : base de confiance créée
gpg: clef 005EAE8119BB5BCA : clef publique « Launchpad PPA for FreeCAD maintainers » importée
gpg: Quantité totale traitée : 1
gpg: importées : 1
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
gpg: aucune donnée OpenPGP valable n'a été trouvée.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 688, in addkey_func
func(**kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 386, in add_key
return apsk.add_ppa_signing_key()
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 273, in add_ppa_signing_key
cleanup(tmp_keyring_dir)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 234, in cleanup
shutil.rmtree(tmp_keyring_dir)
File "/usr/lib/python3.9/shutil.py", line 718, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib/python3.9/shutil.py", line 675, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib/python3.9/shutil.py", line 673, in _rmtree_safe_fd
os.unlink(entry.name, dir_fd=topfd)
FileNotFoundError: [Errno 2] Aucun fichier ou dossier de ce type: 'S.gpg-agent.extra'
Code: Select all
# sudo apt-get update
Réception de :1 http://security.debian.org/debian-security bullseye-security InRelease [48,4 kB]
Ign :2 http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu lunar InRelease
Atteint :3 http://deb.debian.org/debian bullseye InRelease
Atteint :4 http://deb.debian.org/debian bullseye-updates InRelease
Err :5 http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu lunar Release
404 Not Found [IP : 185.125.190.52 80]
Lecture des listes de paquets... Fait
E: Le dépôt http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu lunar Release n'a pas de fichier Release.
N: Les mises à jour depuis un tel dépôt ne peuvent s'effectuer de manière sécurisée, et sont donc désactivées par défaut.
N: Voir les pages de manuel d'apt-secure(8) pour la création des dépôts et les détails de configuration d'un utilisateur.
Code: Select all
# sudo apt-get install freecad-daily
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet freecad-daily
Re: A2plus - constraint with point number offset
Hi,
I confirm Your behavior, in Windows it works with comma, in Ubuntu it doesn't work, it seems something related to python and locale.
The workaround is typing a number without decimals and then adjust it afterwards in the property pane (with comma).
Turro75
I confirm Your behavior, in Windows it works with comma, in Ubuntu it doesn't work, it seems something related to python and locale.
The workaround is typing a number without decimals and then adjust it afterwards in the property pane (with comma).
Turro75
Re: A2plus - constraint with point number offset
Non need for workaraounds, usually it dpends on what you are modifying, as example in the python editor, you always use points, as the language is using points in floats, so the keypad dot is always the keypad dot, to ease programming. Same as exmple in Python Console if I don't go wrong at least in 0.21dev and probably even in 0.20.2.Turro75 wrote: ↑Fri Jan 20, 2023 3:47 pm Hi,
I confirm Your behavior, in Windows it works with comma, in Ubuntu it doesn't work, it seems something related to python and locale.
The workaround is typing a number without decimals and then adjust it afterwards in the property pane (with comma).
Turro75
But there is some settings in Preference >> General >> General Tab >> Number format you hjave some settings to follow or not to follow locale and the Keypad dot behaviour, at least on Linux you could see what locale is used by FreeCAD, it is in the Help >> Copy to clipboard like in below.
Regards
Carlo D.
Code: Select all
OS: Artix Linux (openbox)
Word size of FreeCAD: 64-bit
Version: 0.20.2.29603 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20.2)
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.10.8, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: Italian/Italy (it_IT)
Installed mods:
* QuickMeasure 2022.10.28
* Assembly4 0.12.4
* fasteners 0.4.24
* toSketch 1.0.1
* Curves 0.6.1
* Help 1.0.3
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/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
Re: A2plus - constraint with point number offset
Hi,
Indeed it's working properly since I selected "replace the decimal marker" in Preferences >> General >> Language.
Thanks for your replies!
Pierre
Indeed it's working properly since I selected "replace the decimal marker" in Preferences >> General >> Language.
Thanks for your replies!
Pierre