Python Opencascade

Open-source Python projects categorized as Opencascade

Top 6 Python Opencascade Projects

Opencascade
  • cadquery

    A python parametric CAD scripting framework based on OCCT

    Project mention: Show HN: A modern Jupyter client for macOS | news.ycombinator.com | 2024-07-07

    There aren't many great production-ready open-source frameworks for code-editor components in Swift. I assessed quite a few but found that the feature completeness was far from what I needed. I tried to fork [CodeEditSourceEditor](https://github.com/CadQuery/cadquery) and add the extra features I wanted, but I think it would have taken me 6-12 months to get it to an acceptable state, meanwhile not spending any time focusing on the rest of the product experience.

    I decided to play around with Typescript and Electron over a weekend and ended up getting a really solid prototype so I made the heart wrenching decision to move over.

    I'm messing around with writing my own text editor component in Swift now, but it's quite a big endeavour to get the standard expected for a production ready product.

    I'm assuming a pure-swift CAD UI would be equally difficult. Would be really cool to see that tho.

  • Scout Monitoring

    Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.

    Scout Monitoring logo
  • CQ-editor

    CadQuery GUI editor based on PyQT

  • opencascade.js

    Port of the OpenCascade CAD library to JavaScript and WebAssembly via Emscripten.

  • build123d

    A python CAD programming library

    Project mention: Ask HN: How does modern FreeCAD compare with Solidworks? | news.ycombinator.com | 2024-05-21

    I have used build123d to make a few parts recently, and it's a joy to use once you get the hang of it: https://github.com/gumyr/build123d https://github.com/gumyr/bd_warehouse

  • curated-code-cad

    A list of the various code-cad projects out there.

    Project mention: Dune 3D – an open source parametric 3D CAD app bassed on OCCT | news.ycombinator.com | 2023-10-23

    > I would love to see a successor to OpenSCAD

    There is quite a few "code" CAD's around https://github.com/Irev-Dev/curated-code-cad. Cadquery has contraints but isn't really a DSL.

  • Pythonocc-nodes-for-Ryven

    Pythonocc nodes for Ryven

    Project mention: Show HN: Flyde – an open-source visual programming language | news.ycombinator.com | 2024-03-07

    As a visual person (traditionally trained as a graphic artist), I've wanted this sort of thing for a long while, and I've been trying to use it for 3D.

    Surprisingly, there are multiple specialized tools for this:

    - https://www.blockscad3d.com --- an adaptation of Google's Blockly to OpenSCAD

    - https://github.com/derkork/openscad-graph-editor --- wires and nodes, it has the advantage of exposing _all_ of OpenSCAD's commands (the above has a subset)

    - https://github.com/Tanneguydv/Pythonocc-nodes-for-Ryven --- a module for using PythonOCC in Ryven --- when I finally succeeded, I found the language inscrutable, even when provided w/ quite nice examples (definitely a failing on my part, not that of the tool)

    - https://github.com/graphscad/graphscad --- it took a long while for the source code for this to be made available, and for a while it had compatibility problems (why was "cube" redefined?) --- probably defunct for political reasons, it had some interesting ideas, in particular the ability to have custom icons for modules

    - https://www.nodebox.net --- if memory serves I got hung up by not easily being able to do 3D, and when doing 2D having precision problems (or maybe that was Processing.org)

    and I've been using these tools to make various things:

    https://willadams.gitbook.io/design-into-3d/3d-project

    (and maybe eventually I'll finish something)

    The problem I've been running into is there doesn't seem to be an answer to the question:

    "What does an algorithm look like?"

    I recently had occasion to mention Herman Hesse's _The Glass Bead Game_ (also published as _Magister Ludi_) and I'll bring it up again --- what is a meaningful graphical representation of a program?

    The Drakon folks argued that there should be one true path but that's not really communicative and I would note that if this was a simple thing it wouldn't be decades since I last saw a physical Flowcharting Template:

    https://americanhistory.si.edu/collections/object-groups/flo...

    (and it's pretty rare to even see a well-done electronic drawing of a flowchart since Visio made its splash and vanished into the bowels of Microsoft)

    The main problem seems to be one of expressiveness not scaling up well, hence:

    https://blueprintsfromhell.tumblr.com/

    https://scriptsofanotherdimension.tumblr.com/

    Presumably, one doesn't want to define modules/variables unnecessarily --- but the question becomes where is that boundary?

    If you define too many, then you're back to the "wall of text" which one was trying to avoid (but wrapped up in nice boxes with some lines or shapes), and if one doesn't use them (well, look at the pretty/awful images in the links above).

    Ideally, a well-coded visual program would have a pleasing aesthetic appearance which is expressive and communicates flow and function, and I've tried for that at:

    https://willadams.gitbook.io/design-into-3d/programming

    (though I wish that there was an easy way to export an SVG version of a program)

    I believe that what is needed here is some graphical equivalent to Literate Programming: http://literateprogramming.com

    Is there a nice GUI toolkit integration which would allow making a graphical application with this? I have an idea I want to try it which might be a good fit.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Opencascade discussion

Log in or Post with

Python Opencascade related posts

  • Show HN: Mandala – Automatically save, query and version Python computations

    8 projects | news.ycombinator.com | 11 Jul 2024
  • Text to CAD?

    1 project | news.ycombinator.com | 24 Feb 2024
  • Build123d: A Python CAD programming library

    2 projects | news.ycombinator.com | 19 Sep 2023
  • CadQuery Editor – a program for building parametric 3D CAD models using Python

    1 project | news.ycombinator.com | 2 Sep 2023
  • Walkway Terraib

    2 projects | /r/3DPrintedTerrain | 26 Jun 2023
  • What are your thoughts on build123d?

    1 project | /r/cadquery | 23 Jun 2023
  • Is there a tutorial for making a CAD tool with Three.js?

    2 projects | /r/threejs | 20 May 2023
  • A note from our sponsor - Scout Monitoring
    www.scoutapm.com | 16 Sep 2024
    Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today. Learn more →

Index

What are some of the best open-source Opencascade projects in Python? This list will help you:

Project Stars
1 cadquery 3,064
2 CQ-editor 747
3 opencascade.js 600
4 build123d 438
5 curated-code-cad 250
6 Pythonocc-nodes-for-Ryven 46

Sponsored
Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com

Did you konow that Python is
the 1st most popular programming language
based on number of metions?