Jump to content

FreeCAD plug-in


HughAJ

Recommended Posts

Posted · FreeCAD plug-in

This is my first post, so I hope I am sending it to the correct part of the forum.  I wanted to tag it Cura+Plug-ins, but could not find the Plug-in tag.

I have installed the FreeCAD plug-in on Cura3.4 and the *.FCStd files are now selectable in the Open File box, but when I open one, I get an error message saying that the file is unreadable.

Anyone know why, or had the same problem?

HughAJ.

  • Link to post
    Share on other sites

    Posted · FreeCAD plug-in

    Thank you @SandervG for mentioning me.

     

    First of all, which operating systems are you using?

    The plugin has been tested with Windows and Linux. For macOS I can't give any support, because I don't own Apple hardware and thus can't do any development or provide help.

  • Link to post
    Share on other sites

    Posted · FreeCAD plug-in

    Thanks for your reply. I am using macOS High Sierra 10.13.5, so that may be the problem. Can anyone help on this, or can I try to modify the plugin code myself?

  • Link to post
    Share on other sites

    Posted · FreeCAD plug-in

    I am using Linux Debian 8

  • Link to post
    Share on other sites

    Posted · FreeCAD plug-in
    On 7/2/2018 at 12:15 AM, HughAJ said:

    Thanks for your reply. I am using macOS High Sierra 10.13.5, so that may be the problem. Can anyone help on this, or can I try to modify the plugin code myself?

    Yes, you could. Alternatively, you can use Brew to install FreeCAD. This should provide the needed commandline application, which the normal installation via .app doesn't provide. However, I'm not an expert, but feel free to hack around!

     

    On 7/2/2018 at 9:43 AM, Lampje said:

    I am using Linux Debian 8

    Just to be sure: I guess you have FreeCAD installed, right?

  • Link to post
    Share on other sites

    Posted · FreeCAD plug-in

    I have not really installed FreeCad, I use the AppImage.

  • Link to post
    Share on other sites

    Posted · FreeCAD plug-in
    On 7/13/2018 at 8:41 AM, Lampje said:

    I have not really installed FreeCad, I use the AppImage.

    But you need it. What the plugin does is calling FreeCAD in the background and performs the conversation of the file into a readable format for Cura for you.

    This principle is the same for all the other CAD plugins.

  • Link to post
    Share on other sites

    Posted (edited) · FreeCAD plug-in

    I installed FreeCad, but I  still get the error message saying that the file is unreadable.

    Maybe the problem is that Debian install an old version of FreeCad (0.14)

     

     

    Update, compiled and installed the newest version of Freecad (0.18) and the problem of unreadable file is not solved.

    Edited by Lampje
  • Link to post
    Share on other sites

    Posted · FreeCAD plug-in

    If you are typing in "FreeCADCmd" into the terminal, what happens?

    Does it work?

    If so, what does "which FreeCADCmd" say? Does it point to the location where you installed 0.18?

     

    Thanks!

  • Link to post
    Share on other sites

    Posted · FreeCAD plug-in

    When I type FreeCADCmd to the Mac terminal it says "-bash: FreeCADCmd: command not found".  Presumably, this means that I have not installed a command line interface for FreeCAD. How would I do that?

     

    Thanks.

  • Link to post
    Share on other sites

    Posted (edited) · FreeCAD plug-in

    No idea for Mac. Officially I don't give support for macOS, because I can't test it, but if you figure out how to get this working, then the plugin should start working, too.

     

    That's basically the problem on Mac. Each installed does not get fully registered to the users environment. Instead, you have bundles of software, which are running independently.

    Edited by thopiekar
  • Link to post
    Share on other sites

    Posted (edited) · FreeCAD plug-in

    I typed FreeCADCmd and nothing happens.

    Now I created a PATH to the FreeCad bin and when I now type in the terminal FreeCAD the program start, that s oke.

    But in Cura I still get the error message saying that the file is unreadable.

    Edited by Lampje
    Problem solved
  • Link to post
    Share on other sites

    Posted · FreeCAD plug-in

    Update.

    First time I created a temporary Path and that is not working.

    Now I make the Path permanent and the problem is solved.

    Thanks Thopiekar for helping me to find the solution.

     

  • Link to post
    Share on other sites

    Posted · FreeCAD plug-in

    No Problem.

    I also noticed some bugs today, which I will fix in the following days.

    One thing I need to figure out on Windows is the new place in the registry where file types are registered. Therefore you need to add the binary directory of FreeCAD to PATH, too.

    I made an upgrade from 0.16 to 0.17, but had some leftovers in the registry and the new installer registers filetypes in the "new" way.

    This is something special which comes with Windows 10 or a bit earlier.

    However, that shouldn't be too difficult to implement. ?

  • Link to post
    Share on other sites

    Posted (edited) · FreeCAD plug-in

    As posted on the SolidWorks thread I managed to find the reason why projects are named "unknown".

    Also here for FreeCAD (incl OpenSCAD and Blender) I added additional functions to look up the installation directory on modern Windows installations. Just don't know exactly since when there is this new method of registering file types as I found on my Windows 10 machine.

     

    PS: For the macOS users here: If you like support like this for Windows, then you either need to find a way to contribute and add the functionality or see how to get me an Apple device ?

     

    Enjoy your weekend

    Edited by thopiekar
  • Link to post
    Share on other sites

    Posted · FreeCAD plug-in

    Hey!

     

    I've updated the FreeCAD plugin and added more algorithms to determine where the FreeCAD installation is.

    Especially Windows 10 users will profit from it since these conventions are new since then.

     

    Version 0.2.1 should appear in Cura 3.5 BETA, but also in prior versions if I'm not wrong.

     

    Your feedback is as usual welcome!

  • Link to post
    Share on other sites

    Posted (edited) · FreeCAD plug-in

    Hello.

    I have a question about Freecad Plugin. I am using Freecad 0.18 (but also tried with v 0.17) and Cura v. 3.5.1 end Freecad integration plugin 0.2.1

    If in FreeCad I cut 2 objects ( say a cubic and a cilinder - hole in cubic) and import it in Cura I have the union of two object and not the cut.

     

    Thanks Roberto

    test.zip

    Freecad.JPG

    Cura.JPG

    Edited by RobyRob
  • Link to post
    Share on other sites

    Posted · FreeCAD plug-in

    Got exactly the same problem.

    Have tried almost everything.

    image.thumb.png.5baa06dfa04d6298e011f41aecd072dd.png

     

    image.thumb.png.d1783526bd5abbfba278b1457af7b734.png

    schijf_met_gat.zip

  • Link to post
    Share on other sites

    Posted · FreeCAD plug-in

    Hello @RobyRob and @WielGeraats,

     

    I don't know why, but I either overlooked the notifications about your posts in this thread in my inbox or I never got them.

    Anyway, I added an official thread as for all the other plugins.

    Now something that might be interesting for you: I also faced the problem in the meantime and fixed it for me.

    It would be great if at least one of you could test the unreleased plugin.

    The download link and an (updated!) installation guide can be found in the official thread soon!

     

    Regards

    - Thomas

  • Link to post
    Share on other sites

    Posted (edited) · FreeCAD plug-in

    Hello @thopiekar. I just tried the new Cura plugin for import Freecad files and now it works all right. Thanks for your work.

     

    I'm just a little confused (my mistake) in finding the right files to install. the right place is https://thopiekar.eu:5443/cura-cad-integration/CuraFreeCadPlugin/-/jobs/1024/artifacts/browse but I tried https://thopiekar.eu:5443/cura-cad-integration / CuraFreeCadPlugin / by mistake. The version number is the same (0.3.0) and is the same in the Freecad marketplace.

     

    Personally,so far, I had solved with a macro in Freecad that generates the stl file and launches Cura, but the Cura plugin should be better

    Edited by RobyRob
  • Link to post
    Share on other sites

    Posted · FreeCAD plug-in

    Yes, it is the same, but it is a nightly build. In short: The package has been built automatically without increasing the version. It will be 0.3.1 in the future if nothing comes in between.

    If someone else could also confirm that everything works great, I'll care about uploading it to the marketplace as soon as possible.

     

    If there is anything else like other remaining problems or missing features, please share them in the other thread I mentioned above! 😉

     

    Regards

    - Thomas

  • Link to post
    Share on other sites

    Posted · FreeCAD plug-in

    @thopiekar Thank for your answer.

     

    Another question / clarify: which is the Freecad object that is import in Cura? From my test it is the last body created in Freecad before saving it, not the active body or selected body: So if I have more body I need to fuse all toghether as last operation before save. Is this right?

  • Link to post
    Share on other sites

    Posted · FreeCAD plug-in

    That is correct. In the object tree (where you see all steps, which have been done to build your body) you will see the active object in bold letters. Normally, this is the state which you can see in the 3D view at the same time.

    So what you see after opening FreeCAD, should be what you get in Cura. 🙂

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.8 Stable released 🎉
        In the Cura 5.8 stable release, everyone can now tune their Z seams to look better than ever. Method series users get access to new material profiles, and the base Method model now has a printer profile, meaning the whole Method series is now supported in Cura!
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
    ×
    ×
    • Create New...