Jump to content
Ultimaker Community of 3D Printing Experts
HughAJ

FreeCAD plug-in

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

 

Share this post


Link to post
Share on other sites

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. ?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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

Share this post


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

    • Introducing Ultimaker Cura 3.6 | Beta
      Ultimaker Cura 3.6 | Beta is available. It comes with new features, bug fixes, and UX improvements. We would really like to have your feedback on it to make our stable release as good as it can be. As always, you can download the beta for free from our website, for Windows, MacOS, and Linux.
        • Like
      • 92 replies
    • Print Core CC | Red for Ruby
      Q: For some users, abrasive materials may be a new subject matter. Can you explain what it is that makes a material abrasive when you are not sure which print core to use?
      A: Materials which are hard in a solid piece (like metals, ceramics and carbon fibers) will generally also wear down the nozzle. In general one should assume...
        • Like
      • 30 replies
    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 replies
×

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!