Jump to content
Ultimaker Community of 3D Printing Experts

FreeCAD plugin (official thread)


Recommended Posts

  • 2 weeks later...
  • Replies 53
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Here another thread regarding one of my plugins. As I see not too many discussions about the FreeCAD plugin so far, I would like to advertise to use only this thread for discussion. This way many

Haha, no problem. I think I need to think about adding a window for overwriting the path to the executable and overwriting the executable name 😅

I am happy with every solution, even if I have to rewrite from hand to daily like now...

Posted Images

  • 1 month later...
Posted · FreeCAD plugin (official thread)

@leoheck Nope, the log already gives the problem. While using the macro on the given file, we get an error code != 0, which means that an error occurred. Sadly the code is that anti-smart not to tell us what the error message from FreeCAD is (probably there is a reason, but I can't remember after a long time).

Normally, the process can take any amount of time.

  • Link to post
    Share on other sites
    Posted · FreeCAD plugin (official thread)

    I understand. I was doing that so much, I was not able to understand why Cura cant execute the external command. But I would really appreciate your feedback if you can run the plugin with a Freecad 0.19 file. Maybe I am doing something wrong. Maybe I was not able to set my computer propperly.

     

    Well, if you have time, I made this cylinder with the Part Design Workbench  https://www.dropbox.com/s/p29x2xguxfymoe2/test_cura_freecad_0.19.FCStd?dl=0

  • Link to post
    Share on other sites
    Posted · FreeCAD plugin (official thread)

    Could someone of you be so kind and test the following package file?


    CuraFreeCADPlugin-v7.0.0-2020-01-01T20_30_11Z.curapackage

     

    For you to remember again how to install a plugin using such a curapackage file:

     

    https://thopiekar.eu/cura/plugins/installation/#ManualInstall

     

    Regards and happy new year!

    - Thomas

  • Link to post
    Share on other sites
    Posted · FreeCAD plugin (official thread)

    Ungültige Datei

    Laden von /pfad/datei.fcstd fehlgeschlagen

  • Link to post
    Share on other sites
    Posted (edited) · FreeCAD plugin (official thread)

    Bist du so nett und schickst mir die log Datei zu? Bestenfalls auch die verwendete Datei, wenn möglich?

    Würde gern das Problem reproduzieren 🙂

     

    https://thopiekar.eu:46380/sharing/hUnBGGhu8

    Das Passwort ist dein Username von hier.

     

    Danke!

    - Thomas

    Edited by thopiekar
  • Link to post
    Share on other sites
    Posted · FreeCAD plugin (official thread)

    Cool, I tested this new plugin it works well. However, when the model is not well formed, it fails like UbuntuBirdy said.

     

    1. This is the malformed model

    https://www.dropbox.com/s/bcjjjuqxbpbtndo/case_lid_not_working.FCStd?dl=0

     

    2. But then, I fixed it, so the plugin was able to open it.

    https://www.dropbox.com/s/y5j6k7s0csjqnen/case_lid.FCStd?dl=0

     

    Thank you Thopiekar!

     

     

  • Link to post
    Share on other sites
    Posted · FreeCAD plugin (official thread)

    Dein Link sagt mir, dass der freigegebene Link nicht verfügbar ist. Aber egal, ich hab ja auch clouds zur Verfügung:

     

    Cura Log und das FreeCAD Bauteil

    • Like 1
    Link to post
    Share on other sites
    Posted · FreeCAD plugin (official thread)

    Thank you for the upload. Looks like the call of FreeCAD died at the background.

    I really need to make the plugin(s) more talkative at this point.

    The log doesn't tell me anything here 😞

     

    Which FreeCAD version is installed btw?

  • Link to post
    Share on other sites
    Posted · FreeCAD plugin (official thread)

    Yeap, totally agree with that. The log is kinda dumb, I didn't want to say that before.

     

    But this is a really good job.

    I am using FreeCad 0.19 (daily builds)

     

    Also, I would like to see in this plugin the ability to set the mesh resolution and to select the body inside the FreeCad file. These will be a great addition and it is not hard to implement. I actually was tring to implement it with your plugin. My biggest issue is that I don't know how to open a window to display these options to the user in  Cura. Is it possible?

     

     

  • Link to post
    Share on other sites
    Posted · FreeCAD plugin (official thread)

    OS: Ubuntu 18.04.3 LTS
    Word size of OS: 64-bit
    Word size of FreeCAD: 64-bit
    Version: 0.18.4.
    Build type: Release
    Python version: 3.6.8
    Qt version: 5.9.5
    Coin version: 4.0.0a
    OCC version: 7.3.0
    Locale: German/Switzerland (de_CH)

     

    Cura 4.4.1

  • Link to post
    Share on other sites
    Posted · FreeCAD plugin (official thread)

    Hi guys,

     

    I am just following this ...

    Had probs with opening the freeCAD files as well.

     

    Cappy

  • Link to post
    Share on other sites
    Posted · FreeCAD plugin (official thread)

    Just wanted to ask where we are. I still have the same problem.

  • Link to post
    Share on other sites
    Posted · FreeCAD plugin (official thread)

    Hey!

     

    After a longer time I got FreeCAD into my hands again and probably faced the same issue as you do!

    If you are using Ubuntu* (likely affects Debian, too) there is a problem with the "headless mode" of FreeCAD.

    The only way to make it work is to use the stable PPA of FreeCAD, which comes with the fix, which will make the plugin work again, too!

    https://wiki.freecadweb.org/Install_on_Unix#Stable_PPA_through_the_graphical_interface

  • Link to post
    Share on other sites
    Posted · FreeCAD plugin (official thread)

    Thanks for the info. I had troubles with this PPA in the past, so this is no solution for me. But i'll stay patiently...

  • Link to post
    Share on other sites
    Posted · FreeCAD plugin (official thread)

    Is there someone available for some testing? 🙂

  • Link to post
    Share on other sites
    Posted · FreeCAD plugin (official thread)

    of course!

  • Link to post
    Share on other sites
    Posted · FreeCAD plugin (official thread)

    I improved the export script to convert all volumetric and shaped objects. Wasn't happy with the results some time ago when I was working on something in FreeCAD, so I gave it another try. One thing that definitely needs improvement is that I can check the objects' visibility. This is not available within FreeCAD's headless mode, because people might have thought: "Why caring about visibility, if you have no UI and can't see anything anyways."

    Well, good point, but stupid if I would like to convert all visible objects (because theoretically you could have made some invisible because something is temporarily not needed) into mesh(es).

     

    Anyway, I could deliver a new package for this, but I think it won't be a big deal for you to replace the following FreeCAD macro:

     

    https://git.thopiekar.eu/Cura/CAD/CuraFreeCADPlugin/-/blob/master-improving-macro-to-export-volumetric-and-shaped-objects/CuraFreeCADPlugin/macro/conversion.py

     

    Good luck and if you need any kind of help, let me know!

    Looking forward for your feedback 🙂

  • Link to post
    Share on other sites
    Posted · FreeCAD plugin (official thread)

    Traceback (most recent call last):

    File "/home/pascal/.FreeCAD/Macros/thopiekar.FCMacro", line 14, in <module>

    import MeshPart

    <class 'ImportError'>: libnglib.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden

  • Link to post
    Share on other sites
    Posted (edited) · FreeCAD plugin (official thread)

    Nope, replace it with the script in the macro folder of the plugin.

    You know where I mean?

     

    Something like:

    /home/<your user id>/.config/cura/4.8/plugins/CuraFreeCadPlugin/macro/

     

    My plugin is running a macro from inside the plugin folder using "freecadcmd" btw. 🙂

    Edited by thopiekar
  • Link to post
    Share on other sites
    Posted · FreeCAD plugin (official thread)

    Sorry, I misunderstood your advice. Ok, I replaced the conversion.py, but to be honest, I do not understand, what I should test now...

  • 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 Transformation Summit

        On April 20 - April 23 we will host the Ultimaker Transformation Summit. Come talk to us via Live chat and get inspired by any of our relevant presentations!
        • 6 replies
      • New here? Register your Ultimaker for free 3D printer onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 0 replies
    ×
    ×
    • Create New...