Jump to content

FreeCAD plugin (official thread)


thopiekar

Recommended Posts

  • 2 weeks later...
  • 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)

    0.19 is still under development it seems. I don't have the time at the moment to investigate into any other versions other than stable. Maybe someone else can find the time to investigate into it.

     

  • 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 Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
        • 18 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
        • 0 replies
    ×
    ×
    • Create New...