background preloader

OpenJsCad

OpenJsCad
Web based solid modeling in Javascript: user editable parametric models, STL and DXF export. Playground Try it by entering some code below. Anything you enter will be lost as soon as this page is reloaded; to build your own models you should instead store them in a .jscad file on your computer and use the OpenJsCad parser. Examples Choose another example: About OpenJsCad is a 2D and 3D modeling tool similar to OpenSCAD, but web based and using Javascript language. function main() { var cube = CSG.cube(); return cube; } creates a cube with a radius of 1 and centered at the origin. 3D solids can be exported as STL files, 2D areas can be exported in a DXF file. To build your own models, create a .jscad file with your javascript code and parse the file using the OpenJsCad parser. Why use OpenJsCad? Viewer navigation Click and drag to rotate the model around the origin. Tools, Libraries License OpenJsCad is developed by Joost Nieuwenhuijse. Contributions are welcome! Primitive solids CSG operations Related:  CAD in the browser with WebGLImpression 3DOpenSCAD

3D printing from Tinkercad We’re delighted to announce that Tinkercad, a very easy-to-use CAD tool that runs in a browser (via WebGL), now offers a one-click support to our i.materialise 3D printing service. Thanks to this feature, getting an idea designed, printed, and in your hands is truly a piece of cake. Tinkercad is very user-friendly: with only three tools, a wide variety of designs can easily be made in Tinkercad in 5 minutes, or less. And remember, you can do all of this  in your browser with no installation required. Once your project is ready, simply click on the “Print 3D” button in the upper right-hand corner of the editor. Your design will be sent to the i.materialise 3D print lab, where you can choose from a variety of materials and colors. Add the design to your cart, place the order, and within a couple of days you will be showing off your design to everyone you know. Designing and 3D printing your own designs, like the connection piece pictured below has never been easier.

ErikZalm/Marlin OEP1: Generalized extrusion module · openscad/openscad Wiki Goals Make extrusions more general and flexibleHandle transformations along the extrusionAllow extrusion along a pathMake use of functions to describe the paths Status and References Status as of 2014-05-26 Different example/prototype code existsOpen discussion about how to fit the functionality into the languageDiscussions indicate that this should be split into sweep() and loft(), where the primary difference is that loft() offers morphing between different 2D shapesSome user-space experiments: Github Issue: Mailinglist This attempts to formalize an API based on discussions so far. sweep(<path>) <2d shape> This version sweeps the given 2D shape across the path. Discretized space curves In this case, a path is a list of 2D or 3D coordinates describing a curve in space. This is likely to be the easier way for users to describe paths. Discretized transformation path Function Open questions: Old Ideas

Node.js Guide Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. — The official Node.js website This manual consists of three different sections: The Node.js API Reference documents the core Node.js modules The Node.js Guide contains articles and code samples on coding in Node.js The Javascript Reference contains doucmentation about the Javascript language You can instantaneously copy and run the code samples found here into your Cloud9 IDE account by just clicking a button. Contributing You can help! Use the [edit] links near the article titles to edit them online into the Cloud9 IDE. Getting started learning Node.js Here are some tutorials to get you started with Node.js: Writing Asynchronous Code Creating an HTTP Server The Node Package Manager Node.js Community

I'm building a WebGL modelling tool for 3D printing 2 weeks ago Father Christmas delivered a MakerBot Thing-O-Matic 3D Printer to my office. I think I understand how it must have felt to own an Altair 8800 back in the day when the world was on the brink of the consumer computing revolution. Consumer 3D printing could be another such revolution. Expensive to very expensive professional products. Expensive to very expensive tools are tools like AutoCAD and Autodesk Inventor. Applications that have modelling capabilities but are aimed at rendering are those such as Blender , Maya and 3D Studio Max. I would puth Sketchup , OpenSCAD and 3D Tin into the "free but limited/difficult to use" category. (For a good overview of what 3D tools are available, have a look at "25 (Free) 3D Modelling Applications You Should Not Miss" or the list of tools listed on the ShapeWays website .) I was on a team that developed an advanced 3D modeller as part of an engineering tool suite earlier in my career, so I know what's possible. Accessible.

