oce
NURBS-Python
oce | NURBS-Python | |
---|---|---|
4 | 3 | |
790 | 573 | |
- | - | |
0.0 | 0.0 | |
about 3 years ago | 3 months ago | |
C++ | Python | |
GNU Lesser General Public License v3.0 only | MIT License |
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
NURBS-Python
- Better OpenSCAD?
- Are there any 3D engines that are geared towards making 3D applications rather than games?
-
Looking for free API for reading 3D geometry in Python
With some googling I found that geomdl has an ACIS importer. I don't know whether that fits your use case though …
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.
jupyter-cadquery - An extension to render cadquery objects in JupyterLab via pythreejs
psml - Python library for OpenSCAD
trimesh - Python library for loading and using triangular meshes.
antimony - CAD from a parallel universe
OpenNURBS - OpenNURBS is an open-source NURBS-based geometric modeling library and toolset, with meshing and display / output functions.
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.
verb - Open-source, cross-platform NURBS
CQ-editor - CadQuery GUI editor based on PyQT
creopyson - Python library for Creoson (http://www.creoson.com)
VisualScriptCAD - A simple visual scripting based 3D modeling application.
polylabel-pyo3 - Polylabel algorithm (Python wheel for polylabel-rs)