Can i do with Shapes 3D this?

edited January 2017 in Library Questions

Screenshot (161) Screenshot (162) Screenshot (166) If not,suggestion ? After that can be send it to CNC machine? Thank you.

Tagged:

Answers

  • Here is a perfectly generic object.

    void setup(){
      size(400,400,P3D);
    }
    
    void draw(){
      background(128);
      translate(width/2,height/2,0);
      scale(160);
      lights();
      rotateX(map(mouseY,0,height,-PI,PI));
      rotateY(map(mouseX,0,width,-PI,PI));
      noStroke();
      fill(0,128,0);
      box(1);
    }
    

    You can try editing this code to draw other things instead.

  • Answer ✓

    Yes it should be possible to get very similar shapes to those shown using Shapes3D

    As to that sending the data to a CNC machine, that would be much harder and really depends on what data the CNC machine required and whether that can be generated from a collection of vertex data.

Sign In or Register to comment.