4 Replies Latest reply on Jun 21, 2018 1:02 PM by Amen Allah Jlili

    C# Capabilities

    Zach Ahern

      I'm an intern at an engineering company and my TLDR is basically this:

       

      I'm trying to save the company money by taking away projects from our overworked machinist and 3D printing the parts instead. The issue I have is when I'm gone, there going to have to pay a full time engineer or CAD technician to model these parts which just won't happen. I was wondering if I could make a sort of automated system that will cut the time down to model to be hardly an inconvenience. 

       

      The issue is I know nothing about C# (really only have arduino and matlab experience), but it seems like the software to do the trick. All I want it to do is carry out several features already is solidworks. I've attached a short slideshow walking through the best case scenario of what I want it to do.

       

      Should C# do the trick? Is it worth learning completely from scratch? Can I learn the language and do what I want it to in a month and a half? What in my plan is unrealistic or impossible?

       

      Any insight would help a ton!

        • Re: C# Capabilities
          Josh Brady

          If you have never used C# or VBA before, this would be extremely ambitious to create within a month and a half, especially if you have any other tasks at all.  If you decide to bite it off, I'd recommend the learning resources at cadsharp.com. 

          • Re: C# Capabilities
            Andrew Schutte

            Zach,

            I think if what you are trying to do is possible, it can be done with C#. The limitations will be the SOLIDWORKS API's, collecting enough definition and automating your steps. Writing code against a 3D model where (virtually) nothing will be the same from part to part is very difficult.

            Specific to C#, I would plan on a year or two to learn it (or any language) with enough proficiency to even start on a project like this. What you are asking is not simple and if possible would be very complex.

            As an alternative you might be better off with something like multiple macro files that a user can click at each step, or similar. That will help manage the risk of the entire project, as if it can't all be automated, maybe you can do 90%, or 75%, or 50% with various macros. If all the macros work at all the steps *then* you could combine them all together and fully automate your task.

            Otherwise what you are doing doesn't look that hard complicated or time consuming from a SOLIDWORKS perspective. I would maybe check to see how many parts you need fixtures for in a given year, compared to how long it'll take you to program a fully automated design method (if possible at all) vs manually designing each one in a consistent fashion, perhaps with some minor macros along the way to help automate a few steps here and there.

            Hope that helps, sorry to rain on your parade.

            -Andrew

            • Re: C# Capabilities
              Frederick Law

              If you can do that, you have your own business.  Every manufacturer will use your program.

              The programming language doesn't matter.  They are all the same.