jupyter-cadquery
Pluto.jl
Our great sponsors
jupyter-cadquery | Pluto.jl | |
---|---|---|
11 | 78 | |
296 | 4,868 | |
- | - | |
0.0 | 9.4 | |
12 months ago | 1 day ago | |
Python | JavaScript | |
Apache License 2.0 | 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.
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.
-
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)
Pluto.jl
-
Potential of the Julia programming language for high energy physics computing
I thought that notebook based development and package based development were diametrically opposed in the past, but Pluto.jl notebooks have changed my mind about this.
A Pluto.jl notebook is a human readable Julia source file. The Pluto.jl package is itself developed via Pluto.jl notebooks.
https://github.com/fonsp/Pluto.jl
Also, the VSCode Julia plugin tooling has really expanded in functionality and usability for me in the past year. The integrated debugging took some work to setup, but is fast enough to drop into a local frame.
https://code.visualstudio.com/docs/languages/julia
Julia is the first language I have achieved full life cycle integration between exploratory code to sharable package. It even runs quite well on my Android. 2023 is the first year I was able to solve a differential equation or render a 3D surface from a calculated mesh with the hardware in my pocket.
- Pluto.jl: Simple, reactive programming environment for Julia
-
Ask HN: Why don't other languages have Jupyter style notebooks?
Re Julia there is also pluto.jl that is another notebook-like environment for julia. It's been a few years since I played with it but it looked cool, for example it handles state differently so you don't get into the same messes as with ipython notebooks. https://plutojl.org/
- Pluto: Simple Reactive Notebooks for Julia
-
Looking for a Julia gui framework with a demo like EGUI
For this, Notebooks are often used. Julia offers a uniquely nice and interactive Pluto notebook for the web https://github.com/fonsp/Pluto.jl
- Excel Labs, a Microsoft Garage Project
-
IPyflow: Reactive Python Notebooks in Jupyter(Lab)
I believe this is what Pluto sets out to do for Julia.
I used it as part of the “Computational Thinking” with Julia course a year or two back. Even then the beta software was very good and some of the demos the Pluto dev showed were nothing short of amazing
- For Julia is there some thing like VSCode's python interactive window?
-
What have you "washed your hands of" in Python?
I think what you want is Pluto!
-
Show HN: Out of order execution in Jupyter notebooks is a solved problem
I like how Pluto.jl handles this:
> Pluto offers an environment where changed code takes effect instantly and where deleted code leaves no trace. Unlike Jupyter or Matlab, there is no mutable workspace, but rather, an important guarantee:
> At any instant, the program state is completely described by the code you see.
What are some alternatives?
NURBS-Python - Object-oriented pure Python B-Spline and NURBS library
vim-slime - A vim plugin to give you some slime. (Emacs)
libfive - Infrastructure for solid modeling
rmarkdown - Dynamic Documents for R
Pythonocc-nodes-for-Ryven - Pythonocc nodes for Ryven
Weave.jl - Scientific reports/literate programming for Julia
jupyterlab-classic - JupyterLab distribution with a retro look and feel 🌅
Dash.jl - Dash for Julia - A Julia interface to the Dash ecosystem for creating analytic web applications in Julia. No JavaScript required.
pythonocc-core - Python package for 3D CAD/BIM/PLM/CAM
IJulia.jl - Julia kernel for Jupyter
dactyl-keyboard - Parameterized ergonomic keyboard
Tables.jl - An interface for tables in Julia