fswatch
SolidPython
fswatch | SolidPython | |
---|---|---|
22 | 13 | |
4,887 | 1,048 | |
- | 0.0% | |
0.0 | 1.9 | |
3 months ago | about 1 year ago | |
C++ | Python | |
GNU General Public License v3.0 only | - |
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.
fswatch
-
MakeMake: Generate make files from C source code
Or even better, fswatch (https://github.com/emcrisostomo/fswatch) which works on Linux, BSDs, macOS, Windows, and even Solaris
-
Are there any CLIs or good ways on macOS to real-time / continuously sync two folders on the same drive?
If you don’t mind shell shell scripting you can use something like fswatch and some shell logic to do something similar.
-
File System Watcher
Well, I am not too lazy to search but I was interested in your experience, especially with reliability.
This one looks interesting: https://github.com/emcrisostomo/fswatch
-
Kubernetes Reload/Restart pod on file changes
What about using https://github.com/emcrisostomo/fswatch ?
-
Watchman: Execute a command when something changes
The required kernel hooks exist in pretty much any common OS these days, it is a user-space tool that is sometimes missing.
It may not be installed by default, but inotifywait is available in common Linux distributions, usually in a package called something like ionotify-tools, and has been for over a decade-ana-half IIRC. It'll work under WSL on Windows too, though only for ext4 devices not bits of the Windows filesystem made available to Linux.
I can't speak to what other OSs include by default, but as every major OS has a different API for defining how to register a lister and how it gets messages no built-in tool is going to be cross platform. There are third party tools which present more cross-platform consistency, most notably https://github.com/emcrisostomo/fswatch#readme (also available in common Linux distros, just an apt install away in Debian for instance).
-
Build a Rails script watcher/runner using fswatch
fswatch is a cross-platform file change monitor. It will watch any files you specify, then run a script on change.
- Is there a way to trigger an action when a file is transfered via another computer?
-
Script only runs when it sees new file that fits criteria help needed
You can do this without polling using a util like fswatch: https://github.com/emcrisostomo/fswatch
-
GhostSCAD: Marrying OpenSCAD and Golang
> It watches source files, and regenerates the OpenSCAD files automatically
inotify() is awesome. Here's a library in python that does it.
https://michaelcho.me/article/using-pythons-watchdog-to-moni...
There's also inotifywatch on linux and fswatch on mac. I'm sure there's alternatives for BSD Unix and Windows, but I care the least about those OS's.
https://github.com/emcrisostomo/fswatch
-
Optimizing templates
For development it's easy to just ParseFiles before every Execute to be sure you have the latest version. But for production something else is needed, fx watch for changes in files and have this trigger a reload (fx using https://github.com/emcrisostomo/fswatch).
SolidPython
-
Better OpenSCAD?
https://github.com/SolidCode/SolidPython --- apparently there's a fork as a v2 which is to be preferred
- Is there a way to assign properties to solid objects?
-
Created a makefile build system using python for easier generation of multiple scad objects
Then use SolidPython to generate the scad files. ;)
- SolveSpace – parametric 2d/3D CAD
-
GhostSCAD: Marrying OpenSCAD and Golang
I wonder how many OpenSCAD wrappers now exist? I know of scad-clj [0], openpyscad [1], and solidpython [2].
I particularly like scad-clj, because of `lein auto generate`. It watches source files, and regenerates the OpenSCAD files automatically, which OpenSCAD then also picks up. Although I'm not well versed in Clojure, and find debugging Clojure tricky, the workflow is just so good.
[0] https://github.com/farrellm/scad-clj
[1] https://github.com/taxpon/openpyscad
[2] https://github.com/SolidCode/SolidPython
-
I wrote a quick tutorial on how to use OpenSCAD to model containers for board game tokens. Link to the tutorial is in the comments.
Check out SolidPython, a front-end to OpenSCAD in Python that generates OpenSCAD code. It's actively developed (latest commit was 16 days ago) and has some excellent features, including first-class negative spaces - once you declare something to be a hole, the library makes sure that, no matter what, you will get a hole in the final model.
-
Writing a computer program from scratch that parametrically generates an entire jet engine assembly
The mesh is already generated. I'm using a library (https://github.com/SolidCode/SolidPython) that generates OpenSCAD code which can be exported to pretty much any 3D format you want.
-
Cylinder on coordinates from a txt or excel file
If you share an Excel (or, better yet, CSV) file, I can put up some Python code that outputs the OpenSCAD you want. I wrote SolidPython for exactly situations like this-- when you want to interface with other kinds of programs than just modeling.
-
OpenSCAD - There should be a "negative" switch
In addition to first-class negative space (a hole like OP asked for), the SolidPython OpenSCAD binding also includes +, -, and * operators for union, difference, and intersection. (Disclosure; I’m the author)
-
OpenScad is great, but slow to render.
Also, if it’s screw threads you’re after, there may just be some faster (== non-minkowski) ways to do that. OpenSCAD calculates polyhedrons much faster than big unions of parts. Buut, OpenSCAD also kinda sucks for doing vector math. I wrote SolidPython to get around some of the constrictions of OpenSCAD, and the screw_thread utility method should render decently detailed threads (120 segments per revolution, say) in a few seconds.
What are some alternatives?
inotify-tools - inotify-tools is a C library and a set of command-line programs providing a simple interface to inotify.
openpyscad - Python library to generate OpenSCAD source code. This library provides intuitive interface when you handle 3D data.
watchexec - Executes commands in response to file modifications
openscad - OpenSCAD - The Programmers Solid 3D CAD Modeller
semver - Semantic Versioning Specification
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.
HomeBrew - 🍺 The missing package manager for macOS (or Linux)
Round-Anything - A set of OpenSCAD utilities for adding radii and fillets, that embodies a robust approach to developing OpenSCAD parts.
inotify-rs - Idiomatic inotify wrapper for the Rust programming language
ViewSCAD - A Jupyter renderer for the OpenSCAD and SolidPython Constructive Solid Geometry languages
Audit - # TechRate Audit
BOSL - The Belfry OpenScad Library - A library of tools, shapes, and helpers to make OpenScad easier to use.