Questions tagged [openscad]

Questions related to the use of the program OpenSCAD and how it relates to creating parts for 3D printing

Filter by
Sorted by
Tagged with
2
votes
1answer
50 views

OpenSCAD / FreeCAD splitting, hollowing and threading model

I had a thought the other day that it's 100 % waste to have either a solid or hollow 3D-printed model in relation to utilizing the space inside of it for different modules, e.g. secret compartments, ...
0
votes
1answer
30 views

How to I assign an imported STl file to a variable, polygon, or otherwise manipulate it?

I have 2 STL files that I want to chop, rotate, and glue together. If I printed them and literally chopped and glued them together, I would be done. Very simple operations. I imported them both ...
0
votes
2answers
222 views

.STEP/.F3D to .SCAD file?

I work with Fusion360 for designing lots of things. Recently I learned how to work with parameters that I can easily modify all at once, allowing to pretty much make easily customizable pieces. Now, ...
2
votes
3answers
92 views

Creating a two part label for storage boxes

I want to create two piece labels for storage containers. The main piece would be the “badge” which would have text cut out of it (e.g. “Paint”, “Electrical” etc.). The second piece would be a ...
4
votes
1answer
91 views

Spiral bevel gears in OpenSCAD

I'm trying to design a "Lifting Table" in OpenSCAD which will consist of 2 concentric cylinders. On the inner cylinder I plan to mount 3 un-powered bevel gears vertically plus a 4th powered one each ...
3
votes
3answers
253 views

Is it possible extrude faces along normals individually in OpenSCAD?

For the geometry I am making, I want to extrude each face individually along its normal. This is a standard procedure in 3D modeling software like Blender; see Example 3 here. Is this possible in ...
4
votes
1answer
109 views

Streamlining OpenSCAD Code

Is there an efficient approach to discovering what is extraneous ("dead" or "unused") code in OpenSCAD to promote the learning process? I am making progress by using working examples of code; however,...
1
vote
2answers
144 views

OpenSCAD weirdness with imported STL

I've tried to remix this model: https://www.thingiverse.com/thing:90933 (Bauhaus chess set) by scaling it down and inserting little magnet holes into the pieces' underside. My SCAD file looks as ...
4
votes
3answers
304 views

Creating “pie slice” in OpenSCAD?

When making a cylinder, sometimes I need to only take a pie slice. I'm currently using this neat trick to make pie slices for angles under 90 degrees. However, I have need of a few angles over 90 but ...
2
votes
1answer
41 views

Handing OpenSCAD module parameters derived from other variables

I'm new to OpenSCAD, but I can only get default parameters working for simple values. I'm wondering if there is any way to achieve the following, where I have some parameters available to the ...
3
votes
1answer
911 views

Is there an easy way to split models in OpenSCAD?

I'm wondering if I can take one OpenSCAD object, and cut/splice/split it into two different objects that can then be manipulated independently? One approach is to duplicate the object, difference it ...
2
votes
1answer
35 views

Find OpenSCAD code from image

I have an OpenSCAD model which I am looking at in the application, code to the left and the rendering to the right. Am trying to modify a certain piece, and have commented out all the commands that I ...
6
votes
1answer
451 views

How to prevent z-fighting in OpenSCAD?

Z-fighting is a 3D rendering artifact of coplanar surfaces (means, triangles are located in exactly the same plane, and overlap). It can happen in OpenSCAD's preview mode when doing a ...
4
votes
2answers
124 views

Why is 2 / -2 / 2 equal to -2 in OpenSCAD? (Mathematical Order of Operations)

Recently I have been doing more complicated math in OpenSCAD and I have run into something that I find strange. Take a simple math expression: 2 / 2 / 2. By any ...
1
vote
1answer
556 views

OpenSCAD “not valid 2-manifold” useful information

OpenSCAD suggests that "object may not be a valid 2-manifold" but it looks perfectly fine in OpenSCAD and in Meshlab. Have looked through the file several times, and cannot find any point or line ...
2
votes
2answers
358 views

OpenSCAD 2018 Command line

First, I'm using Linux Mint 18.3 (Sylvia). Until now, I've been using OpenSCAD with the GUI and never experienced issues. Now I try to start OpenSCAD from the command line, but it always opens an ...
1
vote
0answers
138 views

OpenSCAD editor font is unreadable [closed]

I am a new OpenSCAD user. My screen editor window is using a very strange font that I cannot read. How can I fix it? I just installed OpenSCAD on my Linux Manjaro computer. This is a screen shot of ...
1
vote
2answers
449 views

How to specify rotation origin in openscad [closed]

OpenSCAD has rotate function which rotates the body around its origin axis. Is there a way to specify an arbitrary axis? For example, this rotates a cylinder ...
5
votes
1answer
691 views

OpenSCAD library for empty space/holes

I am working on a design in OpenSCAD, and need (would want) two things that seem tedious to hand-code: A pattern of holes in a wall, for less weight/material. Could be round holes or some geometric ...
5
votes
1answer
864 views

Can the `render` function be used to speed up rendering?

I am designing a moderately complicated piece in OpenScad. It renders fast enough in preview mode (1s). But when i do a full render so I can export to STL, it takes ages (In the 10s of minutes) I ...
8
votes
3answers
336 views

Are there any “best” or at least “common” practices to handle allowances in OpenSCAD code?

I'm designing a few mechanisms with OpenSCAD, and one of the parameters that need adjustment between printers/filaments is allowances between pieces that need to be assembled together (for example, if ...
4
votes
2answers
188 views

How to remove internal part of a hex grid

I am modelling a few cut templates to be used on an hexagonal grid (honeycomb) material using OpenSCAD. Basically, from a reference cell, I need to select all cells that are within a given range and ...
1
vote
3answers
802 views

Is there a technique for turning an image into a 2d model?

The overall goal is to create a print of the liberty bell. No clapper is needed. The support beam is not needed. I am just looking to mimic the outside shape of the bell. After an application of ...