OSArch Community

Learning Python for Architecture

  1. B

    Hello everyone,

    I would like to know if you have any recommendations on how to learn python for architecture. I've been studying python for a few months, watched a few begginers tutorials, played around with processing.py and the Blender API, all of this in a begginers level. I am struggling right now to find out what would be the next steps so I can develop my skills in a intermediate level. My main focus would be to use python on software and add-ons development for architecture and be able to contribute with the OSArch community with some coding as well. Any suggestions? Thanks

  2. M

    Welcome to OSArch, @bruno_perdigao ! I'd highly recommend https://wiki.osarch.org/index.php?title=IfcOpenShell_code_examples

    Get familiar with your tool of choice (Blender, FreeCAD, Code_Aster, etc), and then find a shortcoming, and let's fix it! We are available to guide you through the process of learning the codebase and how to make tweaks.

  3. B
  4. P

    Me too beginner, and have made a few fixes and small improvements to FreeCAD Arch / Draft Workbench !

    Can made your desirable feature on your own !

  5. R

    @Moult currently does IfcOpenShell support the whole IFC4x3TC1? and its Psets and Qtos?

    How can I have a list of all types, and entities { explicit, derived, inverse }?

    https://standards.buildingsmart.org/IFC/DEV/IFC4_3/RC1/EXPRESS/IFC4x3_RC1.exp

    For instance:

    IfcRoot = [[GlobalId : IfcGloballyUniqueId], [OwnerHistory : OPTIONAL IfcOwnerHistory], [Name : OPTIONAL IfcLabel], [Description : OPTIONAL IfcText]]

    IfcBoxAlignment = IfcLabel ['top-left', 'top-middle', 'top-right', 'middle-left', 'center', 'middle-right', 'bottom-left', 'bottom-middle', 'bottom-right']

    Or something like that?

  6. C
  7. B

    Thanks, guys! I’ll take a look at your suggestions

  8. M

    @ReD_CoDE yes, it is supported. Parsing the EXP yourself is one way to get the full list.

  9. R

    @Moult like first days, I'm thinking about mapping IFC schema/spect to SQLite: https://github.com/IfcSharp/IfcSharpLibrary/issues/3

    But I think it'd be good if we map it to JSON too (Ifc2JSON somewhat developed based on this goal, but it's focused on Ifc file, not IFC schema)

    I shared a test file and the requirements at the above link

  10. P

    Hello.. please I am a newbie in the field of OpenBIM, Python in Architecture etc. I really would like to learn and apply OpenBIM and python in manipulation of Building Energy modeling. Please I need guidance on the basic steps I could take (if possible I would need recommendations for courses that could help me achieve this well).

  11. M
  12. P

    @Moult Yes I have. I have started learning Python and I am using the FreeCAD manual to learn.

  13. B

    Hi @polsonmila, I'm still on my path to learn more about this, but I can tell you some of the things that helped me in the very beginning.

    If you are very new to computer science I recommend the CS50 course: https://cs50.harvard.edu/college/2020/fall/

    I learned the python basics in a Coursera course in portuguese, but I guess that there are a lot of good options in Coursera and EdX.

    Another good option is to learn Python with Processing, because it gets a bit more practical and relatable with computer graphics. I recommend this: https://tabreturn.github.io/code/processing/python/2018/06/12/processing.py_in_ten_lessons-1.1-_intro_to_processing.html

    You can also use Blender to practice some Python skills:

    As I said, I am a beginner myself, so I don't know if this is the right path, but these are some of the things that worked for me. Hope it helps!

  14. B
  15. M
  16. P

    @bruno_perdigao thank you for the advice

  17. B

    EasyBPY is a module for Blender that has been designed to help simplify the use of Python in Blender. It does this by providing you with a collection of plain-English, easy to understand commands.

    As a single file, EasyBPY is easy to use both inside of Blender, and as an extension to any addon projects.

    https://github.com/curtisjamesholt/EasyBPY

Login or Register to reply.