Live data from Hacker News

Code CAD – Use code to create CAD models

cadhub.xyz

91–97 of 97 posts

Re: Code CAD – Use code to create CAD models

#91
post #35

Hey, I created CadHub. I'm really bullish on software driven CAD, myself and other CadHub volunteers talk regularly about a future in which Mechanical Engineering and design is very similar to software engineering. I'll be the first person it admit that some of the current CodeCAD tools aren't production ready, OpenSCAD for example I can't imagine being used by mechanical engineers. So the idea is mostly about unifyi…

[deleted]

Re: Code CAD – Use code to create CAD models

#92
post #35

Hey, I created CadHub. I'm really bullish on software driven CAD, myself and other CadHub volunteers talk regularly about a future in which Mechanical Engineering and design is very similar to software engineering. I'll be the first person it admit that some of the current CodeCAD tools aren't production ready, OpenSCAD for example I can't imagine being used by mechanical engineers. So the idea is mostly about unifyi…

I'm curious what sort of market research lead to this. If Mechanical engineers are truly the target audience, I would strongly suggest that you consult with one. We already have all these things, with more features, more integrations with other tools, and more flexibility.

Re: Code CAD – Use code to create CAD models

#93

Earlier quoted context omitted.

Howdy! Well we absolutely need more open source CAD tools. That said as a mechanical engineer for going on two decades now, I really get no value from this kind of mechanical design. I grew up on Solidworks and now use OnShape. That kind of physical modeling is very important. Being able to click on a face and sketch some geometry and then extrude it really feels like the right modality for me. I’d really love to see…

> I grew up on Solidworks and now use OnShape... I’d really love to see more investment in that kind of parametric visual CAD. Has You tried SolveSpace app? [0] https://solvespace.com [1] https://git.io/SolveSpace3x (latest nightly builds + various useful resources)

Just loaded the latest snap. I remember seeing this a few years ago. I'll have to make sense of the UI but I extruded a cylinder and it looks like the program has promise. I'm wondering if it does assemblies yet as that is key.

EDIT: I see you linked some tutorials so I will have to check those out!

Re: Code CAD – Use code to create CAD models

#94

I've been using CadQuery [1] a lot of late to develop custom parts for 3D printing, and while it's nice to be able to write plain Python and the abstractions are somewhat more intuitive than OpenSCAD, it's still kind of brittle and complex parts are hard work. There are things CAD-as-code excels at, but once you leave the happy path of simple primitives with a few holes and a bit of chamfer, I found things can get re…

I completely agree, but Fusion360 is still very usable for hobbyists in practice. It does store your files on the cloud, the software only works when it can phone the server, and Autodesk can change its conditions at any time. But for the moment, most hobbyists are happy with it. It's quality software, and free (as in beer). It's hard to compete with that. Most hobbyists care more about making their designs rather th…

I'm not dogmatic either, but if I need to revisit a design a few years from now, will I be able to? That's what I feel uneasy about with Fusion 360.

Re: Code CAD – Use code to create CAD models

#95
post #16

Earlier quoted context omitted.

Unfortunately CadQuery (primarily its GUI) seems like its development has fizzled out, without getting it to the point of functionality on macOS. OpenSCAD, on the other hand, works quite reliably on Mac. Also, it's clunky, but I've had success by using Python to generate OpenSCAD code. The best application of this was an SVG to OpenSCAD path converter.

Doesn't https://github.com/CadQuery/CQ-editor work on MacOS? I don't really see how development has fizzed out. There have been quite a few commits the last couple of months.

Since April 2021, and at the time of the OP, there had been one non-readme related commit to the linked repository. And no, CQ-editor does not work on Mac for a variety of reasons, including code signing errors.

Re: Code CAD – Use code to create CAD models

#96
post #75

Earlier quoted context omitted.

CAD and code absolutely do not, and should not mix. I tend to agree, having done both programming and mechanical design. Drawing by writing code is pounding a screw. The major CAD systems have some scripting capability, for when you need to generate a gear or a geodesic dome or something that needs procedural generation. They also have constraint solvers, so you can specify constraints and let the system find a solut…

I'm an embedded software engineer and into 3D printing useful/functional things. I've made a lot of cool complicated stuff with OpenSCAD. There's a lot of problems that are solved nicely in code. For example, I made a two stage 80:1 gear box for a force feedback steering wheel project, and I fully parameterized the gearbox geometry based on the tooth count, gear metric, and extrinsic mounting constraints. As a result…

Parametric CAD like solidworks does that too, but all you need is the relations between features, no boilerplate.

Re: Code CAD – Use code to create CAD models

#97

Earlier quoted context omitted.

Howdy! Well we absolutely need more open source CAD tools. That said as a mechanical engineer for going on two decades now, I really get no value from this kind of mechanical design. I grew up on Solidworks and now use OnShape. That kind of physical modeling is very important. Being able to click on a face and sketch some geometry and then extrude it really feels like the right modality for me. I’d really love to see…

> Howdy! Well we absolutely need more open source CAD tools. Please, no. We need one (or two for competition) really good open source solid modeling CAD tools with parametric and other interfaces. We do not need a dozen competing tools with varying feature overlap that need to be meticulously vetted before committing to one. Not to mention wasted dev time as each tool implements similar features in different ways, wa…

Nah, keep reinventing the wheel for your own particular tastes and perspective. This is how open source evolves. Lots of little experiments that eventually get rolled together.
Post reply on HN