Assembly3 preview

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
Kuzma30
Posts: 163
Joined: Wed Oct 24, 2018 11:50 am
Location: Ukraine

Re: Assembly3 preview

Post by Kuzma30 »

File ПроставкаY.FCStd is damaged, but it is not used in the assembly yet.
RealThunder's A3 Wiki translation, join the project https://crowdin.com/project/freecad-asm3-wiki
User avatar
Kuzma30
Posts: 163
Joined: Wed Oct 24, 2018 11:50 am
Location: Ukraine

Re: Assembly3 preview

Post by Kuzma30 »

Zolko wrote: Wed Mar 23, 2022 9:21 am
Kuzma30 wrote: Wed Mar 23, 2022 8:39 am Locale: Russian/Ukraine (ru_UA)
in these difficult times, should this give us hope or more worries ?
Thank you for reminding me, I will change the locale to Ukrainian)
Ukraine will win.
RealThunder's A3 Wiki translation, join the project https://crowdin.com/project/freecad-asm3-wiki
User avatar
Kuzma30
Posts: 163
Joined: Wed Oct 24, 2018 11:50 am
Location: Ukraine

Re: Assembly3 preview

Post by Kuzma30 »

Some updated information (I update files on github too). In the assembly I use the step model fk12 props. It displays circles as 2 arcs. When introducing constraints, I selected both arcs, the solver gave errors. When I tried to remove one of the arcs from the constraints, the solver seemed to work fine.
Then I started working on the motor plate. When I turn off PlaneAlignment001, the solver does not give errors. When I enable this restriction, I get an error. When drawing up the constraints, I followed the same logic as for the support plate. But now it fails...
RealThunder's A3 Wiki translation, join the project https://crowdin.com/project/freecad-asm3-wiki
User avatar
jpg87
Posts: 809
Joined: Thu Mar 16, 2017 7:16 am
Location: Limoges - France
Contact:

Re: Assembly3 preview

Post by jpg87 »

Here is the version I use:

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 2022.118.30769 (Git)
Build type: Release
Branch: LinkDaily
Hash: 3b620b713e24c9637db8ea6ad1f1ee88ef13367a
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.6.0
Locale: French/France (fr_FR)

...and the type of error message I get

Code: Select all

23:16:04  <Exception> File 'D:/03_trav_FreeCad_Asm3/00animAsm3/01ExForum/06cnc/ТаблицаПараметров.FCStd' does not exist!
23:16:04  Exception opening file: D:/03_trav_FreeCad_Asm3/00animAsm3/01ExForum/06cnc/ТаблицаПараметров.FCStd [File 'D:/03_trav_FreeCad_Asm3/00animAsm3/01ExForum/06cnc/ТаблицаПараметров.FCStd' does not exist!]

Code: Select all

23:20:51  <Exception> File 'D:/03_trav_FreeCad_Asm3/00animAsm3/01ExForum/06cnc/ТаблицаПараметров.FCStd' does not exist!
23:20:51  Exception opening file: D:/03_trav_FreeCad_Asm3/00animAsm3/01ExForum/06cnc/ТаблицаПараметров.FCStd [File 'D:/03_trav_FreeCad_Asm3/00animAsm3/01ExForum/06cnc/ТаблицаПараметров.FCStd' does not exist!]
23:20:51  Traceback (most recent call last):
  File "<string>", line 10, in onChange
  File "C:\Program Files\FreeCADasm3d\Mod\Start\StartPage\StartPage.py", line 519, in handle
    SECTION_RECENTFILES += encode(buildCard(filename,method="LoadMRU.py?MRU=",arg=str(i)))
  File "C:\Program Files\FreeCADasm3d\Mod\Start\StartPage\StartPage.py", line 384, in buildCard
    f.write(result)
  File "C:\Program Files\FreeCADasm3d\bin\lib\encodings\cp1252.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
<class 'UnicodeEncodeError'>: 'charmap' codec can't encode characters in position 324-334: character maps to <undefined>

Code: Select all

23:24:39  Traceback (most recent call last):
  File "<string>", line 10, in onChange
  File "C:\Program Files\FreeCADasm3d\Mod\Start\StartPage\StartPage.py", line 519, in handle
    SECTION_RECENTFILES += encode(buildCard(filename,method="LoadMRU.py?MRU=",arg=str(i)))
  File "C:\Program Files\FreeCADasm3d\Mod\Start\StartPage\StartPage.py", line 384, in buildCard
    f.write(result)
  File "C:\Program Files\FreeCADasm3d\bin\lib\encodings\cp1252.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
