oce
CQ-editor
oce | CQ-editor | |
---|---|---|
4 | 12 | |
790 | 685 | |
- | 1.9% | |
0.0 | 4.7 | |
about 3 years ago | 19 days ago | |
C++ | Python | |
GNU Lesser General Public License v3.0 only | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
oce
- Better OpenSCAD?
-
Sheet metal bending in Go
Have a look at https://github.com/tpaviot/oce/ Not sure if there is a go wrapper for it. There is a python library wrapping opencascade already.
-
3MF file format and why it’s great
Some parts of the 3MF are actually good. I like the spec documents winding order of the meshes. The format includes units, and these optional 4x4 transformation matrices — both are useful.
As for need of the new formats, for one, modern CAD formats are insanely complex. These IGES/STEP/BREP files require many megabytes of very complicated code to deal with, such as this library https://github.com/tpaviot/oce These formats may even contain proprietary extensions. Also, they need non-trivial processing power to handle. Many people wouldn’t want a Core i7 with gigabytes of RAM in their 3D printers, inflates hardware cost and software complexity.
Besides, we now have high-resolution 3D scanners, and CAE software which algorithmically optimizes models by running numerical simulations. They both output triangle meshes instead of CAD files. Scanners often output point clouds one can convert into triangles, but hard to convert into CAD formats.
I just don’t like the 3MF implementation too much. XML is fine for kilobytes of data, but not many megabytes. If I would be designing that format, I would probably made it binary. Maybe EBML https://en.wikipedia.org/wiki/Extensible_Binary_Meta_Languag... would work for that; it does fine for MKV videos, which is also a huge pile of structured data with non-trivial performance constraints for producers and especially parsers.
Another minor thing, it was not the best idea to make name start with a digit. Most programming languages forbid identifiers like that for their classes / functions / namespaces / modules.
-
Code CAD – Use code to create CAD models
Cadquery uses opencascade under the hood. I think your best bet is to open an issue and ask: https://github.com/tpaviot/oce
CQ-editor
- CadQuery Editor – a program for building parametric 3D CAD models using Python
-
No Attribute Sketch(), can't figure out how to reinstall/run cqedit
I installed cadquery with cq-edit from github using the prebuilt package release for windows 10. This seemed to work great, cq-edit GUI launches and I can even model basic shapes. However when I try to run the printables file from above I get the error
-
Parametric Modelling Software
There are other code-CAD derived tools but I recommend sticking to OpenSCAD at least for learning, for simplicity. There's also the seemingly great Cadquery that I haven't tried yet.
-
Why doesn't this draw me a cylinder?
Use the latest version of cadquery. The version of cadquery that comes bundled with cq-editor binary isn't the most recent, and doesn't have support for cylinder.
-
An X11 Apologist Tries Wayland
On a previous laptop I used i3, then after a few years on Windows, I returned to Linux on my current laptop and decided to try Sway, and now I’ve been using it for almost a year and a half, but I set up i3 somewhere along the way too, which I have used when I needed screen sharing on Zoom.
I much prefer Sway. It handles output management much better than i3 (because it’s integrated and integrated well rather than being entirely up to you with xrandr—so this probably wouldn’t apply to full desktop environments like GNOME or KDE), supports mixed-DPI environments, properly supports high-DPI (though I’ve also been using patches for fractional scaling since I want 1.5×), avoids all tearing (which was what really surprised me when I first ran i3, I’d forgotten what the tearing was like), and supports my XF86AudioMicMute key (key code 256; it took a little effort to get it to work, involving dumping the xkb keymap and adding in a suitable entry, but I think that it’s literally impossible to support under X, though you may be able to remap it to a different key like F20 in some way at a lower level, but my attempts at that failed).
It’s not been without its troubles. Screen sharing is only possible at the screen granularity rather than individual windows, and I think Zoom is still broken because they did things stupidly in the past (using a GNOME screenshot API many times per second instead of the compositor-neutral screen sharing API that did exist when they implemented their thing) and are still unravelling them. I’ve also had a couple of apps require tweaks to unbreak, e.g. https://github.com/CadQuery/CQ-editor/issues/266, if you build it with a version of Qt that supports Wayland (the default, though their first-party distribution doesn’t), you have to explicitly tell it to use xcb instead of wayland or it crashes on startup. But honestly that’s all I can think of.
-
Please suggest an alternative to OpenSCAD (script based CAD)
CQ-Editor, download the prebuilt binary from the GitHub releases page https://github.com/CadQuery/CQ-editor
-
CadQuery Comes of Age
All this talk about anaconda etc is a little overblown. Just grab the release ZIP here and run the launcher. It drops you in the editor/debugger workspace with full functionality. https://github.com/CadQuery/CQ-editor/releases/tag/0.2 It doesn't appear to modify your system in any way.
I understand that other modes of using CadQuery require 'conda, but the basic built-in editor experience is self contained. Or am I misunderstanding something?
-
CadQuery –- A Python parametric CAD scripting framework based on OCCT
I tried this a couple of months ago, I found what it's trying to do very pleasant to use but the tooling around it is very annoying. The up-to-date version 2 isn't on pypi, conda is thoroughly unpleasant to have as an environment. There seems to be a drive to using it inside it's own editor https://github.com/CadQuery/CQ-editor while nice seems like wasted engineering effort in developing an editor when the language needs so much work. I didn't have much success structuring cad into modules as they wouldn't import well.
The point IMO of parametric cad in an existing language is to use the ecosystem. Lots of choices in this project make that really hard.
-
Fornjot 0.5.0 - Code-CAD in Rust
Anyways, I've just written that to make sure you know that the "code-CAD scene" or "state-of-the-art" is not OpenSCAD (and I'm not saying you don't know that), and that the ideas you had are really great, but they have already been brought to existence in CadQuery, CQ-Editor (the editor + visualization + debugging GUI for CadQuery), and the (still incipient) Semblage, that started to implement the "hybrid" approach of code-CAD + GUI based on CadQuery. I do believe another code-CAD program won't hurt at all, and there is even the possibility of collaboration between Fornjot and CadQuery and possibly Semblage, but I wouldn't say the world needs another code-CAD program. The world needs first to know about CadQuery and then decide its real needs. I've just read your blog post of your criteria for CAD software, and I really think that (apart from the community part, that requires that the project is known by many people, which seems to not be the case with CadQuery) CadQuery meets them nicely. If there is something I'm missing please let me know, specially if you already knew about CadQuery but it didn't suit your needs. Anyways, good luck with Fornjot!
-
Custom 3d Printed Charging Cradle for the SNES 3DS
The model is parametric using CADQuery, only problem is that I haven't implemented a way to move the charging pins right or left for the original's off-center port, just forward/back/together/apart. I'm planning to add that soon though, as well as clean up my variables so it's a bit more clear what does what.
What are some alternatives?
OpenJSCAD.org - JSCAD is an open source set of modular, browser and command line tools for creating parametric 2D and 3D designs with JavaScript code. It provides a quick, precise and reproducible method for generating 3D models, and is especially useful for 3D printing applications.
cadquery - A python parametric CAD scripting framework based on OCCT
psml - Python library for OpenSCAD
pymadcad - Simple yet powerful CAD (Computer Aided Design) library, written with Python.
antimony - CAD from a parallel universe
gridplayer - Play videos side-by-side
cadhub - We're out to raise awareness and put CodeCAD on the map. The success of CadHub can be measured by the amount it promotes the use of CodeCAD within the mechanical/manufacturing industry and the strength the CadHub community.
VisualScriptCAD - A simple visual scripting based 3D modeling application.
pythonocc-core - Python package for 3D CAD/BIM/PLM/CAM
scad-clj - OpenSCAD DSL in Clojure
opencascade-emscripten-port - Open CASCADE - Emscripten / Webassembly port