News for hackers. Stuff that matters.
Re:Constraint-based geometry (CAD) sketcher for Blender by cultofmetatron on Sunday May 22, 2022 @03:26PM (#31471788)
I really wish there was a open source cad modeler on the same level as blender. It really is next level. My dream for if my startup succeeds is to bootstrap such a product. Especially if it had a fully extensible architecture. it would be possible for third party services to plug into it (both paid and open source) for creating and designing new inventions.
Re:Constraint-based geometry (CAD) sketcher for Blender by samwillis on Sunday May 22, 2022 @04:48PM (#31472617)
The fundamental problem is that there isn’t a good enough open source parametric kernel. FreeCAD uses OpenCascade which is the best available, but quite dated, FreeCAD is pushing it to its limits.
Re:Constraint-based geometry (CAD) sketcher for Blender by alhirzel on Sunday May 22, 2022 @06:33PM (#31473473)
Is there a good description of what such a parametric kernel does? Or are there any alternatives to OpenCascade?

Edit, found this article with a little explanation: http://mikeestee.com/2012/03/open-source-parametric-cad/

Re:Constraint-based geometry (CAD) sketcher for Blender by namirez on Sunday May 22, 2022 @09:13PM (#31474409)
The two big CAD kernels are Parasolid, owned by Siemens, and Acis, owned by Dassault. Both of them are proprietary, quite pricey, and light years ahead of OpenCascade in capability and stability. The current state of open-source CAD is very sad.
Re:Constraint-based geometry (CAD) sketcher for Blender by alhirzel on Sunday May 22, 2022 @11:42PM (#31475132)
Thank you! Based on this, I found the wikipedia article: https://en.wikipedia.org/wiki/Geometric_modeling_kernel

I wonder if there is currently a concentrated open-source effort in this direction, like a greenfield project for today's needs (including capabilities toward design optimization, subtractive and additive manufacturing, while addressing any shortcomings in OpenCascade).

Re:Constraint-based geometry (CAD) sketcher for Blender by johnwalkr on Monday May 23, 2022 @04:22AM (#31476510)
Step files work well for interchange but have no parametric features as far as I can tell. They are also proprietary. For whatever reason, I haven’t seen any serious effort to make an open source cad kernel. Maybe one reason is unlike 3D modeling for artistic domains, very few users are capable of working on software and there’s probably much lower pressure to use software to automate design.

I don’t really see a need to focus on subtractive and additive manufacturing in the kernel, although some hints in the UI for a particular program would be useful. Analysis and optimization predates 3D cad, in a way so it would be interesting to see what could be done from scratch.

Re:Constraint-based geometry (CAD) sketcher for Blender by johnwalkr on Monday May 23, 2022 @03:49AM (#31476307)
And interestingly, Dassault’s Solidworks uses parasolid and not Acis.
Re:Constraint-based geometry (CAD) sketcher for Blender by throw_m239339 on Sunday May 22, 2022 @03:48PM (#31472003)
FreeCAD? It is used professionally by a lot of big companies such as Behringer to design hardware.

https://www.freecadweb.org/

Re:Constraint-based geometry (CAD) sketcher for Blender by slabity on Sunday May 22, 2022 @04:41PM (#31472530)
I use FreeCAD relatively often (once or twice a month) over the past 3 years and I can say with certainty that it is nowhere close to Blender in terms of quality or stability.

I've been keeping up with the latest versions, but even with all the bug fixes that go in I am more likely than not to have it segfault or lose its GL context or something else that causes it to crash. This isn't even hyperbole, I literally get 2 or 3 crashes at minimum per session, and when it happens it's rarely reproducible. I simply save after every couple of changes I make because I've just come to expect it to happen.

When it does work, I frequently run into problems like the infamous topological-naming-issue that, while I understand it is a difficult software problem to fix, I do not run into in the other CAD programs I've used. The only way to avoid these kinds of issues is to understand the underlying cause and then adjust your workflow so that you don't run into them.

The only reason I use it is because there's not really any other FOSS that fits the same niches. I did learn about SolveSpace and this blender plugin today though, so I'll probably take a look.

Re:Constraint-based geometry (CAD) sketcher for Blender by dTal on Monday May 23, 2022 @07:26AM (#31477633)
Take a look at SALOME. It uses the same CAD kernel and constraint engine as FreeCAD, but is very stable. Best kept secret in the open source CAD world.
Re:Constraint-based geometry (CAD) sketcher for Blender by NonNefarious on Sunday May 22, 2022 @06:25PM (#31473429)
Same. I don't know much about 3-D modeling, but I took a Maya class years ago and was annoyed at design flaws in its UI.

I didn't expect much from Blender, owing to the shitty UI offered by other widely-used open-source software like GIMP and Audacity. But I was pleasantly surprised by Blender, and I'm excited to learn it.

But the CAD space is dominated by pay-only rental-style solutions, and even most of those seem to be Web-based (Autodesk) or Windows-only (SolidWorks).

Re:Constraint-based geometry (CAD) sketcher for Blender by _carbyau_ on Sunday May 22, 2022 @11:47PM (#31475156)
Blender suffered from UI issues and arguments for a loooong time. But from 2.8 onwards it seems to have been made acceptable to most.

So maybe one day GIMP and Audacity will get there.

Re:Constraint-based geometry (CAD) sketcher for Blender by sackerhews on Sunday June 05, 2022 @06:21AM (#31629638)
Re:Constraint-based geometry (CAD) sketcher for Blender by scoopertrooper on Monday May 23, 2022 @12:12AM (#31475285)
The industry is pushing behind Blender in a massive way. There just isn't the same sort of energy behind GIMP and Audacity.
Re:Constraint-based geometry (CAD) sketcher for Blender by johnwalkr on Monday May 23, 2022 @04:43AM (#31476622)
Not only has it moved to rental, but lots of the offerings have absolutely punishing license terms. For example, if you stop paying maintenance fees, when you upgrade you have to back pay all missed fees or purchase the software again for $10k to $40k.

And at some point you have to upgrade because the file formats change every year.

I always recommend Solidedge these days because it’s the only remaining capable option that has a simple monthly/yearly license.

Re:Constraint-based geometry (CAD) sketcher for Blender by IshKebab on Monday May 23, 2022 @05:18AM (#31476803)
Solvespace is the only thing vaguely close (FreeCAD is rubbish), but it's missing lots of basic features you might expect like bevels and fillets.
Re:Constraint-based geometry (CAD) sketcher for Blender by dapids on Sunday May 22, 2022 @03:35PM (#31471897)
Is blender not open-source?
Re:Constraint-based geometry (CAD) sketcher for Blender by cultofmetatron on Sunday May 22, 2022 @03:39PM (#31471927)
blender is a mesh modeler, That means the underlying represntation of the scene is a a set of surfaces connected by nodes subdivided by triangles. Its efficient and quick for 3d animation and concept art but not so great for cad design.

real cad tools like fusion360, autocad etc are parametric. they represent a shape in the form of constraints. The underlying representation of the shape is different in a way that facilitates modeling something that you are going to create a real world counterpart from.

Yes there are open source cad programs but nothing I've seen comes close to rivaling professional tools the way blender does.

Re:Constraint-based geometry (CAD) sketcher for Blender by NonNefarious on Sunday May 22, 2022 @06:32PM (#31473469)
Yeah, thanks for that explanation of the issue.
Re:Constraint-based geometry (CAD) sketcher for Blender by dapids on Sunday May 22, 2022 @03:40PM (#31471940)
Thanks for the insight.
Re:Constraint-based geometry (CAD) sketcher for Blender by throw_m239339 on Sunday May 22, 2022 @03:55PM (#31472075)
Blender is mostly an artistic tool (mesh modelling), which actual CAD software is designed for industrial engineering, accurate physical simulations, manufacturing, and architecture (constraint based modelling).
Re:Constraint-based geometry (CAD) sketcher for Blender by Animats on Sunday May 22, 2022 @04:54PM (#31472664)
Yes. Blender has some volumetric operations. You can take the union or intersection of two meshes, or use one to cut out part of another. But it's a bolt-on to an underlying mesh system, and the resulting meshes have lots of ill-chosen triangles.

Serious modern parametric CAD (Autodesk Inventor, Solidworks, etc.) does constructive solid geometry well, but is not well suited to animation. Making a face via CSG is terrible. Although it's gotten better; you can now do sculpted shapes in CAD, because people design cars in them. That has both sides of the hard problem - the smooth shapes must look good, and the bolt holes for the stamping dies must line up precisely.

Re:Constraint-based geometry (CAD) sketcher for Blender by rurban on Sunday May 22, 2022 @03:37PM (#31471913)
solvespace is much better than blender in modelling.
Re:Constraint-based geometry (CAD) sketcher for Blender by Piezoid on Sunday May 22, 2022 @04:45PM (#31472579)
This add-on is using solvespace for solving constraints.