Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
/* Draw Arc based on Square */ innerRad=80; // [1:1:300] outerRad=100; // [1:1:300] arcstart=20; // [-360:1:360] arcdegre=120; // [-360:1:360] height=1; // [1:1:300] debugOn = true; debugVis= true; debugColor="green"; // ["red","green","blue"] /* [Hidden] */ // visualiztion controls set to good defaults // for smooth curved surfaces $fs = 0.5; $fa = 1.0; sqSize = [outerRad-innerRad,height]; if( debugOn ) translate( [innerRad,0,0] ) color( debugColor) if( debugVis ) %square( sqSize ); else square( sqSize ); rotate_extrude(arcdegre, arcstart){ translate( [innerRad,0,0] ) square( sqSize ); };
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)