Setting user parameters helps with speeding up the design process. For example we want to change the length of all the rectangles in our design, or increase the width of a box by a third. Learning how to add parametric constraints and applying them at an early stage creates another level of freedom to experiment.
At first the user parameters are set for future use:
Then creating a sketch and choosing a plane to draw the base using the rectangular tool giving it the predefined parameters:
Then extruding using the extrude tool:
Then we draw a joint giving it the predefined joint parameters:
Then we use the rectangular pattern tool:
We do the same for other sides and we add the curve to all joints:
Then extracting the dxf file that's going to use with the laser cutting machine.
Rhinoceros software is then used for preparing the dxf file for the laser cutting machine
We first upload the dxf file
We press top -> Maximize
We first create a new layer and we call it engraving and we give the color yello, then we select the text and in command line we write hatch to use the hatching tool, then we select the hatch and assign it to the engraving layer we created, after that we deactivate the engraving layer and select the text and delete it. By reactivating the engraving layer we only allow the hatching to be engraved
Then we create a second layer called "out" and we align the outer lines to it and give it the color green
Then we press print
After that we adjust the printing parameters for the engraving: Power= 20%, Frequency=2500Hz, Speed=50%
Then we adjust the printing parameters for the outlines: Power= 100%, Frequency=2500Hz, Speed=50%
-There was an overlap in one joint between one side and the base,also the curve was 0.2mm and the material used needed more:
For the 3D Printing we're going to use 360 Fusion software again. First we open the model for the bathtub, then we project the profile of one of the columns:
The sketching profile for the column should look like this:
Then using the extrude tool we can finalize the profile
We then export the file with the extension "stl" that's readable by the slicing program "Cura"
The idea is to write a sketch that turn on/off the built-in arduino LED depending on the number of button pushes and to show each push number on the serial monitor, using Arduino Uno.
Arduino Uno 220Ω resistor Jumpers Breadboard
We first declare variable "state" with integer datatype and we initialize by giving it a value of 1, this variable will be responsible for storing the value of the state we're in (the push number):
Then in the void setup scope, we first need begin serial communication on baud 9600, then configuring the pin mode of the built-in LED to be the output and the button connected to pin 7 to be the input:
We then declare variable "state" with integer datatype and we initialize by giving it a value of 0, this variable is going to be use as the counter for the while loop we're going to use:
Then we use an if statement to check if the button is pressed, we add inside it a while loop for turning the LED on/off depending on the number of pushes (value of the state variable), we then iterate the loop counter inside the loop scope, and we iterate the state counter inside the if statement scope:
In the arduino software we set the board type to arduino uno from tools->board->arduino uno
Then we plug the Arduino Uno to the laptop usb and then we choose the port from tools->port->"arduino uno port"
After that we press verify to verify the sketch code, then we press upload to upload it to the arduino