Madeleine.js icon indicating copy to clipboard operation
Madeleine.js copied to clipboard

stop rotation?

Open mark-hahn opened this issue 6 years ago • 3 comments

How do I stop the constant rotation? It makes studying the object hard (and I find it annoying).

Also, are there docs for the options? I scoured the source and found these options. Am I missing any?

    var madeleine = new Madeleine({
      target: 'stlview', // target div id
      data: 'http://localhost:3000/static/L4.stl', // data path
      path: '/static/src', // path to source directory from current html file
      material: 'matt',// matt skin wire
      showStatus: false,
      backgroundColor : "DADADA",
      objectColor:      "FF9999",
      viewer: {
        create: true,
        height: 300,
        width:  window.innerWidth/3,
        theme : "light", // default dark lime rose lego toxic cobalt light soft
        notappend: false,
      },
      camera : {
        sight: 45,    // Vertical Field of View
        near:   1,    // Near Field Distance
        far: 100000,  // Far Field Distance
      },
      rotateSensitivity : 0.005,
      scrollFactor      : 20,
      zoomSensitivity   : 100,
    });

mark-hahn avatar Dec 15 '19 19:12 mark-hahn

I stopped it by hacking the code but I don't like to do that.

Another question? How do I replace one url with another in-place?

mark-hahn avatar Dec 16 '19 22:12 mark-hahn

@mark-hahn did you manage to solve the "replace one URL with another in-place"?

InfiniteCoder96 avatar May 30 '21 19:05 InfiniteCoder96

Sorry but I don't remember. I probably would have mentioned it here if I did.

mark-hahn avatar May 30 '21 19:05 mark-hahn