How I use Python in Structural Engineering

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 พ.ย. 2024

ความคิดเห็น • 106

  • @Crazy1793
    @Crazy1793 2 ปีที่แล้ว +12

    Holy moly, all these packages has to be hands down my new favourite python libraries. I'm so glad that I've stumbled upon your video and channel!
    I'm getting excited to contribute to these libraries, especially handcalc

  • @colincaprani
    @colincaprani 2 ปีที่แล้ว +9

    Wonderful work Connor - you're trailblazing for our industry, and it desperately needs it!

  • @kuntalpcelebi2251
    @kuntalpcelebi2251 2 ปีที่แล้ว +10

    I use it in a very similar fashion but I didn't know such libraries existed. I also add structural CAD drawings to my solutions, using ezdxf library in jypiter also text reporting for repetitive work. Anyways. Brilliant work. I will check your libraries more often. I am subbed. Please keep up the good work or create a course in udemmy :D

  • @jimzwartveld
    @jimzwartveld 2 ปีที่แล้ว +4

    That's a nice video that coincidentally popped-up in my feed Connor! Thank you for sharing! I tend to use handcalcs all the time and encourage my colleagues to do so as well. Happy to contribute in the future!

  • @flamethrower883
    @flamethrower883 2 ปีที่แล้ว +5

    Your package is great. Although many software readily do this, being able to code this yourself in python makes the difference. As a learner, I really appreciate this.

    • @connorferster
      @connorferster  2 ปีที่แล้ว +11

      Thanks so much, Paulo! Agreed, the individual capabilities are not the important part. The fact that these tools are free and open-source and that, using Python, you can fluidly weave them all together to suit your specific needs is the important part.
      I think it is important for engineers not to be locked in to using proprietary apps because we have limited control over them and they are not always correct. I think that computers are such an important tool in the engineering toolbox, it seems logical to me that we would want to have a certain amount of mastery of the tool.

  • @malanchini4516
    @malanchini4516 9 หลายเดือนก่อน

    Great! I do my technical report using dash. But I'm getting exited to use these libraries. Thanks!

  • @croniky
    @croniky ปีที่แล้ว

    That hand calc render library is sweet.

  • @alexcondor2157
    @alexcondor2157 2 ปีที่แล้ว +1

    This is awesome, I didn’t know those modules existed, I’m installing them as I type this comment. I’m a final civil engineering student (UG) and I use AI for construction cost estimation (Direct and Indirect Costs).

  • @roquetrinidad5318
    @roquetrinidad5318 2 ปีที่แล้ว +1

    Terrific job!, thanks for sharing the knowledge with all the community. I would like to deep more and using more python in my daily job! Thanks for encouraging all of us. 💪

  • @Sam-hd7ty
    @Sam-hd7ty 6 หลายเดือนก่อน

    I am a student doing my final year project for tunnel analysis visualization and generating defects reports by editing python codes. I have always been so tired of doing manual calculations for my school work. I seriously need to learn programming to work more efficiently. Thanks a lot for inspiration.

  • @gerardodacruz5188
    @gerardodacruz5188 ปีที่แล้ว +3

    Hei Connor, Thank you very much for both amazing video and handcalcs man. I am totally mindblown that not only you are a structural engineer, but you are only an expert in Python as well. I was wondering if you might be interested in making video regarding why and how did you learnt to the point that you could even contribute to Python community. Again, really appreciate it for your effort

  • @normansabin8322
    @normansabin8322 2 ปีที่แล้ว

    Bro you literally coded exactly as it made sense in your head. Even if that was a voiceover, it was SO smooth.

    • @connorferster
      @connorferster  2 ปีที่แล้ว

      Lol , it took several rehearsals. Not like that irl :)

  • @harikumarv4658
    @harikumarv4658 2 ปีที่แล้ว +2

    Very insightful video. Thank you very much for taking time to do basic demonstrations. I follow Dr Becky as well and had watched her video on how she uses python in astronomy. I can't wait for the course you will be putting up! Thanks a ton.

  • @MengLim
    @MengLim 2 ปีที่แล้ว

    Hi Conor, Thank you very much for this sharing. I also did some research with python but after revit come up. I have switch to use dynamo for Revit/BIM, Structure Archi and also MEP. Anyway whatever we can learn is our benefit. Let share it to each other.

  • @LuisAvila151075
    @LuisAvila151075 2 ปีที่แล้ว

    Great work!!! I am thinking of enrolling to you next course.

  • @MrBauer007
    @MrBauer007 2 ปีที่แล้ว +1

    There are engineers, And then there are engineer's engineers. This is super cool stuff!

  • @robbie_vanleeuwen
    @robbie_vanleeuwen 2 ปีที่แล้ว +1

    Great video Connor! Looking forward to seeing more :)

  • @MWaleedMirza
    @MWaleedMirza 2 ปีที่แล้ว +1

    Great video. Please keep them coming!!

  • @petarbabic9409
    @petarbabic9409 2 ปีที่แล้ว

    Excellent video Connor! You have lit my passion for python and jupyter! I am a Mechanical Engineer and I can't wait to write scripts which will generate reports and certain calculations for me.

  • @structureexpert7985
    @structureexpert7985 2 ปีที่แล้ว

    thank you. Please upload more video.

  • @cleisonarmandomanriqueagui7502
    @cleisonarmandomanriqueagui7502 2 ปีที่แล้ว

    This is definitely amazing ... Thanks for sharing

  • @Prodigalzson
    @Prodigalzson ปีที่แล้ว +4

    Handcalcs....I've never been sold on a library faster.

  • @NodesAutomations
    @NodesAutomations 2 ปีที่แล้ว

    This is amazing thanks for sharing this. 🙂It's exciting to find more ways to implement automation to our structural engineering workflows.

  • @charliearmour1628
    @charliearmour1628 2 หลายเดือนก่อน

    Excellent, thank you.

  • @klchen2493
    @klchen2493 2 ปีที่แล้ว

    thx, you broaden my horizon

  • @abdolkarimmehrparvar6583
    @abdolkarimmehrparvar6583 2 ปีที่แล้ว +1

    WOW, actually this is the best source of python application in civil engineering I've found on TH-cam, please provide more video and a bit in depth

  • @f.c2130
    @f.c2130 2 ปีที่แล้ว +9

    Hi ! Can you make a video on how to start learning python as a structural engineer ? How do make them more relevant/related in the engineering industry ?

    • @connorferster
      @connorferster  2 ปีที่แล้ว +4

      Yep! I will be starting a whole new channel to explore this topic further :)

    • @2btns920
      @2btns920 2 ปีที่แล้ว +1

      @@connorferster have you started your new channel? If yes, please share the link. Thank you

    • @matouspetrik
      @matouspetrik ปีที่แล้ว

      @@connorferster yes, if you started with new content related to that, share a link, thx

  • @NTC
    @NTC 2 ปีที่แล้ว

    You made my day! Thanks for making such a great inspiring video!

  • @AJ-et3vf
    @AJ-et3vf ปีที่แล้ว

    Great video. Thank you

  • @swopnilojha4619
    @swopnilojha4619 ปีที่แล้ว

    Wonderful library. It would be great if we could render one dimension vectors along with their units. I have been doing that in mathcad express using the range variable.

  • @geostructureacademy
    @geostructureacademy 2 ปีที่แล้ว

    Wonderful! I am impressed.

  • @farmGits
    @farmGits 6 หลายเดือนก่อน

    This is awesome! I have much work to do

  • @pariskhan
    @pariskhan 11 หลายเดือนก่อน

    you are a true genius.

  • @arunprasadr3235
    @arunprasadr3235 2 ปีที่แล้ว

    Great video Sir !!
    Thanks for sharing your knowledge with us.
    Hope to look for more similar videos.
    Please tell me if any advanced courses available in online related to structural engineering.

  • @mikeborzoni2570
    @mikeborzoni2570 8 หลายเดือนก่อน

    This is unbelievably powerful! Thank you so much! Is there a way of overwriting the units that are rendered? For example, I want 100 Pa shown as 0.1 kPa

    • @connorferster
      @connorferster  8 หลายเดือนก่อน

      Glad you like it! Yep, for SI units (only), you can choose to set a prefix:
      p = 0.1 * kPa.prefix("k")

  • @chandrasajana2299
    @chandrasajana2299 หลายเดือนก่อน

    superb!!!!

  • @GeoteknikIndonesia
    @GeoteknikIndonesia ปีที่แล้ว

    Hello sir. thanks for great forallpeople and handcalcs. youre a legend. I have a question, I cant create kN/m (e.g. for line load application), it is always converted to joule. any suggestion ? thanks sir

  • @jandomeracki1472
    @jandomeracki1472 ปีที่แล้ว

    Hi Connor. I see You use Bluebeam Revu. I wander if there is a way to automate certain boring and repeatable tasks in said programme (eg. updating titleblocks etc.)? Thanks!

  • @IngJGonzalezZorrilla
    @IngJGonzalezZorrilla 9 หลายเดือนก่อน

    Hi, nice content, is there any libraries of python that can help with details in dwg or IFC format? For example, draw a beam with reinforcement and export it to dwg. thanks

  • @duetboiduetboi4834
    @duetboiduetboi4834 2 ปีที่แล้ว +1

    Waiting for the new channel.

  • @tarond57
    @tarond57 2 ปีที่แล้ว +1

    Where did you learn to code like that ? I'd like to learn as well, but find it difficult to fit in my schedule with overtime.

  • @Timiscool1321
    @Timiscool1321 2 ปีที่แล้ว

    Great video

  • @alexhart15
    @alexhart15 2 ปีที่แล้ว +1

    I'm very interested in learning this... I'm tired of using free Mathcad without if statements. A follow up video with some sources would be nice!

    • @connorferster
      @connorferster  2 ปีที่แล้ว

      I have heard people say things like, “MathCAD is free.” without realizing that it is very much not. While handcalcs has a lot more room to grow, it is going to start needing new ideas from the other folks who use it everyday. Would love to hear your ideas.

    • @alexhart15
      @alexhart15 2 ปีที่แล้ว

      @@connorferster Sorry if I wasn't clear, MathCAD Express is the free version but its very limited (no if statements, limited graphical representation, many complex tools are locked, etc.). This looks like it has a lot more functionality.

    • @connorferster
      @connorferster  2 ปีที่แล้ว +2

      @@alexhart15 All good :) I did understand you but even the “free version” is not particularly “free”: it is intentionally limited, does not give rights for distribution and modification, and does not come with source code.
      Thank you for the compliments! They are appreciated.

  • @KHR1233
    @KHR1233 2 ปีที่แล้ว

    amazing love the content.

  • @johnovercash1798
    @johnovercash1798 9 หลายเดือนก่อน

    I was not put in context. Not knowing where the files are you working on and so forth. But I am sure this is interesting for someone who know CTI file for example.
    For me was no clue where did you start.

  • @mohamedaminhamidi6585
    @mohamedaminhamidi6585 ปีที่แล้ว +1

    Hey guys🙂, I'm a first year civil engineering student. Could you please suggest me some key skills to lean in python. I can't like learn everything!

    • @mohamedaminhamidi6585
      @mohamedaminhamidi6585 ปีที่แล้ว

      Up

    • @connorferster
      @connorferster  ปีที่แล้ว

      Of course you can learn “everything”!
      Learning “everything” comes with time. However, you are right, learning literally everything is something no one can achieve. I heard that the creator of Python rates his own knowledge of Python as 8/10.
      That said, the first thing I always teach is writing functions. This gives your code structure. Try writing some simple calculation functions based on what you are learning in school. Then, naturally, you will be interested in learning how to make your functions do more things (like looping and making decisions with if/elif/else) and you will learn this easily.
      Focus on writing functions. The output of one function can be the input of another. One function can can have the sole purpose of calling all your other functions.
      Good luck!

  • @trippstreehouse
    @trippstreehouse 7 หลายเดือนก่อน

    handcalcs is sexy. gonna be useful for my engineering degree.

  • @wh1ff78
    @wh1ff78 ปีที่แล้ว

    Hi Connor. I'm currently using handcalcs ver 1.6.5
    I'm not well versed in LaTeX.
    What should I change in these global configurations to get rendered calculations to be left aligned?
    import handcalcs.render
    handcalcs.set_option("math_environment_start", "aligned")
    handcalcs.set_option("math_environment_end", "aligned")

    • @connorferster
      @connorferster  ปีที่แล้ว

      It seems to be dependent on your renderer. When I use Mathjax rendering, it seems to be left-aligned by default. When I use the Katex plugin it seems to be centered automatically.

    • @wh1ff78
      @wh1ff78 ปีที่แล้ว

      ​@@connorferster
      I changed these :
      handcalcs.set_option("math_environment_start", "aligned")
      handcalcs.set_option("math_environment_end", "aligned")
      into "flalign*"
      And it seems to work well enough.
      But now I struggled to find how to export to html with nbconvert with Mathjax 3. For some reason even if try to change the cdn into Mathjax 3, nbconvert will still use Mathjax 2.7.7 🥲

  • @kunle009
    @kunle009 2 ปีที่แล้ว +6

    Nice work Sir. I am a student and currently implementing the direct stiffness method in Python. Any advice for me. As I would love to go deeper into the more complex stuffs like working with API's

  • @PaulGrosvenor1
    @PaulGrosvenor1 2 ปีที่แล้ว

    As a structural engineer I'd love to use python more similar to what you show however I always find I need to draw lots of sketches in my calcs. So end up typing most as manual calcs in bluebeam so I can easily add diagrams and sketches.

    • @connorferster
      @connorferster  2 ปีที่แล้ว

      Yes! Same here! Have been exploring ways of combining these two things…

    • @nascentnaga
      @nascentnaga 2 ปีที่แล้ว

      @@connorferster I use the Concepts App to draw in vector and just add those images to a markdown cell.

    • @connorferster
      @connorferster  2 ปีที่แล้ว

      @@nascentnaga Do you paste screenshots from Concept or are you exporting vector and displaying the vector image?

    • @nascentnaga
      @nascentnaga 2 ปีที่แล้ว +1

      @@connorferster if I'm using vector, I export to dxf with concepts natively. If I'm doing a one off calc, then png with some html to input the image in the calc sheet.
      Given you can export dxfs you can probably play with section properties I reckon

    • @connorferster
      @connorferster  2 ปีที่แล้ว +1

      @@nascentnaga I think I have to spend more time with Concepts!

  • @RickyTeachey
    @RickyTeachey 9 หลายเดือนก่อน

    I haven't tried it yet but is there something special about the %%render magic that causes printing to html not to display input cells? Or does Jupyter turn off input cells anytime you print html?

    • @RickyTeachey
      @RickyTeachey 9 หลายเดือนก่อน

      Ah nevermind I see it now- it went by so fast: there is a "no input" option when exporting to html. NICE.

  • @MrWebon
    @MrWebon 5 หลายเดือนก่อน

    Do more videos

  • @poornakadharmasena7714
    @poornakadharmasena7714 2 ปีที่แล้ว

    Hi there, this is amazing. Can this be used in Colab?

    • @connorferster
      @connorferster  2 ปีที่แล้ว

      I believe so, yeah? Google Colab is essentially the same as a Jupyter notebook, correct?

  • @p.piseth2756
    @p.piseth2756 2 ปีที่แล้ว

    Great video!!, I have one question though. Since there are many IDE or code writer for python such as Spyder which we can check variables value while running the scripts, why do you choose to use Jupiter for your work ? Looking forward to see a video for which best IDE for structural engineering..

    • @connorferster
      @connorferster  2 ปีที่แล้ว +3

      Thanks! When I first started running Python code, I was using Spyder. It’s very good.
      As I become more familiar with Jupyter, I appreciated its cell-based approach. It allows me to write formatted notebooks with code with all of the rich output right there in the notebook available for me to export to HTML or PDF.
      When I start working on a library or module, I often start in Jupyter and test out concepts. Once I have something figured out, I switch to VS Code and create a proper Python module to build off of.
      I find that Spyder’s “Run” command encourages development of less structured code. In essence, it treats a whole .py file as one cell of a notebook: one big input leading to one big output creating a single, monolithic stand-alone module/program (similar to how I was taught Matlab code).
      I think of my code as having two parts: 1) the module or package I am creating (which is not executable) and 2) the notebook where I utilize the module and execute the specific task I am performing. I find Jupyter is a very rich and flexible environment to execute tasks large and small and, with ipykernel, I can open a notebook and have it launch from any of my module-specific conda environments.

    • @p.piseth2756
      @p.piseth2756 2 ปีที่แล้ว

      Thank @connor,. I was doing some code with Matlab and VBA for my calculation. However, since the licence for individual use is not affordable anymore with Matlab, I have just started with Python. I am just new with it here, and feel confuse which those IDE and don't know which one is best use. I hope to understand and learn more about it.. Keep good work sir, Hope to see more updated video about this topic. Thank again.

  • @rodrigoherencia4507
    @rodrigoherencia4507 ปีที่แล้ว

    Hello Connor, is there a way we can use your library with pycharm for a desktop application?

  • @ty_au8851
    @ty_au8851 2 ปีที่แล้ว

    Is there a way to print the handcalcs onto an existing PDF template?

  • @alexcondor2157
    @alexcondor2157 2 ปีที่แล้ว

    What name should we pass to pip in order for us to install the “concrete_reports” module?

    • @connorferster
      @connorferster  2 ปีที่แล้ว +1

      It is not on PyPI so you would have to write it yourself. However, I can tell that it is built on tabula-py, which extracts tabular data from PDFs and returns it as a pandas DataFrame. Once you have that running, try reading a report from on if your testing providers with tabula-py to see what the resulting df looks like. Finally, write a function to extract the data you need from the cells of the df. Because each company’s reports have different formatting, you really do need to write your own for the reports you receive.

  • @taringachum5234
    @taringachum5234 2 ปีที่แล้ว

    Sir, I am pursuing a M.tech in structural engineering and my topic of desertation in final thesis is on designing structure by using phython programme please help me how to call match and string language on phython.

  • @napan1354
    @napan1354 2 ปีที่แล้ว +1

    two thumbs up

  • @jukti3742
    @jukti3742 2 ปีที่แล้ว

    Hi. First thanks a lot for all the good work you have done. I am using both of your python module forallpeople and handcalcs in one of my project. I has a situation thats requires some help from you. While using forallpeople, i need an output in one certain unit. But the auto-prefixing feature doesn't allow that. It will be very helpful if kindly let me know, how to print the result of a mathematical expression in user defined unit. For ex in KN only, not in N or MN etc, whatever may be the value of the result is.

    • @connorferster
      @connorferster  2 ปีที่แล้ว

      This sounds like an issue with forallpeople. Could you open an issue on GitHub with an example and I will advise and fix it if required. Thanks!

    • @jukti3742
      @jukti3742 2 ปีที่แล้ว +1

      @@connorferster aye. sure

  • @darl6000
    @darl6000 6 หลายเดือนก่อน

    Why he is not makin videos 😭😭

  • @harryhamblin3729
    @harryhamblin3729 2 ปีที่แล้ว

    Impressive! And well-presented.

  • @idreesrasa7890
    @idreesrasa7890 2 ปีที่แล้ว +1

    HI SIR , FOR A STRUCTURAL ENGINEERING WHO DOESN'T KNOW ANYTHING ABOUT CODING OR PROGRAMMING, WHAT ARE YOUR SUGGESTIONS, HOW SHOULD WE START PROGRAMMING?

    • @connorferster
      @connorferster  2 ปีที่แล้ว +11

      I can only recommend the way that I learned which is that I took a class. While in my 3rd year at the University of British Columbia, I enrolled in a Comp. Sci. course that was completely outside of my program (and I got no credit for) called, "Introduction to Systematic Program Design". It is taught in Python and is geared toward non-Comp. Sci. students to learn to write analysis programs in their own fields. It is an excellent course.
      I currently teach Python courses at my company but will be giving a "Python Course for Structural Engineers" with the Struct. Eng. Assoc. of British Columbia (SEABC). The course will be delivered online and is open to international engineers. The course will be in Sept. 2022 with registration opening somewhere in July/August
      Will be making a post about it closer to the registration date.

    • @alexhart15
      @alexhart15 2 ปีที่แล้ว

      @@connorferster I would definitely sign up for that... Is it possible to take it remotely?

    • @connorferster
      @connorferster  2 ปีที่แล้ว

      @@alexhart15 It is intended to be delivered remotely :) SEABC courses frequently have students who neither live in the region nor reside/work in Canada.

    • @Levius928
      @Levius928 2 ปีที่แล้ว

      @@connorferster about how much would the course cost just to get an idea?

    • @connorferster
      @connorferster  2 ปีที่แล้ว +2

      @@Levius928 The first course will be offered through the SEABC in the Sept 2022 term: seabc.ca/certificate-program/current-term/
      Registration will be open ~July/August. The SEABC courses are $650 CAD and are open to international students (SEABC membership not required).

  • @anthonydavythompsonstevens4297
    @anthonydavythompsonstevens4297 2 ปีที่แล้ว +1

    ❤❤❤👍👍👍

  • @PanosKoinis
    @PanosKoinis ปีที่แล้ว

    I use html in a similar way to create all my worksheets.

    • @connorferster
      @connorferster  ปีที่แล้ว

      Do you have any examples anywhere? Would love to see!

  • @jobbcarter8615
    @jobbcarter8615 2 ปีที่แล้ว

    hello connor, how can i contact you? im a civil engineering student in Ghana, and i will need your help.

    • @connorferster
      @connorferster  2 ปีที่แล้ว

      Try finding me on LinkedIn: Connor Ferster. Happy to help where I can :)

  • @nascentnaga
    @nascentnaga 2 ปีที่แล้ว

    you're amazing FYI

  • @alexeysapego585
    @alexeysapego585 ปีที่แล้ว

    Пошол устанавливать jupyterlab

  • @kytddjj
    @kytddjj 2 ปีที่แล้ว

    .

  • @PeterRanieriII
    @PeterRanieriII ปีที่แล้ว

    I dont know man, it's cool that you know how to do all this but isn't this sort of reinventing the wheel? software has come a long way in our field, just be adaptable to the software thats out there, its faster