Software di slicing modelli 3D:
Ultimaker Cura
| //$fn = 50; // very high version, uses a lot of resources | |
| //$fn = 20; // medium version, should render in ~5 minutes on a i7 with latest scad | |
| $fn = 5; // dev version, or if you don't have a good processor | |
| // use this bash script to export a lot of different stl files, so you can have unique boxes | |
| // | |
| // for i in {1..5}; do echo openscad -o "box_$i.stl" parametric_decorated_box.scad; done | |
| // | |
| // you may need to use the same approach for generating gcode... change 5 to your desired amount of boxes you want to create |
| 3devo_box(); | |
| module base() { | |
| cube([120, 40, 10]); | |
| translate([5, 5, 10]) color("purple") { // x: 0, y: 0, z: 0 | |
| cube([110, 30, 5]); | |
| } |
| <style> | |
| canvas { | |
| width: 100% | |
| } | |
| </style> | |
| <canvas></canvas> | |
| <script> | |
| // simple canvas example coded for learning |
| require 'mechanize' | |
| require 'json' | |
| require 'pp' | |
| @agent = Mechanize.new | |
| def login | |
| page = @agent.get "https://workflowy.com" | |
| form = page.forms.first | |
| form.username = "makevoid@gmail.com" |
| #ifndef CONFIGURATION_H | |
| #define CONFIGURATION_H | |
| // This configurtion file contains the basic settings. | |
| // Advanced settings can be found in Configuration_adv.h | |
| // BASIC SETTINGS: select your board type, temperature sensor type, axis scaling, and endstop configuration | |
| //User specified version info of THIS file to display in [Pronterface, etc] terminal window during startup. | |
| //Implementation of an idea by Prof Braino to inform user that any changes made | |
| //to THIS file by the user have been successfully uploaded into firmware. |
| # execute gnome terminal running rack up | |
| gnome-terminal -e "bash -c \"bundle exec rackup -p 3000 -o 0.0.0.0; read line\"" --tab-with-profile=Default | |
| # closes and re executes rackup | |
| wmctrl -c -F rack; gnome-terminal -e "bash -c \"bundle exec rackup -p 3000 -o 0.0.0.0; read line\"" --tab-with-profile=Default -t "rack" | |
| # bind this command to a shortcut |
| # apt-get install openscad # or download it from opendscad.org | |
| # gem install oozby | |
| # oozby compile trilamp.ooz.rb; openscad -o trilamp.stl trilamp.ooz.scad | |
| r = 54 | |
| h = 150 | |
| depth = 1.3 | |
| rotate(x: 180) do | |
| render do |
| # oozby compile led_holder.ooz.rb; openscad -o led_holder.stl led_holder.ooz.scad | |
| resolution minimum: 0.5 | |
| # resolution minimum: 0.2 # I used 0.2 for my prints | |
| # led = 9 | |
| # ported by an old scad, rewrite with oozby's hexagonal_prism builtin function | |
| def hex_cyl(h, d) | |
| cylinder h, d/2, d/2#, $fn=6 |
Software di slicing modelli 3D:
Ultimaker Cura
| guard 'sass', input: 'sass', output: 'public/css' | |
| guard 'livereload' do | |
| watch(%r{public/css/.+\.(css)}) | |
| end |