News for hackers. Stuff that matters.
Re:FreeCAD: A free and open source multiplatform 3D parametr... by samcheng on Friday September 18, 2020 @02:04AM (#24513432)
My favorite part of FreeCAD is that it is scriptable. It's very satisfying to define shapes via some math (or I/O) in python, then turn them into a solid in FreeCAD, then export for 3D printing.

As an engineering tool, though, it still feels rudimentary (and sometimes buggy) compared to e.g. Solidworks. Keep going, guys!

Re:FreeCAD: A free and open source multiplatform 3D parametr... by ehnto on Friday September 18, 2020 @02:11AM (#24513463)
I need a simple, low brain space but open source solution for 3D printing. Would you recommend FreeCAD?

I am a software dev for a living so what I mean by low brain space is I don't really want to be messing about with config files, setup and complicated UIs. I already have far too much brain space dedicated to Blender, but I just can't seem to get it to work well for precise measurements and CAD style work.

Re:FreeCAD: A free and open source multiplatform 3D parametr... by sugarkjube on Friday September 18, 2020 @03:34AM (#24513981)
If you're a developer have a look at openscad: you can "program" your model. if you need fancy features like fillets however, that's rather difficult in openscad.

Fusion360 used to be free but that appears to be ending, also cloud-based lock-in(files are on server).

freecad used to be quite buggy, but latest versions are quite workable.

I mself started with one or 2 tutorials in fusion 360 (they appear to be more clear to me compared to the freecad tutorials, and concepts are the same). Then switched to freecad, and this seems to work fine.

The parametric sketching (although a simple concept) took for me the most time to really grasp and understand the significance.

Re:FreeCAD: A free and open source multiplatform 3D parametr... by sk2020 on Friday September 18, 2020 @09:57AM (#24516814)
To be fair, you have to tolerate bugs in commercial products as well. The AutoDesk products I use for work crash daily. If you look at the developer documentation, though (https://www.autodesk.com/developer-network/platform-technolo...) you kind of get an idea of how mind-blowing complicated this software is. Any particular part might be implemented in C++ or .NET or VBA or a custom Lisp. There's maybe 30ish years of layers AutoCAD is built on. After a few weeks of learning F# and the ACAD API, I concluded that I would much rather just do everything manually than ever write a plugin.

Bear in mind, though that everything else (Microstation, DraftSight, etc.) Aren't much better. For a problem domain like roadway design, the difference in productivity between something like freeCAD or LibreCAD and AutoCAD Civil3D is like the difference between having a printing press and a lump of charcoal. I really admire the effort, but there is a moat between industrial and FOSS software for the AEC industry that takes more expert developers and more man-years than hobbyists can provide.

Re:FreeCAD: A free and open source multiplatform 3D parametr... by cassianoleal on Friday September 18, 2020 @04:48AM (#24514467)
Or CadQuery as an alternative to OpenSCAD.

I haven't used it but it's been popping up in other threads since the licensing changes for Fusion360.

https://github.com/CadQuery/cadquery

Re:FreeCAD: A free and open source multiplatform 3D parametr... by jpettersson on Friday September 18, 2020 @07:50AM (#24515548)
wow, thanks for getting my attention to CadQuery. It looks really promising! It has some of the things I've come to depend on in Fusion 360 which makes it hard to go back to OpenSCAD: workplanes, construction geometry, fillets, etc
Re:FreeCAD: A free and open source multiplatform 3D parametr... by waiseristy on Friday September 18, 2020 @02:09PM (#24520004)
IMO OpenScad is the antithesis of low-brain-space. Learning an entirely new scripting language, API, & environment is just not feasible in my use case
Re:FreeCAD: A free and open source multiplatform 3D parametr... by thdrdt on Friday September 18, 2020 @03:50AM (#24514075)
I think the only real options are:

* FreeCAD - Very powerful, very buggy/unstable.

* SolveSpace - Very powerful, takes time to understand the interface.

* OpenSCAD - Great for simpler objects.

* Blender - Not very good for CAD modeling, but with non-destructive modifiers and the new Extrude Manifold it can be used.

Personally I use Blender all the time for 3D printing. There are some tricks that can help a lot with precise modeling. For example you can draw a plane, but instead of extruding it you can use the solidify modifier to give it thickness. Then the thickness is non destructive. You can also view all edge lengths which help you to check if everything is ok. Since v2.9 you can now use Extrude Manifold which is not precise but works a little like Sketchup making some modeling much easier.

And a lot of time my workflow is: Create something in FreeCAD/OpenSCAD -> export to Blender (STL) -> add finishing touches -> 3D print.

Re:FreeCAD: A free and open source multiplatform 3D parametr... by ehnto on Friday September 18, 2020 @04:09AM (#24514189)
I think your workflow is what I will end up doing. I am usually making parts that have precise dimensions which Blender doesn't facilitate well, but I also want them to look interesting which is where Blender gets fairly intuitive.
Re:FreeCAD: A free and open source multiplatform 3D parametr... by win_ini on Friday September 18, 2020 @04:01AM (#24514141)
Thanks for explaining your workflow, I’ve been focused on using one program to create/export/print but you’ve inspired me to try Using CAD + Blender.
Re:FreeCAD: A free and open source multiplatform 3D parametr... by frafra on Friday September 18, 2020 @10:38AM (#24517322)
Do you use Precision Drawing Tools (PDT) released with Blender 2.82?
Re:FreeCAD: A free and open source multiplatform 3D parametr... by dcminter on Friday September 18, 2020 @02:50AM (#24513689)
FreeCAD can be made to work, but it's very buggy. I've seen frequent error dialogs, redraw bugs, and menu state issues in my trivial usage of it. Since it's not at all intuitive to novices it can be hard to tell if one is using it wrong or it's just not working again. Often saving, exiting, and re-opening the model is the "work around" so it's very frustrating.

It doesn't help that each version gets a lot of superficial UI changes so tutorial videos will often get you part way then some menu option no longer exists and you're stuck.

I plan to try SolveSpace next as it seems to be a lot more stable - though in principle also a lot more limited.

Re:FreeCAD: A free and open source multiplatform 3D parametr... by suyula on Friday September 18, 2020 @02:40AM (#24513630)
OpenSCAD has been all I've ever needed for 3D printing. It's really intuitive for programmers so I haven't bothered learning anything else.
Re:FreeCAD: A free and open source multiplatform 3D parametr... by jaxn on Friday September 18, 2020 @03:17AM (#24513872)
I second this. As a programmer, OpenSCAD feels like home. Just give me a text editor and docs.
Re:FreeCAD: A free and open source multiplatform 3D parametr... by ehnto on Friday September 18, 2020 @04:14AM (#24514222)
I love that the example image on the homepage of OpenSCAD has an edge case and comment explaining it. OpenSCAD does look like a good tool for me though, I will just have to hope I don't find too many edge cases...
Re:FreeCAD: A free and open source multiplatform 3D parametr... by cm2187 on Friday September 18, 2020 @02:26AM (#24513543)
I used FreeCAD 3 years ago and found it functional but particularly unstable.

I had to 3d print something recently and was very happy with OpenSCAD. Not only it is scriptable, but it is script first (and only), with a very simple syntax. For people who write code already, it's a much more natural approach in my opinion. You can create functions, loops, parametrise, comment out part of the code, etc.

Re:FreeCAD: A free and open source multiplatform 3D parametr... by bambax on Friday September 18, 2020 @02:35AM (#24513599)
I started with OpenSCAD and loved it at first. But there are many things you can't do in OpenSCAD. Fillets and chamfers are impossible. But the big problem is export options: you can't export to STEP or really to any format that a manufacturer will accept.

So you need to import to some other program and export from there. That's how I got into FreeCAD. But once you're in FreeCAD you realize you can do everything there.

Re:FreeCAD: A free and open source multiplatform 3D parametr... by kelvie on Friday September 18, 2020 @09:24PM (#24523940)
I've been using BOSL2: https://github.com/revarbat/BOSL2

There's a whole fillet / chamfer library using masks and such, but I've found that you can go a looong way with just basic shapes that start out chamfered/filleted, and unioning and differencing them.

Re:FreeCAD: A free and open source multiplatform 3D parametr... by cm2187 on Friday September 18, 2020 @02:44AM (#24513657)
I use shapeways and they seem to be happy with stl files, which I thought was the standard.
Re:FreeCAD: A free and open source multiplatform 3D parametr... by imtringued on Friday September 18, 2020 @02:52AM (#24513704)
STL files are the "standard" in 3d printing but everyone else uses step files. EDA packages like HorizonEDA only accept step files as 3d model for electronics components and every single manufacturer that offers a 3d model so far has always used step. Most CNC manufacturers want you to upload step files.
Re:FreeCAD: A free and open source multiplatform 3D parametr... by cozzyd on Friday September 18, 2020 @03:41AM (#24514020)
And FreeCad has a OpenSCAD workbench too...
Re:FreeCAD: A free and open source multiplatform 3D parametr... by daef on Friday September 18, 2020 @02:55AM (#24513722)
I really like IceSL and think its getting too little attention: https://icesl.loria.fr/

It uses lua to be scriptable much like openscad, but it's got GPU support, so you can also describe surfaces as signed distance fields - in shader code...

It doesn't seem to be open source (yet?), but there are contributors listed [0] (it came out of inria, the french university, sylvain lefebvre being the lead dev[1])

Check out %appdata%\IceSL\icesl-models or thingiverse[2] for examples.

edit: formatting

  [0] https://icesl.loria.fr/about/
  [1] https://www.antexel.com/research
  [2] https://www.thingiverse.com/search?q=icesl
Re:FreeCAD: A free and open source multiplatform 3D parametr... by MayeulC on Friday September 18, 2020 @04:04AM (#24514160)
Looks pretty nice, but not fully opensource yet.

It seems to be mainly a slicer, so maybe the non-open part is just the slicer? Some parts are open and available on their github account: https://github.com/shapeforge

Re:FreeCAD: A free and open source multiplatform 3D parametr... by samcheng on Friday September 18, 2020 @02:25AM (#24513534)
Unfortunately, FreeCAD has a steep learning curve, with an opaque workflow for beginners. It would be awesome if the FreeCAD developers worked on usability, documentation, and tutorials.

I believe the popular route is Fusion. (Decidedly NOT open source)

Re:FreeCAD: A free and open source multiplatform 3D parametr... by m0zg on Friday September 18, 2020 @02:37AM (#24513616)
> opaque workflow for beginners

Here's an example: say you want to punch some holes to mount components on a chassis. Say, furthermore, that you want to mount those components at an angle.

Here's what you do in Fusion:

1. Draw a sketch.

2. Rotate the component on the sketch about its center.

3. Subtractively extrude holes through the chassis.

In Fusion this is trivial and natural. Believe it or not, FreeCAD does not support #2. Want to mount several components at different angles? Fuck you, you need to draw each one of them pre-slanted already.

Re:FreeCAD: A free and open source multiplatform 3D parametr... by jononor on Friday September 18, 2020 @04:11AM (#24514197)
FreeCAD 0.18 (releasead March 2019) supports such constraints. There are now many "Map Modes" for a sketch besides just "map to face" (the default, and in previous versions the only one). Unfortunately there is not really much intuitive UI available to start that workflow. You have to make the sketch with some/no mapping. And then in the Property editor for "Map Mode" click ... - from that point on there is a pretty nice dialog for chosing the modes etc.

In your case one can for example use use the NormalToEdge map mode, specify the degrees of Roll, and then use a Pocket operation on the sketch to make the holes at that angle.

Re:FreeCAD: A free and open source multiplatform 3D parametr... by jononor on Friday September 18, 2020 @04:18AM (#24514244)
There is also quite little documentation on these features, unfortunately. But here is an overview of some of the mapping modes. https://wiki.freecadweb.org/index.php?title=User:DeepSOIC
Re:FreeCAD: A free and open source multiplatform 3D parametr... by friendzis on Friday September 18, 2020 @03:00AM (#24513750)
I don't know FreeCAD specifically, but #2 SHOULD be very hard. You do not want to rotate the part, you want to draw the sketch on an already slanted plane. Your sketch (and resulting solid) should be agnostic to reference plane orientation, otherwise the whole parametric model becomes "spaghetti code"
Re:FreeCAD: A free and open source multiplatform 3D parametr... by bambax on Friday September 18, 2020 @02:44AM (#24513655)
What? Maybe I don't understand the problem, but of course you can rotate elements in FreeCAD whichever way you want.

Select the object, set orientation in Placement / Axis / x,y,z

Re:FreeCAD: A free and open source multiplatform 3D parametr... by m0zg on Friday September 18, 2020 @02:53AM (#24513711)
3D? Yes. 2D in a sketch? Nope. It's all parametric, everything has to be defined through constraints, and there's no way that I can see to define such a constraint.
Re:FreeCAD: A free and open source multiplatform 3D parametr... by bchanudet on Friday September 18, 2020 @03:24AM (#24513919)
Easiest way I've found is:

- Create a square via the CreateSquare[0] icon

- Put the lines as construction line

- Constrain the holes to the corners of the square.

- Add an angle constraint on one side of the square as you need.

It's easier than constraining your holes on a rectangle on which you have to replace the horizontal and vertical constrains afterwards. And you get to keep all those parametric variables that make changing something afterwards so easy.

[0] https://wiki.freecadweb.org/Sketcher_CreateSquare

Re:FreeCAD: A free and open source multiplatform 3D parametr... by bambax on Friday September 18, 2020 @03:13AM (#24513844)
To extrude a complex shape from 2D I usually first draw the 2D design elsewhere (Inkscape or Affinity Design) and import to FreeCAD as SVG. This works very well.
Re:FreeCAD: A free and open source multiplatform 3D parametr... by fla on Friday September 18, 2020 @02:49AM (#24513686)
Have a look at onshape.com. It's a web-based cad tool and I found that it was easy enough to learn in a couple hours using video tutorials. I now use it to make all my 3d printed parts. I mainly work on Linux so the web interface is a big plus for me.
Re:FreeCAD: A free and open source multiplatform 3D parametr... by LegitShady on Friday September 18, 2020 @02:54AM (#24513716)
if you're going web based you can do sketchup or fusion360 as well. Personally I am allergic to web based 3d design apps - they don't run anywhere near as fast as native applications, there are privacy and future continuity concerns, and I don't have to upgrade to the latest version if I dont want to.
Re:FreeCAD: A free and open source multiplatform 3D parametr... by bigiain on Friday September 18, 2020 @04:04AM (#24514163)
I suspect the whole reason this discussion is happening is because AutoDesk just announced Fusion360 is becoming crippleware at the end of the month.

(If you haven't seen that, and you have projects in F360 formats you're assuming you'll be able to export - you might want to go export them all into some other format now, while you still can...)

Re:FreeCAD: A free and open source multiplatform 3D parametr... by LegitShady on Friday September 18, 2020 @08:42AM (#24515930)
...I had not seen that.

Luckily my not trusting web apps means I am already backed up in non autodesk formats. But exactly why when sketchypoved to wrbapp I said I wouldn't trust it

Re:FreeCAD: A free and open source multiplatform 3D parametr... by stjohnswarts on Friday September 18, 2020 @05:05PM (#24521882)
I looked at it but everything you do on the free version is public facing and that's an automatic no from me. I would the option to make a final product "public"/open to all but all my fuckups? no thanks. Also it's just a general matter of privacy.
Re:FreeCAD: A free and open source multiplatform 3D parametr... by itronitron on Friday September 18, 2020 @02:48AM (#24513683)
FreeCAD is simple and low brain space, just make sure you have the 'Part' workbench selected.
Re:FreeCAD: A free and open source multiplatform 3D parametr... by jstanley on Friday September 18, 2020 @04:32AM (#24514341)
I would actually recommend avoiding the Part workbench and only using Part Design, at least to start with.

The Part workbench makes you create your object using CSG primitives which you size and position using the properties editor, which is just super painful.

In Part Design, you create sketches of 2d profiles and then pad them up, pocket them in, revolve them around an axis, sweep them through a path, etc.

Part Design just seems much more convenient and powerful.

The only thing you can't do in Part Design is create 3d paths like helixes, but fortunately you can create these using the Part workbench and still use them as paths in Part Design.

Re:FreeCAD: A free and open source multiplatform 3D parametr... by bambax on Friday September 18, 2020 @04:54AM (#24514497)
If you're coming from OpenSCAD then the Part workbench is much more intuitive as it works in much the same way: create solids, join or cut them.
Re:FreeCAD: A free and open source multiplatform 3D parametr... by jbay808 on Friday September 18, 2020 @03:06AM (#24513790)
Yes. It's packed full of random features and modes, like for architects and so on. Once you figure out which workbench to use it's not too tricky. Save often.
Re:FreeCAD: A free and open source multiplatform 3D parametr... by highmastdon on Friday September 18, 2020 @02:23AM (#24513530)
How about SketchUp?
Re:FreeCAD: A free and open source multiplatform 3D parametr... by mauvehaus on Friday September 18, 2020 @08:58AM (#24516122)
They're slowly crippling it. Make 2017 was (I believe) the last semi full featured gratis desktop version. They've been pushing the web version pretty hard for a while now.

Also (opinion) it kind of sucks. At least the gratis version doesn't support any sort of parametric modeling. I've been using it because it's gratis, but I've been looking to switch for a while. Now that F360 is off the table, I suppose the decision space has gotten smaller.

Re:FreeCAD: A free and open source multiplatform 3D parametr... by regularfry on Friday September 18, 2020 @02:25AM (#24513539)
It's not open source.
Re:FreeCAD: A free and open source multiplatform 3D parametr... by avhon1 on Friday September 18, 2020 @04:14PM (#24521418)
In my experience, SketchUp produces terrible STL files, full of duplicate or non-watertight geometry. I frequently had to manually repair the exported models in Blender before they would slice correctly.
Re:FreeCAD: A free and open source multiplatform 3D parametr... by ehnto on Friday September 18, 2020 @02:53AM (#24513709)
I have tried the free version, while a bit limited it is the kind of simple interface I want. Unfortunately not open source and you need accounts and to be online to use it. I may end up using it anyway though.
Re:FreeCAD: A free and open source multiplatform 3D parametr... by LegitShady on Friday September 18, 2020 @02:56AM (#24513727)
they're doing the web app thing now, so the last native version is the last native version ever. Personally I stopped using it then.
Re:FreeCAD: A free and open source multiplatform 3D parametr... by bambax on Friday September 18, 2020 @02:39AM (#24513625)
Well yeah, but Solidworks costs anywhere from $5000 to $10,000 per user per year... not really comparable ;-)
Re:FreeCAD: A free and open source multiplatform 3D parametr... by ddingus on Friday September 18, 2020 @02:58AM (#24513742)
End of quarter promos can take a good license under 5k, and once you have a license you do bot have to rebuy it every year.

Updates come with annual maintenance, roughly 20 percent of license.

People can and do get a license and just run it for a long time.

Re:FreeCAD: A free and open source multiplatform 3D parametr... by jbay808 on Friday September 18, 2020 @05:56AM (#24514866)
Unfortunately, SolidWorks "encourages" you to upgrade by not providing any way to save/export native files that earlier versions can read. If you're receiving files from a 3rd party, you need to have a version that is at least as recent as theirs.

This is unlike, say, Excel 2007, which can export .xls files that Excel 2000 can read.

Re:FreeCAD: A free and open source multiplatform 3D parametr... by ddingus on Friday September 18, 2020 @12:11PM (#24518581)
That's not just Solidworks. It's pretty much all parametric CAD systems. I don't expect that to change any day soon. The problem they have is massive development, small market, big costs. Back revision compatibility would kill their development engines. It's a tough scene. I worked in it for 25 years.

The other thing people should realize is all the CAD tool vendors are generally funding complex PLM / PDM system development necessary for larger scale users to operate on large products and across many teams. This is a significant portion of annual license fees.

As a small team or individual, one can use STEP. Now, admittedly the ability of Solidworks to work with STEP files is limited. (I would not want that job)

Personally, if I were going to get a license and just run it, I would get a system much more capable in that area. NX, as an example, is excellent, and I know many who have older licenses who do a lot of work just fine that way. Most everything can be done, and the skillset is not unlike what we use in some of the open CAD systems.

A native file is not always required when the modeler offers direct modeling as well as parametric. Just FYI.

Finally, anyone needing to interact with CAD needs to build license costs into their rates. It's too expensive to do otherwise.

Let the work pay for the tool.

Re:FreeCAD: A free and open source multiplatform 3D parametr... by ddingus on Friday September 18, 2020 @12:43PM (#24518966)
The other thing people need to really think about is their role.

If you are the source of designs, use whatever you want to use. Downstream users will either need STEP / DXF / PDF / STL, or they will have your version or newer, or their system can import, or use a Parasolid, ACIS, whatever type of file.

If you are a downstream user then you need to know where your work is coming from and whether you can price software in. On this note, buying into an annual license of Fusion or OnShape is a great translation service as both of those will write out respectable STEP and Parasolid files. Translation licenses are super expensive.

Or, you need to invest your skills into systems that are adept at non-native data. These skills are extremely high value BTW. Getting them is great for a resume.

Then price and purchase accordingly.

For learning / personal use, get the academic licenses.

Re:FreeCAD: A free and open source multiplatform 3D parametr... by jbay808 on Friday September 18, 2020 @02:04PM (#24519948)
Unfortunately, many relationships, such as collaborations, don't always have strictly upstream and downstream roles.
Re:FreeCAD: A free and open source multiplatform 3D parametr... by ddingus on Friday September 18, 2020 @02:17PM (#24520089)
Yup.

In that case, there really is only a couple paths: (and flat out, Solidworks isn't the best for this kind of thing)

If the volume of work is serious, invest in systems. This is rare, but sometimes necessary.

In many cases, invest in one that is very adept at non-native data. There are a couple pretty good ones out there. KeyCreator is actually quite good for manufacturing related tasks. For more involved tasks, NX is great on the higher end, but not cheap. That one offers all possible model paradigms too.

Parametric, history based.

Parametric, non history based (synchronous)

Direct Modeling, with history

Direct modeling, no history.

It can do the job period. But, isn't cheap.

Collaborations often default to who has the most restrictive environment, or priority in requirements and the other members deal, or there is some time spent integrating design work across systems.

Intent is difficult to preserve in this scenario. Often, there will end up being an owner of that.

BTW: Subscription licenses can get someone through a collaboration at a very significantly reduced cost.

That's the option I would use myself, given I didn't have access to a sufficiently capable system. Do it, export non native, drawings, reference geometry, etc... Express detail intent in Excel + 2D drawings. Basically make a reconstruction kit for the future and call it good.

Also export native files on the off chance a resubscription makes sense. It can, depending.

Over the years, I've accumulated a lot of understanding of basic geometry and means and ways to work on STEP, Parasolid, Surfaces, Solids, drawings, etc... Paid off many times.

Edit: The other skill to seek is being able to use basic tools where needed. Advanced modelers have a good and bad aspect to them. Every time someone clicks one of the advanced function buttons, a lot of money will eventually be spent. So don't click those buttons! The resulting designs are likely cheaper and manufacturable in more ways, all of which is an advantage.

I can tell you some names you would recognize did great product design on basic licenses. Doing this in very robust software is different than doing it in something lower tier. People have a lot of options when the basic capability is robust, offering all the modeling paradigms. People may want it and have reasons, but do they really need it? No is the right answer more than we may realize.

In short, role flexibility is expensive, or requires having made an investment in a highly technical, niche skill set.

Limiting that can actually save money, depending on what software is in play.

There won't be great answers very soon either. There are some efforts in progress right now. Half a decade to a decade from now, this chat may be different!

Re:FreeCAD: A free and open source multiplatform 3D parametr... by LegitShady on Friday September 18, 2020 @02:56AM (#24513730)
fusion 360 is free to most people and is good. Unfortunately its a web app and I don't trust autodesk enough to spend time investing in it.
Re:FreeCAD: A free and open source multiplatform 3D parametr... by Squonk42 on Friday September 18, 2020 @03:39AM (#24514007)
Re:FreeCAD: A free and open source multiplatform 3D parametr... by dTal on Friday September 18, 2020 @01:46PM (#24519725)
Which is undoubtedly why so many free CAD programs are hitting HN today.
Re:FreeCAD: A free and open source multiplatform 3D parametr... by LegitShady on Friday September 18, 2020 @12:18PM (#24518674)
Oof good thing I stayed away