Profile

Cover photo
Charles Yates
45 followers|106,165 views
AboutPostsPhotosYouTube

Stream

Charles Yates

General Discussion  - 
 
Probably a dumb idea, but I've always liked Reverse Polish Notation and the FORTH language - hacked this up as an alternative way to use openjscad:

function main( )
{
return new stack( ) // Create stack
.push( cube( ) ) // Push a cube
.dup( ) // Duplicate the top of stack
.push( [ 1, 1, 0 ] ) // Push coordinates
.translate( ) // Translate
.union( ) // Join the two objects
.push( 10 ) // Push 10
.scale( ) // Scale
.pop( ); // Return top of stack
}

or:

function main( )
{
return new stack( ) // Create stack
.push( cube( ) ) // Push a cube
.push( "dup" ) // Duplicate the top of stack
.push( [ 1, 1, 0 ] ) // Push coordinates
.push( "translate" ) // Translate
.push( "union" ) // Join the two objects
.push( 10 ) // Push 10
.push( "scale" ) // Scale
.pop( ); // Return top of stack
}

eventually, I'd like to support:

function main( )
{
return new stack( ).push( cube ).push( "dup [ 1,1,0 ] translate union 10 scale" ).pop( );
}

along with FORTH-style word definitions, but that's probably just getting silly :p.

Dunno if it scales very well, or if there'd be any interest in such an approach, but thought I'd bounce it here and see if anyone is interested (or just wants to point and laugh :)).

1
Charles Yates's profile photoJeff Gay's profile photo
15 comments
 
Ditto. Let me know when you have time. Preferably on the weekend.
Add a comment...

Charles Yates

Shared publicly  - 
 
The real thing from the looks of it...
It was bound to eventually happen, but I did not think it would be so soon. The company Solid Concepts has printed an entire 1911 pistol with a 3D
1
Hannes Lilliefeldt's profile photo
 
There won't be any mass production of weapons because of 3D printers. It is faster and cheaper to use regular shop tools. Sure, the odd maniac might get another source of weapons, but it is neither going to be easier/faster nor cheaper than the normal source today: black market guns.
Add a comment...

Charles Yates

Shared publicly  - 
1
Add a comment...
Have him in circles
45 people
Anthony Liekens's profile photo
Christophe VG's profile photo
Dan Dennedy's profile photo
Theodore Zacharia's profile photo
Martin Johansson's profile photo
John Smith's profile photo
Willy De la Court's profile photo
Roland van Soens's profile photo
Gisle Sælensminde's profile photo

Charles Yates

General Discussion  - 
 
I've been toying with openjscad off and on for a while - have to say that I really like it :).

At the moment I'm working on a hacked version for my own site and scripts - provisional version hosted here:

http://www.geminidev.be/3d/openjscad

The patches applied so far include:

* defaulting the editor to off
* defaulting instant update on the parameter panel to on
* defaulting to 'repaired' STL's using the fixTJunctions method
* adding a few 'examples' of my own projects
* a mechanism to allow parameter overrides via the url 

An example of the latter is my messing around with the design of a marble supported painter's turntable - the default of which can be linked by:

http://www.geminidev.be/3d/openjscad/#examples/doodatable

Or with parameter overrides like:

http://www.geminidev.be/3d/openjscad/?part=2&outer_radius=50&inner_spokes=10#examples/doodatable

The current code (which is very much work in progress) can be seen here:

http://www.geminidev.be/3d/openjscad/examples/doodatable/main.jscad

The intent is to make the current URL available so that this can be passed from user to user or used as a bookmark for specific custom models.

Don't know if there's any interest in any of this stuff, but I'll happily push it up to github if there is.

Also, more detail about the specific model can be found here:

http://www.thingiverse.com/thing:1444236

Anyway, thanks for the project - it's a very neat idea.
2
Rene K. Mueller's profile photoCharles Yates's profile photo
4 comments
 
Ah - that's better - now it extends to all parametric example scripts without modification:

http://www.geminidev.be/3d/openjscad/?quality=smooth&mouseear=0#examples/iphone4-case.jscad

Some types aren't correctly handled yet, but it's closer to what I was looking for.
Add a comment...

Charles Yates

Shared publicly  - 
1
Add a comment...

Charles Yates

Shared publicly  - 
 
This is long enough at 2 minutes. There's a 10 hour loop version in case you need to be reminded over and over again precisely where the Hobbits are going.
1
Add a comment...
People
Have him in circles
45 people
Anthony Liekens's profile photo
Christophe VG's profile photo
Dan Dennedy's profile photo
Theodore Zacharia's profile photo
Martin Johansson's profile photo
John Smith's profile photo
Willy De la Court's profile photo
Roland van Soens's profile photo
Gisle Sælensminde's profile photo
Basic Information
Gender
Male
Work
Occupation
Software development, primarily in the field of video.
Links