Arch MultiMaterials

Info about new community or project announcements, implemented features, classes, modules or APIs. Might get technical!
PLEASE DO NOT POST HELP REQUESTS OR OTHER DISCUSSIONS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
yorik
Founder
Posts: 13659
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Arch MultiMaterials

Post by yorik »

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.

Image

Image

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.
User avatar
regis
Posts: 725
Joined: Sun Jul 12, 2015 8:17 am
Contact:

Re: Arch MultiMaterials

Post by regis »

Amazing. This looks like revit.
User avatar
pablogil
Posts: 882
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: Arch MultiMaterials

Post by pablogil »

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 ;)
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
User avatar
bitacovir
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: Arch MultiMaterials

Post by bitacovir »

Great! Well done :D
::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
Renato Rebelo
Posts: 255
Joined: Mon May 19, 2014 1:14 pm
Location: Vouzela - Portugal

Re: Arch MultiMaterials

Post by Renato Rebelo »

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
my native language is not English, please excuse me any incorrectness, I apologize for any inconvenience caused, thank you
User avatar
yorik
Founder
Posts: 13659
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Arch MultiMaterials

Post by yorik »

Renato Rebelo wrote:But I can not see the various layers in different colors?
It should be... maybe there is a recompute needed somewhere?
Renato Rebelo
Posts: 255
Joined: Mon May 19, 2014 1:14 pm
Location: Vouzela - Portugal

Re: Arch MultiMaterials

Post by Renato Rebelo »

yorik wrote:
Renato Rebelo wrote:But I can not see the various layers in different colors?
It should be... maybe there is a recompute needed somewhere?
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 ...
my native language is not English, please excuse me any incorrectness, I apologize for any inconvenience caused, thank you
User avatar
yorik
Founder
Posts: 13659
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Arch MultiMaterials

Post by yorik »

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.
User avatar
pablogil
Posts: 882
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: Arch MultiMaterials

Post by pablogil »

I have tested it and it works like a charm!
Dark and Light stylesheets v2.0 to theme your FreeCAD UI, more information here
paullee
Veteran
Posts: 5118
Joined: Wed May 04, 2016 3:58 pm

Re: Arch MultiMaterials

Post by paullee »

Renato Rebelo wrote:
yorik wrote:
Renato Rebelo wrote:But I can not see the various layers in different colors?
It should be... maybe there is a recompute needed somewhere?
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 ...
This is a simple but clever solution! I am exploring how to productively use this feature!

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
Post Reply