Arch Space

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!
Post Reply
User avatar
yorik
Founder
Posts: 13659
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Arch Space

Post by yorik »

One more arch object is alive: the arch space!

Basically it is a solid shape (but represented as "empty") that can be defined either 1) by an underlying solid shape object or 2) by a set of boundary faces from other objects. In that case, the space volume is defined by taking the bounding box of all the faces, then removing exterior parts behind the boundary faces. New boundary faces can be added later with the Arch Add button, even to spaces created from a solid. Existing boundaries can be removed with the Arch Remove button.

Finally, the space uses the new "detailed" display mode (that will in the future be used by all Arch objects) to show the area, taken from a horizontal section plane that cuts the space at its center.

Image

You can also use faces from other spaces to define spaces, so it's pretty powerful, you can build big "bubbles" systems, like arch students adore :) One thing still missing is the ability to do the contrary of the image above, that is, build walls from space faces. Not that useful IMHO, but apparently some people want very much to do that...
User avatar
yorik
Founder
Posts: 13659
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Arch Space

Post by yorik »

Arch Walls can now be made from faces of spaces...

Image
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Arch Space

Post by triplus »

Great! This is one of those features i don't need ATM but just know it will come in handy in the future!
User avatar
rockn
Veteran
Posts: 1791
Joined: Wed Sep 28, 2011 10:39 am
Location: Toulouse, France
Contact:

Re: Arch Space

Post by rockn »

Is there a way to display area in another unit ?
In my case I draw in mm and the space area is in mm², can I display it in m² ? (Division by 1000000) ?
Formations - Assistance - Développement : https://freecad-france.com
User avatar
yorik
Founder
Posts: 13659
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Arch Space

Post by yorik »

Not at the moment, I could actually add something to do that, but I prefer to wait for the units system to be developed further, because then it might make things easier to implement, and integrate better with the rest of freecad. Jürgen said he is working on the units system, so we might see something soon.
User avatar
rockn
Veteran
Posts: 1791
Joined: Wed Sep 28, 2011 10:39 am
Location: Toulouse, France
Contact:

Re: Arch Space

Post by rockn »

Ok, no matter. I can write the result in place of $area. ;)
Formations - Assistance - Développement : https://freecad-france.com
User avatar
regis
Posts: 725
Joined: Sun Jul 12, 2015 8:17 am
Contact:

Re: Arch Space

Post by regis »

Hello, I was just wondering about this:
when writing these in python, is it better to write

Code: Select all

"HeatedAndCooled"

Code: Select all

"NaturallyVentedOnly"
sort of joined text? or is there a reason why it's better to write this like this?
instead of creating a space in between every word
like

Code: Select all

"Heated And Cooled"
,

Code: Select all

"Naturally Ventilated Only"
I was wondering if it related to Python 'readability syntax where i've seen examples of first letter capital letters etc etc?
Attachments
Screenshot from 2019-02-27 23-25-10.png
Screenshot from 2019-02-27 23-25-10.png (8.6 KiB) Viewed 3011 times
User avatar
yorik
Founder
Posts: 13659
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Arch Space

Post by yorik »

I t depends on the context. If you are going to use these as variable names somehow, then it's better to have them without spaces. It is the case for property names for example, that can be accessed via python, and in such cases having spaces wouldn't work. If it will be just a list of values, however, then there is no problem in having spaces.

In the above case however, IIRC these values are taken from the IFC specs (or is it GBXML? I don't remember), and so they were kept the way they are there, for compatibility.
Post Reply