<class 'UnicodeEncodeError'>: 'charmap' codec can't encode characters in position 324-331: character maps to <undefined>
etc...
I do not understand what is happening.

I tried with the latest version in Linux and I also have error messages.

OS: Ubuntu Core 20 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 2022.307.14555 (Git shallow)
Build type: Release
Branch: (HEAD detached at 2022.03.07-edge)
Hash: 426e5bafab1f895e6b91f95174b54435be9f43cc
Python version: 3.8.10
Qt version: 5.15.3
Coin version: 4.0.1
OCC version: 7.6.1
Locale: French/France (fr_FR)
My website : http://help-freecad-jpg87.fr updated 2023/11/06
User avatar
bambuko
Veteran
Posts: 2161
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: Assembly3 preview

Post by bambuko »

jpg87 wrote: Wed Mar 23, 2022 10:30 pm etc...
I do not understand what is happening...
the only difference between you and me is OCC version (in your case both Win and Linux are 7.6) whereas mine is 7.5 (because I use appimage)
I will try Win version tomorrow and let you know if it makes difference?
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
User avatar
Kuzma30
Posts: 163
Joined: Wed Oct 24, 2018 11:50 am
Location: Ukraine

Re: Assembly3 preview

Post by Kuzma30 »

jpg87 wrote: Wed Mar 23, 2022 10:30 pm Here is the version I use:

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 2022.118.30769 (Git)
Build type: Release
Branch: LinkDaily
Hash: 3b620b713e24c9637db8ea6ad1f1ee88ef13367a
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.6.0
Locale: French/France (fr_FR)

...and the type of error message I get

Code: Select all

23:16:04  <Exception> File 'D:/03_trav_FreeCad_Asm3/00animAsm3/01ExForum/06cnc/ТаблицаПараметров.FCStd' does not exist!
23:16:04  Exception opening file: D:/03_trav_FreeCad_Asm3/00animAsm3/01ExForum/06cnc/ТаблицаПараметров.FCStd [File 'D:/03_trav_FreeCad_Asm3/00animAsm3/01ExForum/06cnc/ТаблицаПараметров.FCStd' does not exist!]
Check that you have file ТаблицаПараметров.FCStd. This is file with all configuration tables.
RealThunder's A3 Wiki translation, join the project https://crowdin.com/project/freecad-asm3-wiki
User avatar
bambuko
Veteran
Posts: 2161
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: Assembly3 preview

Post by bambuko »

bambuko wrote: Wed Mar 23, 2022 10:55 pm ...I will try Win version tomorrow and let you know if it makes difference?
all opens perfectly fine in Win10 as well:
kuzma.png
kuzma.png (152.83 KiB) Viewed 3232 times
Kuzma30 wrote: Wed Mar 23, 2022 10:37 am File ПроставкаY.FCStd is damaged, but it is not used in the assembly yet.
That cannot be true. It must be used in assembly, because if I open assembly file(СтанинаСборка.FCStd) file ПроставкаY.FCStd opens as part of the assembly (see picture attached above).
It is simply because ПроставкаY.FCStd is used in ТаблицаПараметров.FCStd and therefore it is used in assembly (because ТаблицаПараметров.FCStd is part of the assembly).
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Assembly3 preview

Post by adrianinsaval »

the error messages talks about unicode stuff, perhaps the cyrillic letters are giving it trouble, do you have a way of renaming to latin letters only?
User avatar
Kuzma30
Posts: 163
Joined: Wed Oct 24, 2018 11:50 am
Location: Ukraine

Re: Assembly3 preview

Post by Kuzma30 »

bambuko wrote: Thu Mar 24, 2022 7:56 am
bambuko wrote: Wed Mar 23, 2022 10:55 pm ...I will try Win version tomorrow and let you know if it makes difference?
all opens perfectly fine in Win10 as well:
Fine, but not correct. The position of the right plate is not correct. I updated a few files on github. I decided to solve problems in small portions. The assembly has been split into several sub-assemblies. I described the problems with sub-assemblies above.
RealThunder's A3 Wiki translation, join the project https://crowdin.com/project/freecad-asm3-wiki
User avatar
bambuko
Veteran
Posts: 2161
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: Assembly3 preview

Post by bambuko »

adrianinsaval wrote: Thu Mar 24, 2022 1:07 pm ... perhaps the cyrillic letters are giving it trouble,
yes, I thought about it as well, but if it was the case I would have similar problem :?:
I didn't want to rename thing because of the mess it would create with external links in assembly file - it is complicated enough :lol:
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
Post Reply