TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Getting the best out of OpenSCAD

118 pointsby naggieover 3 years ago

12 comments

sysrplover 3 years ago
I&#x27;ve worked a bit in OpenSCAD, and although I really enjoy the programming approach to generating 3D designs, it really is limited when compared to traditional CAD software. Being able to visually align an item, or use even basic commands like offset or fillet, are absent in OpenSCAD. Sure OpenSCAD has it&#x27;s place, but I think that&#x27;s in the area of procedural generated shapes, and it&#x27;s not for 3D part or machine design.<p>For reference here are some of the items I designed using OpenSCAD:<p><a href="https:&#x2F;&#x2F;cache.getlazarus.org&#x2F;images&#x2F;projects&#x2F;101&#x2F;case-and-stand.jpg" rel="nofollow">https:&#x2F;&#x2F;cache.getlazarus.org&#x2F;images&#x2F;projects&#x2F;101&#x2F;case-and-st...</a><p><a href="https:&#x2F;&#x2F;cache.codebot.org&#x2F;prints&#x2F;soldering-station.jpg" rel="nofollow">https:&#x2F;&#x2F;cache.codebot.org&#x2F;prints&#x2F;soldering-station.jpg</a><p><a href="https:&#x2F;&#x2F;cache.getlazarus.org&#x2F;images&#x2F;desktop&#x2F;soldering-kit-model.png" rel="nofollow">https:&#x2F;&#x2F;cache.getlazarus.org&#x2F;images&#x2F;desktop&#x2F;soldering-kit-mo...</a><p><a href="https:&#x2F;&#x2F;cache.codebot.org&#x2F;prints&#x2F;power-supply.jpg" rel="nofollow">https:&#x2F;&#x2F;cache.codebot.org&#x2F;prints&#x2F;power-supply.jpg</a><p><a href="https:&#x2F;&#x2F;cache.getlazarus.org&#x2F;images&#x2F;projects&#x2F;102&#x2F;control-box.jpg" rel="nofollow">https:&#x2F;&#x2F;cache.getlazarus.org&#x2F;images&#x2F;projects&#x2F;102&#x2F;control-box...</a>
评论 #28942717 未加载
评论 #28943199 未加载
Sohcahtoa82over 3 years ago
When I first got into 3D printing, I used OpenSCAD for my designs. The fact that objects are described with code made me feel right at home. It made it incredibly easy to make parametric designs.<p>But later, I did start to feel the limitations. Not having automatic fillet&#x2F;chamfer was huge. And sometimes, I wanted the ability to measure the distance between two points selected visually to make sure all my math involving offsets was correct.<p>And as the article mentions, certain shapes end up with a lot of artifacts unless you &quot;render&quot; them, which can take a while. I designed a refillable catnip toy [0] and all the holes in it made the CSG subtraction take ~15 minutes, IIRC. Without rendering though, the opening on the bottom was solid, along with other glitches.<p>[0] <a href="https:&#x2F;&#x2F;www.thingiverse.com&#x2F;thing:4687159" rel="nofollow">https:&#x2F;&#x2F;www.thingiverse.com&#x2F;thing:4687159</a>
评论 #28938251 未加载
评论 #28938369 未加载
评论 #28939072 未加载
评论 #28939004 未加载
评论 #28941787 未加载
knolaxover 3 years ago
Just tried OpenSCAD a couple days ago. The fact that intersection and difference operations often result in z-fighting is extremely frustrating. I read that that it was standard practice to manually account for this by &quot;cutting more than you need&quot;. Such bandaid workarounds shouldn&#x27;t need to exist. It&#x27;s disappointing because conceptually OpenSCAD is very promising, but fundamental issues like this combined with the overly verbose syntax are holding it back.
sydthrowawayover 3 years ago
Ctrl-F, didn&#x27;t mention BOSL2<p><a href="https:&#x2F;&#x2F;github.com&#x2F;revarbat&#x2F;BOSL2" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;revarbat&#x2F;BOSL2</a>
评论 #28938389 未加载
fnfs2000over 3 years ago
No one has mentioned OpenJSCAD, which is the same idea in Javascript: <a href="http:&#x2F;&#x2F;openjscad.azurewebsites.net&#x2F;" rel="nofollow">http:&#x2F;&#x2F;openjscad.azurewebsites.net&#x2F;</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;jscad&#x2F;OpenJSCAD.org&#x2F;tree&#x2F;V2" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jscad&#x2F;OpenJSCAD.org&#x2F;tree&#x2F;V2</a><p>A fairly substantial rewrite is underway, the V2 branch linked above.
xor99over 3 years ago
I definitely would use version based cad programs with coding options but the pickings are pretty slim for industrial applications aside from the big players. Particularly programs that can be custom built to the users needs.<p>Solidworks and Catia are often seen as unbeatable for industry but there are so many issues with them, particularly when used in smaller companies or startups. Need Mac support, never. Need multi-threading support, nope never going to implement it. Update the graphics so it doesn&#x27;t look so ancient and clunky, never. Fusion&#x2F;autocad are good but are full of bugs and the cloud service is annoying (e.g. I continuously have to delete log files to open the program). Being picky but this stuff shouldn&#x27;t be hard by now given how long CAD has been around.<p>Are there any projects using something like rust or c++ to do a build and customise style cad program with versioning? I&#x27;ve tried cadquery, libfive etc. and none really fit the bill.
smallerfishover 3 years ago
Is there a good parametric &#x2F; code based CAD that&#x27;s good for (amateur) house or garden design, and which runs on linux? I&#x27;ve used openscad in the past for simple parts prototyping, but haven&#x27;t tried it for 2d work. I always found its preview kind of awkward, so I can&#x27;t see it exporting or printing particularly well.<p>I&#x27;ve been learning qcad recently, which is OK, but it really wants you to make extensive use of the mouse. I feel like I could probably be just as productive by typing code and seeing a 2d plot of what I specify. Way back when I used SweetHome3d, which works pretty well for interiors, but (at least when I tried it) didn&#x27;t have very many tools for exteriors.
评论 #28939514 未加载
评论 #28938696 未加载
评论 #28938292 未加载
评论 #28938128 未加载
habermanover 3 years ago
I was under the impression that CadQuery sort of obsoletes OpenSCAD. CadQuery uses an more capable geometry kernel: <a href="https:&#x2F;&#x2F;github.com&#x2F;CadQuery&#x2F;cadquery" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;CadQuery&#x2F;cadquery</a>
评论 #28939694 未加载
评论 #28939945 未加载
dpflugover 3 years ago
<a href="http:&#x2F;&#x2F;www.implicitcad.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.implicitcad.org&#x2F;</a> is an interesting option if you&#x27;re frustrated by OpenSCAD&#x27;s limitations.
评论 #28939533 未加载
评论 #28943746 未加载
评论 #28939995 未加载
laydnover 3 years ago
Do you know whether anyone using these types of tools (like OpenSCAD, CadQuery) in any serious design? By serious I mean, real, industrial use cases (think automotive, defense, aircraft, etc.). Or are these tools mainly targeting hobbyists?
评论 #28941531 未加载
评论 #28942409 未加载
physicsguyover 3 years ago
I used to use gmsh for all of my CSG + meshing work when I was doing simulations. Not done so for many years now though so not sure how it fares these days.
pvillanoover 3 years ago
my greatest OpenSCAD tip is to start your files with this prelude:<p><pre><code> $fa = .01; $fs = $preview ? 5 : 1; </code></pre> This will make your maximum facet size 5mm in preview and 1mm in render.