jupyter-cadquery
cadquery
Our great sponsors
jupyter-cadquery | cadquery | |
---|---|---|
11 | 30 | |
297 | 2,799 | |
- | 4.3% | |
0.0 | 8.3 | |
about 1 year ago | 4 days ago | |
Python | Python | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
jupyter-cadquery
-
Show HN: Consol3 β A 3D engine in the terminal that executes on the CPU
supports WebGL over SSH/MoSH
https://www.brow.sh/docs/introduction/ :
> The terminal client updates and renders in realtime so that, for instance, you can watch videos. It uses the UTF-8 half-block trick () to get 2 colours from every character cell, thus simulating basic graphics.
https://github.com/fathyb/carbonyl :
> Carbonyl originally started as html2svg and is now the runtime behind it.
Always wondered how brew.sh added the brew sprite there; that's real nice.
TIL that e.g. Kitty term can basically framebuffer modified Chrome?
https://github.com/chase/awrit :
> Yep, actual Chromium being rendered in your favorite terminal that supports the Kitty terminal graphics protocol.
FWIW Cloudflare has clientless Remote Browser Isolation that also splits the browser at the rendering engine.
A TUI Manim renderer would be neat. Re: Teaching math with Manim and interactive 3d: https://github.com/bernhard-42/jupyter-cadquery/issues/99
What would you add to make it easier to teach with this entirely CPU + software rendering codebase?
What prompts for learning would you suggest?
- Pixar in a Box, Wikipedia history of CG industry: https://westurner.github.io/hnlog/#comment-36265807
- "Rotate a wireframe cube or the camera perspective with just 2d pixels to paint to; And then rotate the cube about a point other than the origin, and then move the camera while the cube is rotating"
- OTOH, ManimML, Yellowbrick, and the ThreeJS Wave/Particle simulator might be neat with a slow terminal framebuffer too
-
A blocky based CAD program
What a great idea.
TIL about jupyterlab-blockly https://jupyterlab-blockly.readthedocs.io/en/latest/
https://jupyterlab-blockly.readthedocs.io/en/latest/other_ex... :
> The JupyterLab-Blockly extension is ready to be used as a base for other projects: you can register new Blocks, Toolboxes and Generators. It is a great tool for fast prototyping."
jupyter-cadquery: https://github.com/bernhard-42/jupyter-cadquery
"Generate code from GUI interactions"
-
Is geopandas right for this use case or should I be looking at something else? Looking to create, manipulate, and measure closed polylines with arc segments across a shared geometric space.
CADQuery
-
Updates to the Fusion 360 Simulation Workspace
> Couldn't you equivalently use any STL/STEP/AMF viewer?
I'm not sure. A quick feedback loop is important. With OpenSCAD and CadQuery, you write code that defines the geometry. You then want to see what the geometry looks like, and possibly debug it. For this, you generally want to be able to give certain parts a different color, or opacity, wireframe, etc.
STL is out; it has to tessellate geometry turning it into triangles. AFAIK, it only supports one object. This means a sensible wireframe is out, and so are multiple parts. AMF has similar drawbacks. STEP files might work.
Generally, my understanding is many people write OpenSCAD code in their editor of choice, and then simply save the file. When you open an existing file in OpenSCAD GUI, it monitors it for changes, and refreshes. So this is great.
That said, I misspoke a bit. CQ-Editor is definitely somewhat close to OpenSCAD. It still has a - in my view - unnecessary code editor. But the last standalone release is over a year ago, and I found it to be extremely buggy on macOS. It crashes quite often. Meanwhile, Jupyer-CadQuery [0] works great.
> Seems a good choice to me that the GUI is a separate/subordinate project. I suppose it is somewhat necessary to have it at all, easier to gain popularity if you can show screenshots and have a single app 'quickstart'.
Generally, I think this is true. My personal opinion is I can be productive with something that has a minimal set of features but is rock-solid; over something that has gobs of features but is buggy. That was my main issue with FreeCAD. Ease of installation is another big one. For all it's issues, OpenSCAD gets both of these things right.
[0] https://github.com/bernhard-42/jupyter-cadquery/
-
What do you think?
I had some success with using the pre-built image. Itβs good enough if you want to play around with the example notebooks out of the box if you run the container without any volume mapping.
-
Learning CAD on Linux
Yep. I currently use https://github.com/bernhard-42/jupyter-cadquery; it is a jupyter-based notebook integrating cadquery. If you can do it with OpenSCAD you can do it with cadquery, the difference being working with real CAD primitives, a richer language and more features. If you do not need some of the more advanced operators which are missing in the internal CAD engine it is a very solid choice in my opinion for parametric modelling at its peak.
-
Recommendations for polygon visualization
Neat, you might be interested in this cadquery integration with Jupyter notebooks, https://github.com/bernhard-42/jupyter-cadquery
-
Help - building OpenSCAD files for Tractyl Manuform 5x6
yes thats the one. the python version is easier to work with imho, you can set it up with jupyter-cadquery + anaconda (https://github.com/bernhard-42/jupyter-cadquery) and generate results in the browser / vscode . depending on your understanding of python it shouldnt be too difficult, you probably cant take it across directly but a lot of the default values etc should transfer. and the rest just requires looking at existing code + cadquery documentation.
-
Anyone interested in a 14x21 dactyl?
One day I'll finish my keyboard using joshreve's framework, It definitely is a way better experience when doing lots of changes, especially with (https://github.com/bernhard-42/jupyter-cadquery)
-
Considering my first real build - dactyl v. dactyl/manuform?
customising my own version similar to dactyl tracer and I'm using joshreve's port to python ( https://github.com/joshreve/dactyl-keyboard ) with jupyter cadquery (https://github.com/bernhard-42/jupyter-cadquery), which lets you customise/generate your keyboard in the browser and view the output more easily, after which you can export straight to stl (https://imgur.com/a/HX0DLxw)
cadquery
- GitHub - CadQuery/cadquery: A python parametric CAD scripting framework based on OCCT
- Better OpenSCAD?
-
Best module for generate sketch
I was thinking about cadQuery or DrawSVG. But maybe you have a better idea ? I'm beginner in python (started on november ...)
-
Synth Printer: 3D printed synth panels with simple Python code. Give me early feedback?
Last few months, I've made over 20 3D printed panels using the CadQuery Python library. Its syntax is pretty complex, so every time I wanted to make a panel, I'd just copy-paste bits and pieces from my previous panels. In the process, I learned what work and what doesn't, and I thought it was time to polish up this system to share it with others.
-
FreeCAD Day 2023: Report and Continued Discussion
>Python for CAD
You might be interested in CadQuery:
https://github.com/CadQuery/cadquery
-
This subreddit now says that the Steam Deck is just a PC right when you join it. Now all of you who say that it isn't a PC can stop arguing about it
Spicy! I'm also a solidworks user but I've been playing around with cadquery recently, that installed and performs pretty nicely on Linux for me. Haven't really pushed it though.
-
Pipeline to automate the process from creating 3d objects to start a print job
I am currently developing a pipeline for creating STL files, slice them and create a print job based on it. My setup at the moment is an Ultimaker S5, which offers a simple REST-API, for example starting a job with a G-Code or UFP file. I am using the cadQuery library for creating parametrized 3d shapes and export them as a STL file. I want to use the CuraEngine CLI interface (Backend for Cura) for slicing or their library libArcus (python bindings) but there is literally no documentation or any kind of examples, except the source code. There is also the prucaSlicer, which also offers a CLI interface for creating G-Code, but no support for the Ultimaker S5.
-
Any recommendations for a simple solid modeling API library? Preferably C or C++
Not C but maybe cadquery? https://cadquery.readthedocs.io
-
What is the end purpose of your OpenBSD system?
CadQuery would be a closer alternative to OpenSCAD. Not sure if itβs available on OpenBSD.
-
capturing values of x and y
Check out https://github.com/CadQuery/cadquery
What are some alternatives?
NURBS-Python - Object-oriented pure Python B-Spline and NURBS library
pythonocc-core - Python package for 3D CAD/BIM/PLM/CAM
libfive - Infrastructure for solid modeling
blender-cad-tools - a collection of Blender addons to make CAD design with Blender even more enjoyable
Pythonocc-nodes-for-Ryven - Pythonocc nodes for Ryven
solvespace - Parametric 2d/3d CAD
jupyterlab-classic - JupyterLab distribution with a retro look and feel π
FreeCAD - Link branch FreeCAD
Pluto.jl - π Simple reactive notebooks for Julia
cq_gears - CadQuery based involute gear parametric modelling
curated-code-cad - A list of the various code-cad projects out there.