Arch MultiMaterials
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Arch MultiMaterials
A new feature has landed in Arch: Multi-Materials.
The concept is simple: It is a list of layers with a name, a material and a thickness. It can be attributed to Arch objects instead of their normal Material.
Not all of the Arch objects can do something with it. So far:
- Walls and Panels use it to create multi-layer walls and panels. Windows will correctly create a hole through all the layers.
- Windows use it to attribute different materials to the different components of the window
So far it won't solve the problem of what happens when two multilayer walls meet, but I think this is already a good step forward. I'm specially happy to have found a simple, unified way to handle more complex wall definitions. The multimaterial system can easily be extended to add more properties to material layers if needed.
Another consequence is that now the "migration" of Arch to multi-solids is more or less complete. Before, the paradigm was that each arch object = one solid. Now, it is: each arch object = any number of solids.
The concept is simple: It is a list of layers with a name, a material and a thickness. It can be attributed to Arch objects instead of their normal Material.
Not all of the Arch objects can do something with it. So far:
- Walls and Panels use it to create multi-layer walls and panels. Windows will correctly create a hole through all the layers.
- Windows use it to attribute different materials to the different components of the window
So far it won't solve the problem of what happens when two multilayer walls meet, but I think this is already a good step forward. I'm specially happy to have found a simple, unified way to handle more complex wall definitions. The multimaterial system can easily be extended to add more properties to material layers if needed.
Another consequence is that now the "migration" of Arch to multi-solids is more or less complete. Before, the paradigm was that each arch object = one solid. Now, it is: each arch object = any number of solids.
Re: Arch MultiMaterials
Amazing. This looks like revit.
Re: Arch MultiMaterials
I love it.
It will be perfect when you guess how to handle meeting walls and what layers follow the holes (windows and doors) and ones not.
I'll stay tuned
It will be perfect when you guess how to handle meeting walls and what layers follow the holes (windows and doors) and ones not.
I'll stay tuned
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
Re: Arch MultiMaterials
Great! Well done
::bitacovir::
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)
Canal Youtube Grupo Telegram de FreeCAD Español
My personal web site
My GitHub repository
Mini Airflow Tunnel Project
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)
Canal Youtube Grupo Telegram de FreeCAD Español
My personal web site
My GitHub repository
Mini Airflow Tunnel Project
-
- Posts: 255
- Joined: Mon May 19, 2014 1:14 pm
- Location: Vouzela - Portugal
Re: Arch MultiMaterials
Amazing
But I can not see the various layers in different colors?
In addition, it now lacks a good hatch system ...
Thank you for the excellent work,
Renato Rebelo
OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10993 (Git)
Build type: None
Branch: master
Hash: bf5f3484f6f5506795b6e9b86288c75ab7357291
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
But I can not see the various layers in different colors?
In addition, it now lacks a good hatch system ...
Thank you for the excellent work,
Renato Rebelo
OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10993 (Git)
Build type: None
Branch: master
Hash: bf5f3484f6f5506795b6e9b86288c75ab7357291
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
my native language is not English, please excuse me any incorrectness, I apologize for any inconvenience caused, thank you
Re: Arch MultiMaterials
It should be... maybe there is a recompute needed somewhere?Renato Rebelo wrote:But I can not see the various layers in different colors?
-
- Posts: 255
- Joined: Mon May 19, 2014 1:14 pm
- Location: Vouzela - Portugal
Re: Arch MultiMaterials
Already made it work, but it only starts working after doing any operation that involves editing the color on the wall and doing a recompute, after that it works normally ...yorik wrote:It should be... maybe there is a recompute needed somewhere?Renato Rebelo wrote:But I can not see the various layers in different colors?
my native language is not English, please excuse me any incorrectness, I apologize for any inconvenience caused, thank you
Re: Arch MultiMaterials
Okay found the problem, it's fixed in git commit aa65230d4
I also added a combo box in the wall creation task panel,so you can now pick a multimaterial when creating a wall. The multimaterial you select there is remebered throughout the session, so next time you use the wall command, it will have the previous multimaterial selected already.
I also added a combo box in the wall creation task panel,so you can now pick a multimaterial when creating a wall. The multimaterial you select there is remebered throughout the session, so next time you use the wall command, it will have the previous multimaterial selected already.
Re: Arch MultiMaterials
I have tested it and it works like a charm!
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
Re: Arch MultiMaterials
This is a simple but clever solution! I am exploring how to productively use this feature!Renato Rebelo wrote:Already made it work, but it only starts working after doing any operation that involves editing the color on the wall and doing a recompute, after that it works normally ...yorik wrote:It should be... maybe there is a recompute needed somewhere?Renato Rebelo wrote:But I can not see the various layers in different colors?
EDIT:
Just minor comments.
1. I find it does not work on closed sketch / Dwire Face - e.g. a rectangular solid column, circular column, wall in trapezoid shape do not work currently....
2. The Multi-material needs to depend on ArchMaterial or it will not work, though hinted in wiki "...Name and Material fields are mandatory....", but it still create an object...
I create a Multi-Material w/o first creating corresponding ArchMaterial, which does not work...double-clicking it return nothing (as it should when I later found when the Multi-material is created properly.) When the Multi-material is created w/o selecting the materials in the dialog box (when it should have been), OK return silently w/o warning, and created an object that could not be further edited or rectified.
BTW, what would you use this Multi-material for as an example?
OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11009 (Git)
Build type: Unknown
Branch: master
Hash: 77386684fb76c0d91ea05cc6a0e005d5d8441d21
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.8.0.oce-0.17