Questions tagged [openscad]

OpenSCAD is a software for creating solid 3D CAD models. It is free software and available for Linux/UNIX, Windows and Mac OS X.

OpenSCAD is a software for creating solid 3D CAD models. It is free software and available for Linux/UNIX, Windows and Mac OS X.

Unlike most free software for creating 3D models, OpenSCAD does not focus on the artistic aspects of 3D modelling, but instead focuses on the CAD aspects. So it might be the application you are looking for when you are planning to create 3D models of machine parts, but probably is not what you are looking for when you are more interested in creating computer-animated movies or organic life-like models.

OpenSCAD, unlike many CAD product, is not an interactive modeller. Instead it is something like a 2D/3D-compiler that reads in a program file that describes the object and renders the model from this file. This gives you (the designer) full control over the modelling process and enables you to easily change any step in the modelling process or make designs that are defined by configurable parameters.

Official Site

User Manual

127 questions
0
votes
1 answer

openscad - align a shape with a path defined by two points

I have a function: function knotAng(a,s) = [(sin(a)+(2*sin(2*a)))*s, (cos(a)-(2*cos(2*a)))*s, sin(3*a)*s]; I am placing a number of objects along a path where a=0 to 359 and s is constant I want to orient the objects so they follow…
Chris Camacho
  • 1,094
  • 1
  • 7
  • 28
0
votes
0 answers

Javascript 3D Model Error

I need support in editing a script that generates a 3D model. However I'm struggling as I keep getting errors. function handleImage(e) { var reader = new FileReader(); reader.onload = function(event) { var img = new Image(); …
Ahsan Alii
  • 123
  • 1
  • 14
0
votes
0 answers

Finding the tangent point of a circle, connected to another point on the plane

If I have a circle of radius x with known coordinates for the center of the circle, and another point P on the coordinate grid, how do I find two coordinates points on the circle so that they create two tangent lines when connected to P? I don't…
EDToaster
  • 2,889
  • 3
  • 12
  • 25
0
votes
1 answer

Openscad : linear_extrude won't scale

This simple code : linear_extrude(height = 10, scale =2) { circle(r = 1); } create a cylinder instead of scaling the circle during the extrusion. Result:
Ruff9
  • 910
  • 11
  • 25
0
votes
1 answer

clang: error: linker command failed with exit code 1 when make openscad

I'm trying to install openscad, I have install all dependencies but when i'm trying to make openscad i've got this problem: $ make clang++ -headerpad_max_install_names -stdlib=libc++ -mmacosx-version-min=10.7 -stdlib=libc++ -arch x86_64 -o…
0
votes
1 answer

Creating a "cup" with polyhedra in openSCAD

I am trying to create a "cup" shape (hollow with one end open) with octagonal prisms (using the polyhedron function). When I render my code, OpenSCAD does not render the bottom and inside faces. What am I doing wrong? Thanks! My Code: difference()…
ZuluDeltaNiner
  • 695
  • 2
  • 11
  • 26
0
votes
1 answer

Given dimensions are different on 3D printer

I draw a small cap in openSCAD and defined the dimensions in 'mm'. When I export the part as STL and open it in the 3D printer's software, the part is almost double in size. here is the part's code: difference() { cylinder(h = 15, r1 = 35, r2 =…
dvdmn
  • 5,659
  • 6
  • 39
  • 51
0
votes
1 answer

openscad - brik with 2 different bases, where one is scaled 2

Lets say I have 2 bases and I want to create brik with it, the h=10 Lets have first base be A Lets have second base be difference() { A; offset(r=-1) A; } How to do it? Of course in openSCAD
0
votes
2 answers

OpenSCAD 2d figure to 3d figure

I have a problem in OpenSCAD, I do know know language and I do not know to approach problem. Lets say, I get 2d figure, for example circle(r=25) and I want to have solid from it. But what I want from that solid is. -> On h=0, there is my…
0
votes
1 answer

Project ERROR: Unknown module(s) in Qt: gui widgets printsupport macextras

I'm trying to compile OpenSCAD on my Mac. When the build script reaches the line qmake qscintilla.pro it spits out the error Project ERROR: Unknown module(s) in QT: gui opengl concurrent widgets printsupport macextras If I run qmake on its own I…
user3640511
  • 147
  • 1
  • 12
0
votes
1 answer

How can i use multimatrix in a loop in OpenSCAD?

i wish to chain cubes end to end inside a loop, so that i can construct a spiral made of cubes only using dynamic rules of how they are added together rather than a parametric equation. i.e. translate 1, tilt 20', rotate-z 10'... would make a 3d…
DeltaEnfieldWaid
  • 1,912
  • 1
  • 16
  • 27
0
votes
1 answer

Split hollow sphere based on circumscribed Dodecahedron sides

I'm attempting to print out a 300mm hollow sphere on my Printrbot by shaping the sphere's internal cavity as a regular, circumscribed polyhedron and splitting up the sphere based on the sides of the circumscribed polyhedron. I first attempted this…
kwelliott
  • 47
  • 8
0
votes
2 answers

Running OpenGL on windows server 2012 R2

This should be straightforward, but for some reason I can't make it work. I hired a Softlayer Bare Metal Server that comes with an Nvidea Tesla GPU. I'm remotley executing a program (openScad) that needs OpenGL > 2.0 in order to properly export a…
Alejandro Lozdziejski
  • 899
  • 3
  • 11
  • 24
0
votes
1 answer

Why doesn't my OpenSCAD model render correctly in thingiverse?

I created a parametric OpenSCAD model, and tried importing it into thingiverse customizer. However, it is supposed to look like this:http://i.stack.imgur.com/BXFsQ.jpg, but it looks closer to this: http://i.stack.imgur.com/rOF5b.png Does thingiverse…
Daniel M.
  • 1,348
  • 12
  • 19
0
votes
3 answers

Running Batch File through java but process never completes

I have built a single line batch file: openscad -o %1 %2. This code works when I run: export output.stl input.scad from my command prompt. I need this to run in java so i use the code: System.setProperty("user.dir", directory); String command =…
user3339232
  • 93
  • 1
  • 3
1 2 3
8
9