Jump to content

Cuq

Expert
  • Posts

    675
  • Joined

  • Last visited

  • Days Won

    18

Posts posted by Cuq

  1. Not exactly what I'm looking for but jut a little step further.

     

        def _onSceneChanged(self, source: SceneNode) -> None:
            new_scene_objects = set(node for node in BreadthFirstIterator(self._scene) if node.callDecoration("isSliceable"))
            if new_scene_objects != self._scene_objects:
                Logger.log("d", "New_scene_objects")
                self.StandardFixed=0
            
            self._scene_objects = new_scene_objects  

     

  2. Very interesting piece of code... @nallath is there any solution to detect if the geometry have changed . I was using in one of my plugin :

     

            self._scene = CuraApplication.getInstance().getController().getScene().getRoot() #type: Scene Root
            self._scene.meshDataChanged.connect(self._onSceneChanged)

     

    but it also detect if we change the position of the part position on the buildplate or any modification set on the meshData.

     

     

  3. I don't know if it's still the case but I've notice that the minium release was OpenGl 3.2 to have this function.    But a release 4.1 is  recommended as minimal configuration.    To get more information on the current driver of your graphics card on Windows you can use an utility Tool like GlView : https://www.realtech-vr.com/home/glview

     

    If you also use an othe slicer like PrusaSlicer or SuperSlicer in the System Function you can have this information. ( Should be also a function of Cura as many issues comes from this limitation , but it's not the case right now ) 

     

     

    image.thumb.png.7b20735515fad837d167654b04faf8c8.png

  4. This type of request doesn't really make sens :

    In a temptower usualy we start from the higher temperature to the lower and so the changing time in this case as the machine is extruding material is very short. By the time you are printing the inner contour of the first layer you will have reach the new temperature. So you will not see the difference on the part.

     

    Using a M109 S code to wait the right temperature is also useless. This code are waiting that the nozzle have reach the programmed value. But as you are always at a temperature higher than the new target value, the machine doesn't wait anything and using M104 S or M109  S doesn't change anything in a temptower print style program.  To wait the decreasing target you must use the M109 R   code.

    https://marlinfw.org/docs/gcode/M109.html

     

    But this is not the choice I have made in my script because user must be able to fix a negativ or positiv increment (even if on a pratical point of view it's always better to decrease the value ) 

    • Like 1
×
×
  • Create New...