From cloud computing to personal fabrication Surfing on the Internet this week I found Daniel Davis blog Digital Morphogenesis. I bumped into his last post HTML5 & WebGL where he introduces us to WebGL and its importance for CAD modeling. I am not an expert on these topics and Daniel’s article really helped me to understand what’s going on so I am going to share it with you. Using a browser that supports WebGL means that “users don’t need to download or install any additional plugins to view 3d content”. 3d models are now viewable on the Internet and we are able to generate a model, modify it and design it on the cloud. Daniel’s article points out some interesting examples of cad applications that we can find on the cloud computing context. CloudSCAD is now Open Source and available on GitHub. At CloudsCAD’s blog we have this video about personal production. FULL PRINTED from nueve ojos on Vimeo. We can find more information about personal production in this video-lecture Online Interactive Design and Customization at DHUB.

kliment/Printrun OpenSCAD User Manual/2D to 3D Extrusion Extrusion is the process of creating an object with a fixed cross-sectional profile. OpenSCAD provides two commands to create 3D solids from a 2D shape: linear_extrude() and rotate_extrude(). Linear extrusion is similar to pushing Playdoh through a press with a die of a specific shape. linear_extrude() works like a Playdoh extrusion press Rotational extrusion is similar to the process of turning or "throwing" a bowl on the Potter's wheel. rotate_extrude() emulates throwing a vessel Linear Extrude[edit] Linear Extrusion is a modeling operation that takes a 2D polygon as input and extends it in the third dimension. Usage[edit] linear_extrude(height = fanwidth, center = true, convexity = 10, twist = -fanrot, slices = 20, scale = 1.0) {...} You must use parameter names due to a backward compatibility issue. If the extrusion fails for a non-trival 2D shape, try setting the convexity parameter (the default is not 10, but 10 is a "good" value to try). Twist[edit] 0° of Twist -100° of Twist 100° of Twist

Animatable: One property, two values, endless possiblities box-shadow From: 0 0 black To: 0 150px 10px -50px rgba(0,0,0,.5) Author: @leaverou Shapesmith – An Open Source Web-based 3D Modeler EmailShare 4EmailShare iPhone dock created in Shapesmith and printed on Thing-O-Matic How can I model the thing I want to print? As the population of 3D printer operators continues to grow, answering that question will become more important than ever. The developer, MakerBot operator, and Thingizen Benjamin Nortier tells us all about it. Q: Who are you and what is Shapesmith? I’m a software developer with an Engineering background and I’m also a 3D printing enthusiast. I wanted to design an Unmanned Aerial Vehicle (UAV) after being inspired by DIY Drones. Because I had worked on a 3D CAD tool for electromagnetic simulation earlier in my career, I was very dissatisfied by the free design tools that were available. Q: Why did you decide to open source it under the Apache license? Two of my favourite open-source projects, Riak and CouchDB, are licensed under Apache. Q: Your technology choices are interesting. And Javascript! Yes, and it’s great for everyone involved.

Joaz/Sprinter The OpenScad Useful Library by roipoussiere This file aims to provide a set of functions for vectors, strings and number operations. Author: Nathanaël JourdaneEmail: nathanael@jourdane.netDate: december 30, 2015License: Creative Commons CC-BY (Attribution)thingiverse: Requires OpenScad 2015.03 or sup. I love implementing these recursive functions! An other string library: Instructions Copy-paste the function(s) you need from TOUL.scad into your .scad file; Place TOUL.scad in your local OpenSCAD folder under /libraries. include TOUL.scad Summary [vect] new_vector(len, [val]): Returns a vector with len elements initialised to the val value. Vectors new_vector [vect] new_vector(len, [val]) Returns a vector with len elements initialised to the val value. Arguments [int] len: The length of the vector. Usage echo(new_vector(5)); // [0, 0, 0, 0, 0] echo(new_vector(3, "a")); // ["a", "a", "a"] getval Strings strcat [vect] v: The vector of string to concatenate. split str2vec

XRegExp: JavaScript regex library JNetCAD JNetCAD ... ... the Java-Application for viewing and converting CAD data. JNetCAD is a simple Java GUI for importing and exporting several CAD formats. Each im- and export module exists as JAR library and can be used separately in other projects. JNetCAD uses jRealiy for the visualization. Hence it provides a software renderer and a JOGL (Java binding for OpenGL) renderer. Im- and exporter concept As mentioned above, the im- and export modules have been implemented as independend Java libraries, which can be used as loaders (for viewer, analyzer, ...) and conversion tools. Conversion example: JT -> JSON / CTM (WebGL) Here is an embedded example of the conversion from JT to JSON (WebGL). Screenshot (Firefox) Rotation: Left mouse button Translation: Right mouse button Scale: Wheel mouse button Click here for full screen with picking feature. Conversion example: JT -> 3D-PDF Licence All components can be used in non commercial or educational projects for free. Donation Downloads

Related:  Foonsy