Concrete branch ready for testing

About the development of the FEM module/workbench.

Moderator: bernd

User avatar
bernd
Posts: 11096
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Concrete branch ready for testing

Postby bernd » Sat Jun 01, 2019 8:55 am

great, This makes sense to me. I will use this and make some comment. These are just numbers. Anyone can change them for his needs.
User avatar
bernd
Posts: 11096
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Concrete branch ready for testing

Postby bernd » Mon Jun 03, 2019 8:29 pm

https://github.com/berndhahnebach/FreeC ... 157e61e77c

ok now really only the pre checks for ccxtools solver are missing ...
User avatar
bernd
Posts: 11096
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Concrete branch ready for testing

Postby bernd » Wed Jun 05, 2019 7:53 pm

@harry:
I would like to go for a merge into master. :D Would you give it another try, especially the task panel?

cheers bernd
User avatar
bernd
Posts: 11096
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Concrete branch ready for testing

Postby bernd » Thu Jun 06, 2019 3:29 am

User avatar
HarryvL
Posts: 1071
Joined: Sat Jan 06, 2018 7:38 pm
Location: Netherlands

Re: Concrete branch ready for testing

Postby HarryvL » Thu Jun 06, 2019 4:30 am

bernd wrote:
Wed Jun 05, 2019 7:53 pm
@harry:
I would like to go for a merge into master. :D Would you give it another try, especially the task panel?

cheers bernd
Ok will do.
User avatar
HarryvL
Posts: 1071
Joined: Sat Jan 06, 2018 7:38 pm
Location: Netherlands

Re: Concrete branch ready for testing

Postby HarryvL » Thu Jun 06, 2019 10:07 am

I cloned your master branch and don’t get the reinforced material option. Guess I need to clone your femconcrete branch instead :(
User avatar
bernd
Posts: 11096
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Concrete branch ready for testing

Postby bernd » Thu Jun 06, 2019 10:38 am

yep femconcrete branch :)
User avatar
HarryvL
Posts: 1071
Joined: Sat Jan 06, 2018 7:38 pm
Location: Netherlands

Re: Concrete branch ready for testing

Postby HarryvL » Fri Jun 07, 2019 1:04 am

Judging from the branch info I got myself into a git mess again:

Code: Select all

OS: Ubuntu 16.04.5 LTS (Unity/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16935 (Git)
Build type: Unknown
Branch: (HEAD detached at origin/femconcrete)
Hash: 3f025500635a0ccb3e3a870c3765f99364da0d80
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedStates (en_US)
Anyway, I can build from this branch and now get the reinforced material icon. However, when I add a reinforced material and enter the dialog I get:


femconcrete_1.png
femconcrete_1.png (228.46 KiB) Viewed 238 times


and the object entry in the tree is yellowed-out and can't be deleted anymore with the message "close open dialog box first" ... but there isn't one.

Code: Select all

Custom material directory set by user:  does not exist.
File CardName ( Concrete_New ) is not content CardName ( Standard Concrete Material )
card_path: Previously used material card cannot be found in material directories. Add document material.
choose_material in FEM material task panel:
    _Document_Matrix_Material
set([])
card_path: _Document_Matrix_MaterialPreviously used material card was found in material directories. We will use this material.
Traceback (most recent call last):
  File "/home/harry/FC_019/build/Mod/Fem/femguiobjects/_ViewProviderFemMaterialReinforced.py", line 243, in accept
    if checkunits(self.material_m) is True and checkunits(self.material_r) is True:
  File "/home/harry/FC_019/build/Mod/Material/materialtools/cardutils.py", line 602, in check_mat_units
    known_quantities = get_known_material_quantity_parameter()
  File "/home/harry/FC_019/build/Mod/Material/materialtools/cardutils.py", line 323, in get_known_material_quantity_parameter
    template_data = get_material_template()
  File "/home/harry/FC_019/build/Mod/Material/materialtools/cardutils.py", line 217, in get_material_template
    import yaml
<type 'exceptions.ImportError'>: No module named yaml
User avatar
bernd
Posts: 11096
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Concrete branch ready for testing

Postby bernd » Fri Jun 07, 2019 2:33 pm

Code: Select all

apt-get install python-yaml
or if you use Python3

Code: Select all

apt-get install python3-yaml
User avatar
bernd
Posts: 11096
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: Concrete branch ready for testing

Postby bernd » Fri Jun 07, 2019 2:38 pm

NormandC wrote: ping
sgrogan wrote: ping
Where on the wiki do we need to add the python-yaml package as a dependency?