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!
User avatar
yorik
Site Admin
Posts: 12064
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels, Belgium
Contact:

Arch MultiMaterials

Post by yorik » Wed May 03, 2017 4:37 pm

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: 721
Joined: Sun Jul 12, 2015 8:17 am
Contact:

Re: Arch MultiMaterials

Post by regis » Wed May 03, 2017 4:55 pm

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

Re: Arch MultiMaterials

Post by pablogil » Wed May 03, 2017 10:11 pm

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
Posts: 1156
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: Arch MultiMaterials

Post by bitacovir » Thu May 04, 2017 12:49 am

Great! Well done :D
::bitacovir::
===================================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

My personal web site
My GitHub repository
My old Blog
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 » Thu May 04, 2017 9:11 pm

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
Site Admin
Posts: 12064
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels, Belgium
Contact:

Re: Arch MultiMaterials

Post by yorik » Thu May 04, 2017 9:36 pm

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 » Fri May 05, 2017 6:20 am

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
Site Admin
Posts: 12064
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels, Belgium
Contact:

Re: Arch MultiMaterials

Post by yorik » Fri May 05, 2017 3:53 pm

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: 845
Joined: Wed Nov 26, 2014 3:19 pm
Location: Badajoz (Spain)
Contact:

Re: Arch MultiMaterials

Post by pablogil » Sat May 06, 2017 10:52 am

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
Posts: 2756
Joined: Wed May 04, 2016 3:58 pm

Re: Arch MultiMaterials

Post by paullee » Tue May 09, 2017 5:35 pm

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

Who is online

Users browsing this forum: No registered users and 1 guest