Jump to content

Cuq

Expert
  • Posts

    675
  • Joined

  • Last visited

  • Days Won

    18

Posts posted by Cuq

  1. Hello

     

    I don't think there is a possibility to solve this problem via a parameter.  Maybe @ahoeben could give a more accurate answer. 


    The execution of the plugins follow I think the order of loading and the order of loading is according to the alphabetical order 

     

    First there are the plugins loaded in :

    <Software>Ultimaker\Ultimaker Cura XXX\share\cura\plugins     so  PostProcessingPlugin   in the first place

     

    Then the plugins in :  <User>AppData\Roaming\cura\XXX\plugins   like  LinearAdvanceSettingPlugin or ArcWelderPlugin etc .

     

    So if you want to modify this order you can move  the Folder  PostProcessingPlugin   into the User plugins directory or move the LinearAdvanceSettingPlugin into the Software plugins directory .   As on a alphabetic order LinearAdvanceSettingPlugin  will be loaded before PostProcessingPlugin   you will get the right order but it's just a workaround  and you will have to do it for every new Cura Installation.

  2. It's an issue with your printer configuration ..   I can fix a value of 300mm/s of 600mm/s if I want in cura

    image.png.7a56fe4331de0ad47fd9fb5da1e1ce62.png

     

    In cura the limitation for the maximum Travel Speed is define by

    math.sqrt(machine_max_feedrate_x ** 2 + machine_max_feedrate_y ** 2)

     

    So it's dependant of the  Maximum Speed X  &  Maximum Speed Y  .. Have a look in your printer settings and increase this value if you want to go upper this value.  So no it's not a Cura Limitation and if something as change it's a modification made on your printer specific configuration ( Which is not Ultimaker's responsibility if the machine does not come from them)

     

    image.png.81756486b594426caa07d37faf3ccccc.png

     

  3. On 5/29/2020 at 12:06 PM, Cuq said:

    Thanks for your answer .. but your explanation are far away from my knowledges in Python .. So I will wait a wild and expted to find one day such type of sample code on Github 🙂

     

    Never Give up !  3 years later. : https://github.com/5axes/CuraSettingsWriter

     

    image.thumb.png.4dad89e1f254af5fbf8b3759268bd88b.png

     

     

    At the same time I learned that you can embedded the image directly in the HTML file.

     

    • Like 2
  4. If you want to supress this issue reduce the value of the : Support Horizontal expansion (0.5 should be enough)

     

    Or if you want to keep this expansion for the upper support, Increase the Minimum Support Area Value to 10 ( the size of your hole )  .

     

    For me it's a bug it's a temporary workaround but should be report on the github ( even if I don't think it will ever become a hight priority )

  5. A little topic far away from 3D printing. I always have trouble defining icons or graphics for my little Cura plugins. So for once I decided to test the AI with DAll-E 2.  

    I filled in : 

     An icon style image smaller than 0.5 MB  with the theme  :   Plugin Ultimaker Cura for the  function Live Scripting

     

    It gave me this:

     

    image.thumb.png.2db680fcf0fadcc742811ab91272b82f.png

     

    I will take the number 2 but I have absolutly no Idea what "Urk Maer Purter" means .. Maybe it has a meaning in Dutch 🤣

  6. I think the issue was the format of the Url.  Seems to be correct now

     

    			currentFolder:pathToUrl(UM.ActiveTool.properties.getValue("ScriptFolder"))
    			
    			function pathToUrl(path)
    			{
    				// Convert the path to a usable url
    				var url = "file:///"
    				url = url + path
    				url = encodeURIComponent(url)
    				
    				// Return the resulting url
    				return url
    			}

     

  7. I have a small problem but I would like to solve it. In a QML File I use the FileDialog component ... I wanted to be able to define the starting folder using currentFolder : url

     

    But unfortunately this does not seem to work. What is the form of the url string ? do I have to do a particular formatting ? 

    I tried with : currentFolder: encodeURIComponent but it's the same ? Any Idea ?

     

    Current QML File link : https://github.com/5axes/CuraLiveScriptingPlugin/blob/master/qml_qt6/LiveScripting.qml

  8. OK the solution Change from TextArea to   Cura.ScrollableTextArea

        Cura.ScrollableTextArea {
            id: inputfg
            width: parent.width
    		anchors
    		{
    			top: parent.top
    			bottom: runOptions.top
    		}
    
            // font.family: "Courier New"
            textArea.wrapMode: Text.Wrap 
    		textArea.textFormat : Text.PlainText
            textArea.text: UM.ActiveTool.properties.getValue("Script")
            textArea.onTextChanged: {
                UM.ActiveTool.setProperty("Script", text)
            }
            Keys.onPressed: {
                if (event.key == Qt.Key_Tab) {
                    insert(cursorPosition, "    ");
                    event.accepted = true;
                }
            }
        }

     

  9. Hello,

    I'm trying to migrate a plugin that I use in version 4.X but that had not been updated to version 5.  In the QML files the plugin defines some items as: TextArea 

    In QT5 version I have scrollbars and mouse selection: 

     

    image.thumb.png.85ba4be5cda2b31eb53257fbf5a201a7.png

     

     

    With QT6 this doesn't work anymore ...  How can we get back these properties or how to replace these items ?

     

    Source code of the qml File for QT 6 :  https://github.com/5axes/CuraLiveScriptingPlugin/blob/master/qml_qt6/LiveScripting.qml

     

  10. If you have a limitation it's not in Cura but in the printer definition. You can change this limitation but if your printer is in the official list they are a chance that you need to do it on every new installation. 

  11. The nesting algorythm is one point , but the reference shape  used to calculate the arrangement is the key for the result. These algorythms use a 2d shape and Cura as well as Prusa I think use the convex2dshape of the model (you can see it  it's the grey shape draw on the build plate) as this geometry is a one boundary model, without hole or concav geometry, it's not possible to get some part "inside" an other  one. So it's not only a question of nesting calculation   but mainly of boundary representation of the part. Find how to calculate a fast exact , external 2d boundary of a 3d model and you will be close to the result.

     

    image.thumb.png.23778d2d6e56a3cb293e4caac9a3bc96.png

×
×
  • Create New...