[fixed] 2 mesh Workbench issues
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
[fixed] 2 mesh Workbench issues
I notice 2 mesh issues:
A:
- open this example file: - select in the tree the feature "Kanülenlöcher" (that holds the tip)
- Use the Mesh menu to tesselate it (use the standard mesher and default settings)
result: You get 2 meshes, and both are identical. This must have been introduced recently. Up to now one only got one mesh of the body up to the tip.
B:
- take the same example and try to export the mesh you created in case A to a file
- as filename use "Balgwand.FCStd" and press save
result: you get a warning that the file exists. But the logic should be that the dialog takes the given filename and adds the extension ".stl". So expected to end up with a file named "Balgwand.FCStd.stl"
Maybe I am wrong and the file dialog doesn't allow purposely filenames with 2 dots.
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18498 (Git)
Build type: Release
Branch: master
Hash: bfe968138218089ba6614ee81ae109b775a7b01a
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
A:
- open this example file: - select in the tree the feature "Kanülenlöcher" (that holds the tip)
- Use the Mesh menu to tesselate it (use the standard mesher and default settings)
result: You get 2 meshes, and both are identical. This must have been introduced recently. Up to now one only got one mesh of the body up to the tip.
B:
- take the same example and try to export the mesh you created in case A to a file
- as filename use "Balgwand.FCStd" and press save
result: you get a warning that the file exists. But the logic should be that the dialog takes the given filename and adds the extension ".stl". So expected to end up with a file named "Balgwand.FCStd.stl"
Maybe I am wrong and the file dialog doesn't allow purposely filenames with 2 dots.
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18498 (Git)
Build type: Release
Branch: master
Hash: bfe968138218089ba6614ee81ae109b775a7b01a
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
Last edited by uwestoehr on Sun Oct 13, 2019 6:01 pm, edited 1 time in total.
- pl7i92LCNC
- Posts: 208
- Joined: Tue Mar 12, 2019 3:03 pm
- Location: RLP DE
Re: 2 mesh Workbench issues
youshoudt general avoid ÖÄÜ for filenames and also spaces
the ending on save is always FCstd
you need to EXPORT
there shoudt be a standard exporter set from user i agree to you
and it exports only the selected design
the ending on save is always FCstd
you need to EXPORT
there shoudt be a standard exporter set from user i agree to you
and it exports only the selected design
Re: 2 mesh Workbench issues
That is no longer true since at least FC 0.18.pl7i92LCNC wrote: ↑Wed Oct 09, 2019 3:30 pm youshoudt general avoid ÖÄÜ for filenames and also spaces
I did as I wrote.
p.s. Your username in the forum is hard to remember and you should turn on spellchecking in your webbrowser.
Re: 2 mesh Workbench issues
Confirmed. Instead of tessellating the tip object you can select the Body feature because the tip is identical to the Body's shape.- select in the tree the feature "Kanülenlöcher" (that holds the tip)
- Use the Mesh menu to tesselate it (use the standard mesher and default settings)
result: You get 2 meshes, and both are identical. This must have been introduced recently. Up to now one only got one mesh of the body up to the tip.
That's not a bug. On Windows we use the native file dialog (i.e. Qt internally uses that of the Win32 API) and it doesn't automatically add the suffix of the selected format list when you choose a file name. However, the suffix will be added as soon as you change the format filter after you have defined a file name. So, if you first choose the file name and then select STL Mesh the dialog automatically extends the file name to be Balgwand.FCStd.stl- take the same example and try to export the mesh you created in case A to a file
- as filename use "Balgwand.FCStd" and press save
result: you get a warning that the file exists. But the logic should be that the dialog takes the given filename and adds the extension ".stl". So expected to end up with a file named "Balgwand.FCStd.stl"
Maybe I am wrong and the file dialog doesn't allow purposely filenames with 2 dots.
Re: 2 mesh Workbench issues
In this special case yes, but I also need meshes of features that don't hold the tip. When doing this, I get now 2 meshes, one is the complete body, the other one the desired mesh.
Thanks, I understand,
Re: 2 mesh Workbench issues
It seems to be derived from a Mesa card.
@pl7i92LCNC: If you have a machine with Mesa cards I would like to hear more about it, especially if it is a retrofit. I would be happy to see a new topic in the Open discussion forum.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: 2 mesh Workbench issues
How does the dependency graph looks in that case? Any links going out of allowed scope?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: 2 mesh Workbench issues
Re: 2 mesh Workbench issues
Thanks for the information.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: 2 mesh Workbench issues
The creation of two meshes is caused by a regression of the selection mechanism. In the past the method SelectionSingleton::isSelected() only checked for the passed object/object name whether it's selected or not. But now it does some automatic resolving where it considers the object Kanülenlöcher as a sub-element of the Body and because Kanülenlöcher is selected it also considers the Body as selected.
This however is a strange behaviour and causes quite some inconsistencies. If you e.g. open the Selection View it also only shows that only Kanülenlöcher is selected but not the Body.
Now when you try to select Body after having selected Kanülenlöcher it doesn't allow it while when you first select the Body you can also select Kanülenlöcher.
This however is a strange behaviour and causes quite some inconsistencies. If you e.g. open the Selection View it also only shows that only Kanülenlöcher is selected but not the Body.
Now when you try to select Body after having selected Kanülenlöcher it doesn't allow it while when you first select the Body you can also select Kanülenlöcher.